# Google Tools

* [Why](#id-1.14.x-googletools-businessrules-why)
  * [Google analytics](#id-1.14.x-googletools-businessrules-googleanalytics)
  * [Google tag manager](#id-1.14.x-googletools-businessrules-googletagmanager)
* [Which context](#id-1.14.x-googletools-businessrules-whichcontext)
* [Interfaces](#id-1.14.x-googletools-businessrules-interfaces)
  * [Google tag manager](#id-1.14.x-googletools-businessrules-googletagmanager.1)
  * [Google analytics](#id-1.14.x-googletools-businessrules-googleanalytics.1)
* [Configurations](#id-1.14.x-googletools-businessrules-configurations)
* [Steps to reproduce to set Google tools](#id-1.14.x-googletools-businessrules-stepstoreproducetosetgoogletools)
  * [Cookie Bot Manager](#id-1.14.x-googletools-businessrules-cookiebotmanager)
  * [Google Tag Manager](#id-1.14.x-googletools-businessrules-googletagmanager-1)
  * [Google Analytics](#id-1.14.x-googletools-businessrules-googleanalytics-1)

## Why <a href="#id-1.14.x-googletools-businessrules-why" id="id-1.14.x-googletools-businessrules-why"></a>

### Google Analytics <a href="#id-1.14.x-googletools-businessrules-googleanalytics" id="id-1.14.x-googletools-businessrules-googleanalytics"></a>

Google analytics is a free website analysis dashboard. It gives you access to a range of insights about your website and the people who visit it.

### Google tag manager <a href="#id-1.14.x-googletools-businessrules-googletagmanager" id="id-1.14.x-googletools-businessrules-googletagmanager"></a>

Google tag manager is a free tool to manage your tag. It has been designed for website traffic analysis and marketing optimization. It allows you to quickly and easily update tags and code snippets on all pages of a website.

Google tag manager will allow you to manage other google tools to write scripts easily in your code and run them.

You will need a cookie manager cause now it is required to be followed. If the user does not accept the cookie the traffic will be not followed by google analytics.

## Which context <a href="#id-1.14.x-googletools-businessrules-whichcontext" id="id-1.14.x-googletools-businessrules-whichcontext"></a>

You can use it on every platform. When a platform operator needs to understand the users behavior and wants some data to create and manage marketing operations.

## Interfaces <a href="#id-1.14.x-googletools-businessrules-interfaces" id="id-1.14.x-googletools-businessrules-interfaces"></a>

### Google tag manager <a href="#id-1.14.x-googletools-businessrules-googletagmanager.1" id="id-1.14.x-googletools-businessrules-googletagmanager.1"></a>

{% hint style="info" %}
Link: <https://marketingplatform.google.com/intl/en_uk/about/tag-manager/>
{% endhint %}

### Google Analytics <a href="#id-1.14.x-googletools-businessrules-googleanalytics.1" id="id-1.14.x-googletools-businessrules-googleanalytics.1"></a>

{% hint style="info" %}
Link: [https://analytics.google.com](https://analytics.google.com/)
{% endhint %}

## Configurations <a href="#id-1.14.x-googletools-businessrules-configurations" id="id-1.14.x-googletools-businessrules-configurations"></a>

In the SBO you will have to configure all these parameters to be able to use google analytics.

{% hint style="info" %}
Path: SBO > Others > Parameters
{% endhint %}

* SBO > Other > Feature > Core > **Google Tag Manager ID**: The google tag manager ID is: GTM - XXXX
* SBO > Other > Feature > Core > **CookieBot API key**
* SBO > Other > Feature > Core > **CookieBot ID**

## Steps to reproduce to set Google tools <a href="#id-1.14.x-googletools-businessrules-stepstoreproducetosetgoogletools" id="id-1.14.x-googletools-businessrules-stepstoreproducetosetgoogletools"></a>

### Cookie Bot Manager <a href="#id-1.14.x-googletools-businessrules-cookiebotmanager" id="id-1.14.x-googletools-businessrules-cookiebotmanager"></a>

The cookie bot manager is required to have access to send data to google tools, if the users do not accept cookies, tools will not be able to receive the values and store analyze them.

First, you will have to fill in the cookies parameters.

* **cocorico\_core.cookiebot\_api\_key**: Your cookie bot key
* **cocorico\_core.cookiebot\_id**: Your cookie bot ID

### Google Tag Manager <a href="#id-1.14.x-googletools-businessrules-googletagmanager" id="id-1.14.x-googletools-businessrules-googletagmanager"></a>

1. Create or log in on google tag manager with your google account (figure 1.2)
2. Create a google tag manager account (figure 1.2), by filling:

* Your account name
* Your country
* Container name
* Select the Web target platform

<figure><img src="/files/HunoB0SCzBCDTUl2ngjR" alt=""><figcaption><p>figure 1.1</p></figcaption></figure>

<figure><img src="/files/bM1KGpgFSm6DsngSL0P4" alt=""><figcaption><p>figure 1.2</p></figcaption></figure>

3\. Keep the Google tag Manager ID, you can find it in the navigation bar (figure 2):

<figure><img src="/files/1eIrIBxL502lW10xLJBN" alt=""><figcaption></figcaption></figure>

You will have to fill the parameter, in the SBO (figure 3.1 & 3.2) :

* **cocorico\_shop.google\_tag\_manager**

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

![](/files/FLS3dNAeHX0Q5hYFjVIH)

4\. Create a balize to connect google analytics to google tag (figure 4.1 & 4.2)

* Go to Tag in the sidebar menu
* Click on New
  * Set: the name of the tag
  * Choose the Tag type: Google Analytics: Universal Analytics

{% hint style="info" %}
It is important to choose the “Google Analytics: Universal Analytics”, otherwise it will not works
{% endhint %}

* Type of monitoring:
  * Google Analytics parameters
    * The ID of follow-ups that correspond to the Google analytics ID
    * Cookie domain

<figure><img src="/files/GRD7S3QNUuAiYSVYV3fk" alt=""><figcaption><p>figure 4.1</p></figcaption></figure>

<figure><img src="/files/48lL3wn3N69VUoAXJSIF" alt=""><figcaption><p>figure 4.2</p></figcaption></figure>

Once all the fields are filled, save the tag you just created, in Google tag manager dashboard you should see the number of tags you created.

5\. Send your tags

You will have to send your tags, by clicking on the button send in the navigation bar, to make it works.

You will have to fill :

* The name of the version
* The description of the version

### Google Analytics <a href="#id-1.14.x-googletools-businessrules-googleanalytics" id="id-1.14.x-googletools-businessrules-googleanalytics"></a>

1. Create or log in on google tag manager with your google account (figure 5)<br>

   ![](/files/46UdzaIMZt9dyLbw5pSO)
2. Create a google analytics account by filling (figure 6):

* Fill in the account name and check the checkboxes of: “Account data sharing settings”

![](/files/CZhvdVzs0D8nt4eYT6fu)

* Fill in the website name, the timezone, and the currency (figure 7)

![](/files/gbERCfi2GTLeJ9muj1An)

* Choose a sector
* Select the platform, which is Web
* Fill in the URL and name the flux

3\. Keep the measurement ID, and fill it in the parameters of the SBO


---

# 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://features.scnd.com/v2.0/core-concepts/google-tools.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.
