Hi there! Just wanting to ask what the best process is for implementing GTM code into my Marketo landing pages? I assume this would be just like any standard implementation (e.g. place the code at the top of the <body> tags within the landing page template (Guided landing pages)).
Solved! Go to Solution.
Yes, if it's a global script, you'd hard-code it in the template.
If there's a need for some kind of conditional include, you can use a mktoBoolean.
There are also several tips on the Forums and in previous Summits to use Folder Tokens to place the script across all/some pages and then update it more easily if desired.
Will this cascade back to the pages that are already set up using that template, or will it just affect new landing pages moving forward?
As long as you reapprove those LPs, they'll use the stuff in the new template.
Quick question, I added the GTM script hard-code it in the template, when I am validating the landing page I saw that the connection with Tag Manager has an error:
An error occured while the tag was fired: net::ERR_BLOCKED_BY_CLIENT
It looks like Marketo is rejecting the GTM request, how can I fix it?
Thanks
.
That’s not Marketo, that’s your ad blocker/privacy plugin blocking the request.
Thanks, finally is ok
I am seeing this same issue, but I believe my browser is not blocking it. Did you have to place the tag somewhere special?
BLOCKED_BY_CLIENT is always because of an ad/privacy blocker. Always.