# Tracking Tag

Follow the video tutorial or the installation guide below to set up your Tracking Tag

{% embed url="<https://youtu.be/QBdb7VyUWMM>" %}
MetaCRM Tracking Tag
{% endembed %}

## API Key

* This API key auto-generated and is already included in the provided installation snippet below.
* *If you need a new set of API keys for compliance or security reasons, you can use the regenerate button to do so. However, this will also generate a new set of installation snippets, which will need to be reintegrated into your website.*

<figure><img src="/files/bI0x2zY90Yb92Jjg72wd" alt=""><figcaption><p>API Key</p></figcaption></figure>

## Website URL

* Provide the URL of your website where you want to install the MetaCRM Tracking Tag.&#x20;
* *When switching from testing stage to production, make sure to change the domain name to maintain the functionality of the MetaCRM Tracking Tag.*

<figure><img src="/files/cbApQRkdFFOwLYMXOJ7d" alt=""><figcaption><p>Website URL</p></figcaption></figure>

## Installation

{% tabs %}
{% tab title="Installation Snippet" %}

* Copy the provided installation snippet and paste it right before the closing \</head> element as shown in the example below.&#x20;

<figure><img src="/files/mBtBakgVd6qDcw52vVsv" alt=""><figcaption><p>Installation Snippet</p></figcaption></figure>
{% endtab %}

{% tab title="Check Connection" %}

* Click check connection to see if the MetaCRM Tracking Tag has been successfully installed.

<figure><img src="/files/8NXr5Hvgqw1tt1vSo6dD" alt=""><figcaption></figcaption></figure>
{% endtab %}

{% tab title="SRI" %}

* Turning on or off SRI will affect how your project handles product updates from us
* Turning on SRI will provide enhanced security but you will have to manually verify and install MetaCRM product updates.
* Turning off SRI will reduce maintenance effort but also lower protection against compromised updates.&#x20;

<figure><img src="/files/3LQHS1Xx680XnacIB9HD" alt=""><figcaption><p>SRI</p></figcaption></figure>
{% endtab %}
{% endtabs %}

## Wallet Detection (Strongly Recommend)

* We strongly recommend installing our wallet detection so you can track all wallet connections, including non-browser wallets, such as WalletConnect.
* Please refer to the example code above and consult your devs on how to install wallet detection.&#x20;

<figure><img src="/files/W9po2DI8bfGrIwuU4mEV" alt=""><figcaption><p>Wallet Detection</p></figcaption></figure>


---

# 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://metacrm.gitbook.io/metacrm/settings/general/integration/tracking-tag.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.
