SOLVED

Adding GTM to Email template

Go to solution
Highlighted

Adding GTM to Email template

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

Accepted Solutions
Highlighted
Level 10 - Community Moderator

Re: Adding GTM to Email template

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

UTM tags are your friends.

View solution in original post

4 REPLIES 4
Highlighted
Level 10 - Community Moderator

Re: Adding GTM to Email template

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

UTM tags are your friends.

View solution in original post

Highlighted

Re: Adding GTM to Email template

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

Highlighted
Level 10 - Community Moderator

Re: Adding GTM to Email template

Well, not sad if you think about security.

Highlighted

Re: Adding GTM to Email template

maybe bitter-sweet