SOLVED

Adding GTM to Email template

Go to solution
Raymond_Russell
Level 2

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

1 ACCEPTED SOLUTION
SanfordWhiteman
Level 10 - Community Moderator

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

UTM tags are your friends.

View solution in original post

4 REPLIES 4
SanfordWhiteman
Level 10 - Community Moderator

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

UTM tags are your friends.

Raymond_Russell
Level 2

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

SanfordWhiteman
Level 10 - Community Moderator

Well, not sad if you think about security.

Raymond_Russell
Level 2

maybe bitter-sweet