If your marketing team already runs everything through Google Tag Manager, Reveata can live there too. The template turns the triggers you already have, form submissions, clicks and custom events, into Reveata goals.
What you get
- The Reveata script on every page, managed from Tag Manager.
- Goals from any trigger, with a name and optional properties.
- Identify calls that fill the user id, email and name from your data layer variables, so payments can be matched by email.
- Managed proxy support, with a template that allows your own first-party host.
How to set it up
- Download the template from the Tag Manager install guide. In your web container, open Templates → Tag Templates → New, choose Import from the ⋮ menu, pick the file and save. Google explains custom templates in Tag Manager's template docs (opens in a new tab).
- Create a tag with Reveata Analytics, keep Load the Reveata script, and enter your tracking id (
ws_…). - Trigger it on All Pages (or Initialization – All Pages), save and Publish the container.
The template is not in the Community Template Gallery yet; once it is, you can add it from Search Gallery instead.
Why the settings are in the script address
Tag Manager can't add data-* attributes to scripts it injects. The template passes your settings in the address instead (/js/script.js?website-id=ws_…), and the script reads them from there. Any option from install the script works this way without the data- prefix.
Goals and identify
| Tag type | Use it for |
|---|---|
| Track a goal | A form submission, a click or a custom event, with a goal name such as signup and optional properties |
| Identify the visitor | A sign-in or sign-up event, with user id, email and name from data layer variables |
Identified emails let Reveata credit later payments to that person's visits (identify visitors).
With the managed proxy
If your website uses the managed proxy, download the template from the link in Settings → General → Managed proxy. Its Injects scripts permission also allows your own first-party host, and you set the tag's Reveata address to it, for example https://stats.example.com.