# How to check if Consent Mode is active in TagFly

{% hint style="warning" %}
Note: Consent mode is only active in regions under privacy regulations
{% endhint %}

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

<figure><img src="/files/8rACy6juBv24uy2bgXQP" alt=""><figcaption></figcaption></figure>

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 <mark style="color:red;">D</mark><mark style="color:red;">**enied**</mark> state

<figure><img src="/files/RLzl3W9fj6GQ27eAKdz1" alt=""><figcaption></figcaption></figure>

Next, verify the consent status after the user grants permission by accepting cookies.

<figure><img src="/files/JggkC2sDjtNJhThxe9GR" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
Note that the <mark style="color:green;">Granted</mark> status depends on the specific permissions the shoppers agree to give us.
{% endhint %}

## 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:

<figure><img src="/files/tUtYGt2tXhXxNW0sMMrI" alt=""><figcaption></figcaption></figure>

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

<table><thead><tr><th width="126">Value</th><th>Description</th></tr></thead><tbody><tr><td>G100</td><td>No consent has been granted</td></tr><tr><td>G110</td><td>Google Ads has consent, Google Analytics 4 does not</td></tr><tr><td>G101</td><td>Google Analytics has consent, Google Ads does not</td></tr><tr><td>G111</td><td>Both Google Ads and Google Analytics have consent</td></tr></tbody></table>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.tagfly.io/consent-mode/how-to-check-if-consent-mode-is-active-in-tagfly.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
