# Specific Implementations

## **Cross-Domain Tracking** <a href="#id-01h7sfp5zk9yv64snzqna870gn" id="id-01h7sfp5zk9yv64snzqna870gn"></a>

Cross-domain tracking helps you follow the user in the case when one or more pages are hosted on a different domain name than the original one. Cross-domain tracking is necessary when a website has a page (payment confirmation, for example) that redirects the user to an external domain. To set-up a cross-domain tracking, go on this [**page**](https://app2.abtasty.com/settings/tracking/cross-domain) on the settings.

You can add a URL pattern as a setting for pages hosted on other domains. Then, click **Add** and validate your modification.

![](/files/WqbmGm605vHXeKeASXVr)

{% hint style="warning" %}
**Since cross-domain tracking is relying on third-party cookies to operate, the feature will no longer work on browsers or environment that don't support these cookies anymore**. It can be the browser type (Safari or Firefox), specific settings, the use of extensions or any other external element that might block third-party cookies. This feature is no more supported by Google Chrome. All visitors that are not using a browser or environment compatible with third-party cookies won't be tracked over domains, even when the feature is properly set up.
{% endhint %}

## **Server-Side Rendering** <a href="#id-01h7sfp5zkebwt7xrncr1d9rav" id="id-01h7sfp5zkebwt7xrncr1d9rav"></a>

If you are using server-side rendering (SSR) on your website, you might need to add a specific implementation for your tag.

In some situations, you might need to ask our tag to wait before applying its modifications. Indeed, with some SSR frameworks, modifying the DOM before the reconciliation has occurred might cause performance or render issues.

You can force our tag to lock its execution until you unlock the tag. To achieve that, you need to declare a variable before injecting our tag:

<pre><code><strong>window.lockABTastyTag = true;
</strong></code></pre>

Once you consider your page to be ready for front-end modifications, you can call the following method to unlock our tag:

<pre><code><strong>window.unlockABTasty();
</strong></code></pre>

For more information, please refer to the [**complete technical documentation** ](https://developers.abtasty.com/docs/tag/tag-window#locking-tag-execution)about global methods and variables or our [**troubleshooting article**](https://developers.abtasty.com/docs/tag/tag-cross-domain-tracking) on cross-domain tracking limitations.


---

# 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.abtasty.com/account/tag-integration/implement-ab-tasty-tag/specific-implementations.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.
