# Implementation through GTM

{% 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 %}

## Implementation of Roivenue Measurement

The documentation consists of 4 parts:

1. [**Main Implementation**](/roivenue-resources/howto/roivenue-measurement-implementation/implementation-through-gtm/main-implementation.md) - the entire flow of how to implement Roivenue Measurement. It talks mainly about the default implementation. If you need to implement some custom changes, there are 3 other sections.
2. [**Tracking Through Own Subdomain**](/roivenue-resources/howto/roivenue-measurement-implementation/implementation-through-gtm/tracking-through-own-subdomain.md) **-** helps you to set up Roivenue Measurement in a way it measures through on your own subdomain.
3. [**Custom Pageviews Tracking**](/roivenue-resources/howto/roivenue-measurement-implementation/implementation-through-gtm/custom-pageviews-tracking.md) - talks in more detail how to adjust page view tracking events.
4. [Translation Tags](/roivenue-resources/howto/roivenue-measurement-implementation/implementation-through-gtm/conversion-tracking.md) - relevant in situations when you already have some conversion events in your dataLayer and you would like to reuse them for Roivenue Measurement.


---

# 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.roivenue.com/roivenue-resources/howto/roivenue-measurement-implementation/implementation-through-gtm.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.
