> For the complete documentation index, see [llms.txt](https://metacrm.gitbook.io/metacrm/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://metacrm.gitbook.io/metacrm/settings/general/integration/tracking-tag.md).

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