SOLVED

Re: How can I implement Google Tag Manager (GTM) into Marketo landing pages?

Go to solution
Anonymous
Not applicable

How can I implement Google Tag Manager (GTM) into Marketo landing pages?

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)).

1 ACCEPTED SOLUTION

Accepted Solutions
SanfordWhiteman
Level 10 - Community Moderator

Re: How can I implement Google Tag Manager (GTM) into Marketo landing pages?

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.

View solution in original post

11 REPLIES 11
SanfordWhiteman
Level 10 - Community Moderator

Re: How can I implement Google Tag Manager (GTM) into Marketo landing pages?

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.

Josh_Hill13
Level 10 - Champion Alumni

Re: How can I implement Google Tag Manager (GTM) into Marketo landing pages?

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.

tmahoneyUSAC
Level 1

Re: How can I implement Google Tag Manager (GTM) into Marketo landing pages?

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?

SanfordWhiteman
Level 10 - Community Moderator

Re: How can I implement Google Tag Manager (GTM) into Marketo landing pages?

As long as you reapprove those LPs, they'll use the stuff in the new template.

wbarillas
Level 1

Re: How can I implement Google Tag Manager (GTM) into Marketo landing pages?

Hi @SanfordWhiteman 

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

.Screenshot_4_05_22__09_30.png

 

SanfordWhiteman
Level 10 - Community Moderator

Re: How can I implement Google Tag Manager (GTM) into Marketo landing pages?

That’s not Marketo, that’s your ad blocker/privacy plugin blocking the request.

wbarillas
Level 1

Re: How can I implement Google Tag Manager (GTM) into Marketo landing pages?

Thanks, finally is ok

Chris_go
Level 1

Re: How can I implement Google Tag Manager (GTM) into Marketo landing pages?

I am seeing this same issue, but I believe my browser is not blocking it. Did you have to place the tag somewhere special? 

SanfordWhiteman
Level 10 - Community Moderator

Re: How can I implement Google Tag Manager (GTM) into Marketo landing pages?

BLOCKED_BY_CLIENT is always because of an ad/privacy blocker. Always.