# Tracking Through Own Subdomain

These are instructions how to have Roivenue Measurement implemented on your own subdomain. By default, Roivenue Measurement domain is **tr.roivenue.com**. If you implement this adjustment, you can serve the tracking script from your own subdomain (f.e. **t.exampleshop.com**) and event tracking requests go to this domain as well.

## Implementation

1. Choose on what subdomain you would like to have the tracking setup. It can be something like t.exampleshop.com.
2. You need to setup your DNS to point the domain to Roivenue Tracking Service.
   1. CNAME record “t.exampleshop.com” pointing at tr.roivenue.com
   2. TXT record asuid.{domain\_name} to code given to you by Roivenue Team - **please let us know you need it.**
3. After you completed the DNS setup, please let us know and we will validate the setup was successful.
4. Once you have the confirmation, change the `api_url` parameter in the roivenue.tracking.config variable in your tag manager.


---

# 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/tracking-through-own-subdomain.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.
