How to check if Consent Mode is active in TagFly
If you are unsure whether your consent mode is working properly, here’s our guide for you to test it. You can use either of the two provided options to check your consent mode.
Last updated
If you are unsure whether your consent mode is working properly, here’s our guide for you to test it. You can use either of the two provided options to check your consent mode.
Last updated
Note: Consent mode is only active in regions under privacy regulations
Go to https://tagassistant.google.com/, you can debug the consent states for any sites running Google Tags.
After adding the domain you want to debug, select a Tag ID from the top of Tag Assistant.
Then, choose an event from the left navigation and click the "Consent" tab. This will show you the state of different consent signals at the time of the event.
Check if all default consents are in Denied state
Next, verify the consent status after the user grants permission by accepting cookies.
Note that the Granted status depends on the specific permissions the shoppers agree to give us.
To open the network tab, you can use right-click > Inspect > Select the Network tab
Filter for gcs
to find all requests containing this parameter. Look for the request named collect
that includes the gcs
parameter.
After clicking on the request, scroll through the request payload parameters to locate the gcs
value in the list:
In the original version of Consent Mode, when examining network requests, look for a parameter called &gcs
. This parameter has a value formatted as G1xy
.
x
stands for consent to Google Ads cookies and is either 1
(granted) or 0
(denied).
y
stands for consent to Google Analytics cookies and is either 1
(granted) or 0
(denied).
Value | Description |
---|---|
G100
No consent has been granted
G110
Google Ads has consent, Google Analytics 4 does not
G101
Google Analytics has consent, Google Ads does not
G111
Both Google Ads and Google Analytics have consent