⚠️ The cookie name is not necessarily the same as the one displayed on your widget.
There are three ways to retrieve the cookie names.
From your Axeptio project
In your Axeptio backoffice, click on the desired cookie.
You will find all the characteristics of this cookie, including its name as it is taken into account by our API:
Via the browser console
Once cookies are accepted, access the web browser console:
From the web browser, right-click on the page of your site using Axeptio
Select Inspect
Then type datalayer and press Enter.
You will get a list that you can expand by clicking on the small arrows at the beginning of each line.
Expand the lines event, axeptio_update, then axeptio_authorized_vendors, until you get the list of accepted cookies and their names:
Using GTM preview
⚠️ This procedure only works if GTM is properly connected to your site and the Axeptio widget is properly installed there
Click on Preview in the top right of your GTM page
Enter your site's URL and launch it
This operation allows you to access the following two pages:
The preview page Tag Assistant
The page of the specified URL
Once cookies are accepted on your site:
Go to the preview page
Select the axeptio_update event from the list on the left
Then select the Variables tab
You will then obtain all the variables used by GTM:
