---
title: Ideal technical context - Web
description: Prerequisites and best practices to implement the Tag on your website
lastUpdated: 25 April 2025
source_url:
  html: https://docs.contentsquare.com/en/web/ideal-technical-context/
  md: https://docs.contentsquare.com/en/web/ideal-technical-context/index.md
---

The tracking tag is designed to work on most websites out of the box (or with a minimal configuration). Nevertheless, you might want to facilitate and speed up its installation by creating the following technical context:

* A **Tag Management System (TMS)** (Google Tag Manager, Adobe Launch,...) is loaded on every page.

* A **DataLayer** contains at least the current template, the product category and the user connection state.

* The **URL changes at every major change of the UI**: opening of key popin ("add to cart"), step changes in the checkout,...

* The **HTML Code** is **valid** (unique "id" on every page, ad-hoc "doctype") and **logical** (DOM tree making sense for the content) — [More details here.](https://docs.contentsquare.com/en/web/events-handling/#which-html-code-is-compatible)

* All the navigation is on the **same domain** (including the checkout).

* The website **doesn't use any iFrame** but it can be **loaded from within** an iFrame.
