Articles on: Tagfly

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.

Note: Consent mode is only active in regions under privacy regulations

Use Tag Assistant



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 D**enied** 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.

Use Network tab



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).

ValueDescription
G100No consent has been granted
G110Google Ads has consent, Google Analytics 4 does not
G101Google Analytics has consent, Google Ads does not
G111Both Google Ads and Google Analytics have consent

Updated on: 18/11/2024

Was this article helpful?

Share your feedback

Cancel

Thank you!