Before you start
- A tinyanalytics site. If you don’t have one yet, follow the Quickstart.
- Your snippet from Settings → Tracking in your dashboard.
- GTM already installed on your site, with a container you can edit.
Create a Custom HTML tag
1
Add a new Custom HTML tag
In your GTM workspace, go to Tags → New, and choose the Custom HTML tag type.
2
Paste the snippet
Paste your tinyanalytics snippet as the tag’s HTML:
3
Trigger it on all pages
Set the tag’s trigger to All Pages so it loads everywhere on your site.
4
Submit and publish
Save the tag, then Submit and Publish your container. The tag is live once the container is published.
If you use GTM’s consent settings, make sure the tag is allowed to fire — a tag blocked by consent won’t load tinyanalytics. Core anonymous analytics uses no cookies or stored browser ID, but optional features can use browser storage. See Privacy & GDPR when configuring consent.
Verify
Use GTM Preview to confirm the tag fires, then open your site and check Realtime in your dashboard for your visit. See Verify your setup for the full check.Your install is working when the tag fires in GTM Preview and your own visit appears in Realtime in your dashboard.
Related
Install on any platform
The universal method and other platforms.
How tinyanalytics works
Why cookieless tracking simplifies consent.
Configure the tracking script
Every
data-* option you can set.Verify your setup
Confirm tracking works.