Yes. Google Tag Manager (GTM) is one of the simplest ways to deploy the Zenovay tracker, especially when your site has many other tags and you'd rather not edit theme files.
Steps
Create a Custom HTML tag
In GTM, go to Tags → New and choose Custom HTML as the tag type. Name it
Zenovay Tracker.Paste the tracker code
In the HTML field, paste:
<script defer src="https://api.zenovay.com/z.js" data-tracking-code="YOUR_TRACKING_CODE" ></script>Replace
YOUR_TRACKING_CODEwith the value from Settings → Tracking Code in your Zenovay dashboard.Set the trigger
Under Triggering, choose All Pages (the built-in
Initialization - All Pagestrigger is also fine and fires earlier in the page load).Save and publish
Click Save, then Submit in the GTM workspace, and publish the new container version.
Firing custom events from GTM
You can also push custom events to Zenovay from any GTM trigger — for example, when a button is clicked or a form is submitted.
Create a second Custom HTML tag with the trigger of your choice and paste:
<script>
if (window.zenovay) {
zenovay('track', 'cta_click', {
label: {{Click Text}},
page: {{Page Path}}
});
}
</script>
{{Click Text}} and {{Page Path}} are GTM built-in variables. Wrap them in curly braces so GTM substitutes the runtime value before the script fires.
Where to put the tag in the firing order
If you load the Zenovay tracker via the All Pages trigger and a custom-event tag also fires on the same page, the custom-event tag should fire after the tracker. The simplest way is:
- Load Zenovay on the
Initialization - All Pagestrigger (fires earliest). - Fire custom events on
All Pages,Click, orForm Submittriggers (which fire later).
The if (window.zenovay) guard above prevents the custom-event call from erroring if for any reason the tracker hasn't loaded yet.
Consent integration
If you use GTM's built-in consent mode, mark the Zenovay Tracker tag with the consent type that matches your privacy policy. Because Zenovay runs cookieless by default, in most jurisdictions it does not legally require consent — but routing it through your CMP keeps the audit trail consistent.
Verifying it works
- Use GTM's Preview mode to load your site.
- Confirm the Zenovay Tracker tag fired (you should see a
z.jsrequest in the network panel). - Open your Zenovay dashboard Live tab — your visit should appear within 30 seconds.