Skip to content
Tools and automation

Google Tag Manager analytics with the Reveata template

2 min read · Updated · By the Reveata team

Short answerImport the Reveata Analytics tag template into your Tag Manager web container, create a tag that loads the script on All Pages with your tracking id, and publish. Further tags of the same template send goals and identify calls from your existing triggers.

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

  1. 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).
  2. Create a tag with Reveata Analytics, keep Load the Reveata script, and enter your tracking id (ws_…).
  3. 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.

Frequently asked questions

Can I use a Custom HTML tag instead?

Yes. Load the script address with your settings in it (/js/script.js?website-id=ws_…), as shown in the Tag Manager install guide.

I imported the template before setting up the managed proxy. What changes?

Add your first-party host pattern under Templates → Reveata Analytics → Permissions → Injects scripts, then set the tag's Reveata address to that host.

How do I check it works?

Publish the container, open your site in a normal window and look for your visit in Realtime, or follow verify your installation.

See it with your own numbersReveata ties every visit and sale to the source that brought it. Add your website in a minute.
Get started
Was this page useful?
IntegrationCaddy analytics proxy for ReveataTwo handle routes in your Caddyfile serve the Reveata script and pass events on from your own domain, with your proxy secret taken from Caddy's environment. If you can't edit the pages, the replace-response plugin can insert the snippet into every HTML response.IntegrationConnect ChatGPT to your website analyticsAdd Reveata in ChatGPT's Apps and Connectors settings, or create it in developer mode with Reveata's MCP server address and OAuth. You pick which websites to share, and ChatGPT answers questions about traffic, revenue, goals and funnels with cards and charts, reading only.IntegrationConnect Claude to your analytics with MCPAdd Reveata as a connector in Claude's settings, or with one command in Claude Code, and sign in through Reveata to choose websites and permissions. Claude then reads your analytics through Reveata's MCP server and shows inline cards for overviews, rankings, realtime, goals and funnels.IntegrationDiscord alerts for website traffic and revenueCreate a webhook in a Discord channel's Integrations settings, paste its URL into a Reveata alert, and Reveata posts to that channel when the alert fires. Posts never ping anyone, even if your message contains @everyone.IntegrationGemini CLI with Reveata analyticsRun gemini mcp add with Reveata's server URL, start gemini and run /mcp auth reveata. Reveata opens in your browser to choose websites and permissions, and Gemini CLI can then answer questions about your analytics.IntegrationGitHub commits on your analytics chartConnect a GitHub repository and Reveata imports the last 90 days of commits on its default branch, then adds new ones within seconds through a push webhook. Each day with commits gets a marker on your main chart, so you can see what shipped when traffic or revenue moved.