Re: Embedded Forms Don't Trigger Campaigns after 2.0

Anonymous
Not applicable

Embedded Forms Don't Trigger Campaigns after 2.0

I am having a issue with forms. They work fine on my internal Marketo Landing Pages, but not when embedded in my website they no longer trigger my campaign or show up in my Members. Does anyone have any insight on this?

14 REPLIES 14
Anonymous
Not applicable

Re: Embedded Forms Don't Trigger Campaigns after 2.0

Hi, Brad - I would verify that you don't have any obvious console errors, in the developer tool of your web browser, on your website. Was your test record successfully created in Marketo? I have occasionally seen a bug with the filled out form trigger, where it won't trigger for the created of new records.

If you don't see any errors on the website. Try adding a person is created trigger and the appropriate filters to specify your web form.

Hope that helps!

Cheers,

Tim

Anonymous
Not applicable

Re: Embedded Forms Don't Trigger Campaigns after 2.0

I took a look at the Console and it is not generating a record. It's not sending to Marketo, and it's not generating an error, either.  I will look into adding a person is created trigger. Thank you for your help.

Anonymous
Not applicable

Re: Embedded Forms Don't Trigger Campaigns after 2.0

Interesting that it's not sending to Marketo, that being the case you can ignore the trigger reference. Can you confirm that the form is rendering successfully and that the embed code appears to be correct/unaltered on the page?

Also - do you have a link to the form that you wouldn't mind sharing?

Anonymous
Not applicable

Re: Embedded Forms Don't Trigger Campaigns after 2.0

Please feel free to look at https://www.unitedlex.com/news-and-insights/white-papers/top-priorities-advanced-threat-detection. The code is intact, but their is some CSS that modifies the look and feel to fit the site better.

Jim_Thao7
Level 9

Re: Embedded Forms Don't Trigger Campaigns after 2.0

Any particular reason why you broke up your embed code the way you did?  I'm looking at your source code and it's all over the place.

This is what a normal form embed code looks like:

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

<form id="mktoForm_1001"></form>

<script>MktoForms2.loadForm("//app-yyy.marketo.com", "123-ABC-456", 1001);</script>

Yours goes a little something like this:

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

----multiple lines of some other code

<form id="mktoForm_1001"></form>

----multiple lines of some other code

<script>MktoForms2.loadForm("//app-yyy.marketo.com", "123-ABC-456", 1001);</script>

Perhaps you have some sort of code conflict.

Anonymous
Not applicable

Re: Embedded Forms Don't Trigger Campaigns after 2.0

The code was broken up by an outside web developer. I have a meeting with them today and I can ask.

SanfordWhiteman
Level 10 - Community Moderator

Re: Embedded Forms Don't Trigger Campaigns after 2.0

I took a look at the Console and it is not generating a record. It's not sending to Marketo, and it's not generating an error, either.

I don't understand this report.  If you're testing in a late-model browser, you'll see it is posting the form:

pastedImage_2.png

Also, it even sees my known lead.

pastedImage_3.png

I strongly suspect the problem is in your triggers itself, not with anything on the client side.

Anonymous
Not applicable

Re: Embedded Forms Don't Trigger Campaigns after 2.0

The funny thing with this is that it works with Marketo Landing Pages, but not when it is embedded. If the triggers were off, why wouldn't they affect the form when it is used directly from Marketo?

Steven_Vanderb3
Marketo Employee

Re: Embedded Forms Don't Trigger Campaigns after 2.0

It's not possible to answer that without seeing how form fill is being recorded for the lead that filled out the form, and without seeing how exactly you set up your Smart Campaign.