Adding GTM to Email template | Community
Skip to main content
Raymond_Russell
New Participant
March 1, 2019
Solved

Adding GTM to Email template

  • March 1, 2019
  • 1 reply
  • 5303 views

Can I add Google Tag Manager tracking to my email template? I thought I could (to better track the traffic and not see it as "direct" in Google Analytics), but now I see a "Marketo does not allow javascript or script tags in email HTML Please refresh your browser." error in my master Email Template. Is this possible or since it's js it won't work?

If it won't work then are UTM tags my only path to see email traffic in GA as email rather than direct since it will be coming as a redirect through my tracking link subdomain?

thanks!

Ray

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by SanfordWhiteman

You categorically cannot -- must not -- include <script> tags in an email.

UTM tags are your friends.

1 reply

SanfordWhiteman
SanfordWhitemanAccepted solution
New Participant
March 1, 2019

You categorically cannot -- must not -- include <script> tags in an email.

UTM tags are your friends.

Raymond_Russell
New Participant
March 1, 2019

yeah that's what i'm seeing as well, thanks for confirming. appreciate it. sad, but appreciated.

SanfordWhiteman
New Participant
March 1, 2019

Well, not sad if you think about security.