Guides

Debug a project with Logs

When a banner does not show, or a choice does not save, you can find the cause in the Dashboard. You do not need access to your servers. You do not need to ask Inth support. Logs shows what your site sent to the project and what the banner did.

Open Logs

  1. In the Dashboard, open the project.
  2. Under Consent, select Logs.
  3. Select a tab: API requests or Events.

The newest rows are at the top. All times are in UTC.

The two tabs

TabOne row isUse it to
API requestsOne call from a site to the project's Consent APIFind failed calls and slow calls
EventsOne banner load, or one choice that a visitor savedFind out if the banner showed, and what the visitor chose

API requests

Each row shows the status, the method and the path. On a wide screen, the row also shows the duration, the size, the location and the browser.

  • Status 2xx or 3xx. The Consent API answered.
  • Status 4xx. The Consent API refused the request. Look at the path and the request ID.
  • Status 5xx. The request failed on the server.
  • — (no status). The status of the request is not logged yet. It can arrive some seconds after the request. Select Refresh to load it.

A duration of 1 second or more shows in a warning color.

Use the Status control above the table to show only 2xx, 3xx, 4xx or 5xx rows.

Events

Each row is one event from a visitor's journey:

Row saysWhat happened
Banner shownThe banner loaded and asked the visitor for a choice.
Stored choice appliedThe visitor chose before. c15t used that choice and did not ask again.
No banner neededThe policy for the visitor's region does not ask for a choice.
Accepted all from the bannerThe visitor accepted all categories in the banner.
Rejected all from the preferencesThe visitor rejected all optional categories in the preferences dialog.
Saved a custom choice from the bannerThe visitor chose some categories and not others.

A save can also come from the widget, or from code on your site.

Events hold no IP address, no fingerprint and no subject ID. To connect events, use the journey ID.

Find a row

Type in the search field. Press / to go to the search field from anywhere on the page.

TabThe search finds
API requestsThe request with that request ID, or each request whose path contains the text
EventsThe events with that journey ID

Only an exact ID finds a request or an event. Part of an ID finds nothing. A path search is not case sensitive.

To remove the search and the status filter, select Clear filters in the empty table.

Read one row

Select a row. A panel opens on the right. It shows the row as a trace, from the start to the end:

  • API requests. The trace starts at Request received. Then it shows the request, the visitor, the routing and the response. The trace ends at Response sent, with the time that the response took. If the status is not logged yet, the trace has no end.
  • Events. The trace starts at Banner loaded or Choice saved. Then it shows the journey and the banner. The banner card shows the policy and, if one ran, the experiment.

To copy a request ID or a journey ID, select the copy button beside it.

To go to the next row or the previous row, use the arrows at the top of the panel. You can also press the up arrow or the down arrow on a row in the table. When the panel is open, it shows the row that you move to.

To close the panel, press Esc or select the close button.

Show rows like this one

At the bottom of the panel, a button shows only the rows that are like the open row:

TabButtonThe table then shows
API requestsOnly and the pathEach request to that path
EventsShow this journeyEach event in the same visitor's journey

The button puts the value in the search field. To go back, clear the search field.

Read the chart

The chart above the table shows when the loaded rows happened. Each bar is one period of time. The text under the chart tells you the period for each bar.

TabThe bar shows
API requestsRequests that succeeded, requests that failed with a 4xx status, requests that errored with a 5xx status, and requests with no status yet
EventsBanner loads and saved choices

Put the pointer on a bar to see the counts. Select a bar to open the newest row in that period.

The chart counts only the rows that the table loaded. To add older rows to the chart, select Load older.

Get new rows

  • Select Refresh to load the newest rows one time.
  • Select Live to look for new rows each 10 seconds. Live stops when the browser tab is not visible. It starts again when you come back. Select Live again to stop it.

The time of the last load shows beside Live.

Load older rows

The table loads 50 rows at a time. To see older rows, select Load older at the bottom of the table. When there are no older rows, the bottom of the table says nothing older.

Logs shows rows for the analytics history of your plan. See Pricing.

PlanLogs goes back
Free24 hours
Starter7 days
Pro30 days
Business90 days
EnterpriseUp to 90 days of API requests and 180 days of events

Common checks

ProblemWhat to do
The banner does not show on your siteOpen Events. If the row says No banner needed, the policy for that region asks for no choice. If there is no row, open API requests and look for a failed call.
A visitor's choice does not saveOpen API requests. Select 4xx or 5xx, then open the row and read the response.
A request shows no statusWait some seconds, then select Refresh. The status can arrive after the request.
The table is emptyYour site has not called the project yet. Make sure that your site uses the project's backend URL. See Connect c15t.
The table shows Couldn't load the logsSelect Try again. If the error stays, contact Inth support.