Skip to main content

Install the analytics script with Google Tag Manager

Problem

Many websites manage their scripts through Google Tag Manager (GTM). Today, Cromojo's analytics script can't be installed that way. When the snippet is pasted into a GTM Custom HTML tag, GTM removes the settings that tell Cromojo which website a visit belongs to (the site ID and ingest key). The tag shows as firing in GTM, but Cromojo can't match the visits to the website, so nothing is recorded and Verify Installation shows "Not detected".

For now, the script has to be added directly to the website's <head>. See Google Tag Manager (not supported yet).

Proposed feature

Make Cromojo work when it's installed through Google Tag Manager.

Expected experience

• Settings > Analytics offers a "Using Google Tag Manager?" version of the snippet, ready to paste into a Custom HTML tag.

• Visits sent through GTM are recorded and Verify Installation confirms the setup, just like a direct install.

• The help center has a step-by-step GTM install guide again.

Customer feedback

A customer installed Cromojo on a second website through GTM. GTM showed the tag firing, but no visits appeared in Cromojo, and they had to contact support to find out why.

Status: In Progress

Log in to comment and vote

No comments yet

Be the first to share your thoughts.