> For the complete documentation index, see [llms.txt](https://docs.roivenue.com/roivenue-resources/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.roivenue.com/roivenue-resources/implementation/web-data/roivenue-measurement/implementation-through-gtm.md).

# Implementation through GTM

Implement Roivenue Measurement with Google Tag Manager, the fastest way to start tracking. What you need, the steps, and the guides that cover each part.

{% hint style="warning" %}

#### Legal Notice <a href="#legal-notice" id="legal-notice"></a>

*The following tracking script sets cookies into the users device. It tracks data which may be used for marketing optimization, content optimization or user segmentation. In some legislations the user needs to make an explicit consent before this code can be legally executed on his or her device.*

*As we only act as a data processor, you are responsible for obtaining consent in accordance with applicable legislation. If our tracking script gets activated and you have not complied with the applicable rules in obtaining user consent, you may be at risk of sanctions for which we are not responsible.*
{% endhint %}

Use this guide if your website runs Google Tag Manager (GTM). It is the fastest way to implement Roivenue Measurement. You import a ready-made Roivenue container into your GTM, set your configuration, and publish. No changes to your website code are needed for the basic setup.

If you don't use GTM, follow [Implementation without GTM](https://docs.roivenue.com/roivenue-resources/implementation/web-data/roivenue-measurement/implementation-without-gtm) instead.

Before you start:

* **Property ID.** You need it to configure the script. Your Client Success Manager (CSM) gives it to you.
* **Access to your GTM container** with permission to import a container and publish changes.
* **A consent solution** on your website. Collecting consent is your responsibility, see the Legal Notice above.

***

### How to implement Roivenue Measurement through GTM

1. **Import the Roivenue container and set your configuration.** Download the container, import it into your GTM workspace with the **Merge** option, and fill in your Property ID. Then set up the triggers. See [Main Implementation](https://docs.roivenue.com/roivenue-resources/implementation/web-data/roivenue-measurement/implementation-through-gtm/main-implementation).
2. **Set up conversion tracking.** Choose one of three methods. See [Conversion tracking](https://docs.roivenue.com/roivenue-resources/implementation/web-data/roivenue-measurement/implementation-through-gtm/conversion-tracking).
3. **Adjust the setup if you need to.** Measure through your own subdomain or change how page views are tracked. See the guides below.
4. **Validate the implementation.** Check that events reach Roivenue. See [Implementation validation](https://docs.roivenue.com/roivenue-resources/implementation/web-data/roivenue-measurement/implementation-validation). Then let your CSM know, so they can check the data with you.

Conversion tracking methods:

| Method                  | What you set up                   | When to use it                                                                                     |
| ----------------------- | --------------------------------- | -------------------------------------------------------------------------------------------------- |
| **Auto-capture**        | Adjust a trigger                  | You don't need to customize the tracked events.                                                    |
| **Send event directly** | One custom HTML tag and a trigger | You need to adjust the payload of conversion events. It gives you full freedom over what you send. |
| **Translation tags**    | One custom HTML tag and a trigger | You need to change properties that are otherwise captured. Adding new properties is not supported. |

***

### Guides in this section

| Guide                                                                                                                                                                                 | What it covers                                                                                                |
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- |
| [Main Implementation](https://docs.roivenue.com/roivenue-resources/implementation/web-data/roivenue-measurement/implementation-through-gtm/main-implementation)                       | The full default setup: importing the Roivenue container, setting the configuration, and setting up triggers. |
| [Conversion tracking](https://docs.roivenue.com/roivenue-resources/implementation/web-data/roivenue-measurement/implementation-through-gtm/conversion-tracking)                       | The three ways to send conversions to Roivenue: auto-capture, sending events directly, and translation tags.  |
| [Tracking Through Own Subdomain](https://docs.roivenue.com/roivenue-resources/implementation/web-data/roivenue-measurement/implementation-through-gtm/tracking-through-own-subdomain) | Setting up Roivenue Measurement to measure through your own subdomain.                                        |
| [Custom Pageviews Tracking](https://docs.roivenue.com/roivenue-resources/implementation/web-data/roivenue-measurement/implementation-through-gtm/custom-pageviews-tracking)           | Adjusting how page view events are tracked.                                                                   |

***

#### FAQ

<details>

<summary>1. Will importing the Roivenue container overwrite my GTM setup?</summary>

Not if you import it with the **Merge** option. Always choose Merge, so your existing tags, triggers, and variables stay as they are.

</details>

<details>

<summary>2. Where do I get my Property ID?</summary>

From your CSM. Without it, the tags cannot send data to your Roivenue account.

</details>

<details>

<summary>3. Which conversion tracking method should I choose?</summary>

Start with auto-capture if you don't need to customize the tracked events. Use sending events directly when you need full control over the payload, and translation tags when you only need to change properties that are already captured. See [Conversion tracking](https://docs.roivenue.com/roivenue-resources/implementation/web-data/roivenue-measurement/implementation-through-gtm/conversion-tracking).

</details>

<details>

<summary>4. How do I know the implementation works?</summary>

Follow [Implementation validation](https://docs.roivenue.com/roivenue-resources/implementation/web-data/roivenue-measurement/implementation-validation) to check that events reach Roivenue. Then tell your CSM, who checks the data with you before you rely on it.

</details>

<details>

<summary>5. My website doesn't use GTM. What now?</summary>

Add the script directly to your website code. See [Implementation without GTM](https://docs.roivenue.com/roivenue-resources/implementation/web-data/roivenue-measurement/implementation-without-gtm).

</details>
