Re: Embedded Forms & Ad Blockers?

Anonymous
Not applicable
Has anyone else noticed embedded forms not being shown for people using an ad blocker such as Ghostery? 
Tags (1)
23 REPLIES 23
Valentin_Antido
Level 1

This workaround works perfectly. I experienced the issue with the Disconnect extension (in any browser) which is the database used by FF to protect from tracking.

But it seems that there's still a problem over https.

I have 2 websites with the same types of forms and the one who is secured doesn't display the forms and generate errors like : ReferenceError: MktoForms2 is not defined.

These errors appear only when I replace the loading URL by the landing page URL.

SanfordWhiteman
Level 10 - Community Moderator

That's correct. Obviously you need to be running https on your LP domain to include its active assets in an https document.

Valentin_Antido
Level 1

Thanks Sanford. I don't know how to get it but I guess it should be an admin setup ?

SanfordWhiteman
Level 10 - Community Moderator

It's actually a feature you have to add to your Marketo subscription -- and it'll cost ya, unfortunately. You should contact your account manager to appraise/start the provisioning process. It usually takes a few weeks because you'll be allocated a new server (which is pretty cool, considering).

Radek_Mezulanik
Level 1

Replacing a url just simply doesn't work in 2020. Does anyone found another working solution?

SanfordWhiteman
Level 10 - Community Moderator

Replacing a url just simply doesn't work in 2020. Does anyone found another working solution?


Sure it does! You need to include the technique at Really, finally winning the Marketo Forms vs. Tracking Protection battle.

Anonymous
Not applicable

I "chatted" with Marketo support just the other day about this, as there is a setting in Firefox's newest release that has a Privacy setting of "Use Tracking Protection in Private Windows", is supposedly checked by default, which prevents embedded form from showing up on our pages in Firefox.

There is no solution they could provide.

Anonymous
Not applicable

Hi
Is there any progress in this situation? It's also happening on my website as well. No Marketo forms are showing in Firefox anonymous browsing.

Hiram_Cruz
Level 2

See Kenny Elkington's comment above. I've applied it and it has worked for me.

Molly_Cousins
Level 2

Has anyone in this thread tried Kenny Elkington​'s suggestion? I got a report of this today from a colleague - our 2.0 forms on non-Marketo landing pages are still being blocked by a Chrome ad blocker plugin.

SanfordWhiteman
Level 10 - Community Moderator

No harm can come from doing it, and it's not a permanent switch -- if you can identify and replicate what your colleague reported, why not try that same device/software with a test page pointing to your CNAME?  And also please tell us what that software is!

Molly_Cousins
Level 2

The software I experienced the issue with is Adblock Plus – on Chrome specifically, but sounds like others have experienced the same on other browsers.

I’ll try the CNAME suggestion and report back on results.

Anonymous
Not applicable

Hello Molly,

Any updates about this? Did you finally try the CNAME suggestion?

Keep us posted, thanks

Benjamin

Kenny_Elkington
Marketo Employee
Hi Guys,

You may want to try changing the sources in your embed code to load from your CNAME instead of from the default marketo domains in the embed code like so:

Default code:

<script src="//app-sjst.marketo.com/js/forms2/js/forms2.js"></script> //we need to change app-sjst.marketo.com
<form id="mktoForm_1026"></form>
<script>MktoForms2.loadForm("//app-sjst.marketo.com", "299-BYM-827", 1026);</script> //need to change here as well

Modified code:

<script src="//kenny.example.com/js/forms2/js/forms2.js"></script> //changed to LP Domain
<form id="mktoForm_1026"></form>
<script>MktoForms2.loadForm("//kenny.example.com", "299-BYM-827", 1026);</script> //Changed to LP domain

You can vote for this idea if you think this should be the default behavior: https://community.marketo.com/MarketoIdeaDetail?id=08750000000JwL7AAK

Dan_Stevens_
Level 10 - Champion Alumni

Kenny Elkington​, just so I understand correctly, as long as we have our CNAME configured properly here:

pastedImage_0.png

We would simply change our embed code from:

<script src="//app-sj08.marketo.com/js/forms2/js/forms2.min.js"></script>

<form id="mktoForm_1458"></form>

<script>MktoForms2.loadForm("//app-sj08.marketo.com", "xxx-xxx-xxx", 1458);</script>

to this:

<script src="//pages.avanade.com/js/forms2/js/forms2.min.js"></script>

<form id="mktoForm_1458"></form>

<script>MktoForms2.loadForm("//pages.avanade.com", "xxx-xxx-xxx", 1458);</script>

Kenny_Elkington
Marketo Employee

Correct.

Anonymous
Not applicable
Does using the older-style ("1.0") forms resolve the issue for anyone?

Best,
Isaac
Hiram_Cruz
Level 2
I'm also having trouble with embedded Forms 2.0 not rendering on Non-Marketo pages. The problem can very well be AdbBlock.. but I'm not exactly sure and  I can't seem to find a solution for it in any discussion. Please help
Anonymous
Not applicable
It appears that Marketo is on one of the lists that AdBlock offers its users:

This list is called the "EasyPrivacy"

This is the link to the actual list (do a ctrl-f to find marketo):
https://easylist-downloads.adblockplus.org/easyprivacy.txt

Anonymous
Not applicable
We're seeing the same issue too - AdBlock plugin preventing embedded forms 2.0 from displaying in Chrome.