Installation and tag
The Instalação & Tag tab: the four tag modules and their weight, the Peso estimado card, and the installation code. How to install and validate collection.
Updated on
Prerequisite: Access to the site template or to Google Tag Manager.
The PageSignal tag is a script installed on the site. It has one required module and three optional modules, turned on with toggles in the Instalação & Tag (installation and tag) tab. Each active module adds weight to the script, and the screen shows the total. The Personalizar script (customize script) block presents the modules, and the subtitle begins with "Selecione os módulos que deseja ativar." (select the modules you want to turn on).
Modules
| Module | Description on the screen | Weight |
|---|---|---|
| Realtime Analytics | Módulo core obrigatório. Medição de pageviews e usuários. (required core module; pageview and user measurement) | No toggle; Ativo (active) label |
| Heatmaps & Scroll | Mapas de calor de cliques e profundidade de scroll. (click heatmaps and scroll depth) | +24.5kb |
| Web Push Notifications | Service Worker para envio de notificações. (service worker for sending notifications) | +32.1kb (Async) |
| Pulse AI Auto-Tagging | Classificação automática de conteúdo via IA local. (automatic content classification with local AI) | +45.8kb, with the Impacto no LCP (LCP impact) warning |
A module that is turned off corresponds to a missing metric or feature: without Heatmaps & Scroll, the Scroll médio (average scroll) metric in the article details appears as —; without Web Push Notifications, there is no service worker for Smart Push; without Pulse AI Auto-Tagging, automatic content classification does not run.
Estimated weight
The Peso estimado (estimated weight) card, in the right column, shows the total in kb and a scale with the Leve (Fast) (light), Moderado (moderate), and Pesado (Impacto LCP) (heavy, LCP impact) bands. The value changes as toggles are turned on or off.
Install the tag
Turn on the modules you need
Turn on the toggles for the modules the operation uses. The Peso estimado card reflects the choice.
The scale shows the weight band of the script.
Copy the code
In the
setup_code.htmlblock, select Copiar (copy). The code is a<script async>that points to the collection domain tracking.pagesignal.net and carries your account'sdata-tenant-idattribute.The code is on the clipboard.
Install it on the site
Paste the code into the site template, on every page, or into Google Tag Manager. The screen states that the tag is compatible with Google Tag Manager.
The tag loads on every page of the site.
Authorize the domain
In Configurações gerais (general settings), check whether the site's domain is in Base URL (domínio principal) (base URL, primary domain) or in Domínios permitidos (allowed domains). Subdomains and staging environments are separate domains.
The ingestion engine accepts the site's traffic.
Validate collection
Open Realtime and check the Leitores online (readers online) metric.
With the site in use, the metric shows connected readers.
<!-- Code structure. Copy the real code from the dashboard, with your data-tenant-id. -->
<script async src="https://tracking.pagesignal.net/SCRIPT_PATH" data-tenant-id="ACCOUNT_ID"></script>