SOLVED

Where to place utm's in form embed code?

Go to solution
James_Zolinski
Level 4

We are using Marketo contact forms embedded on our website with hidden utm parameters. When people fill out the contact forms we receive an alert email for sales to follow up with them. The problem is, the Lead Source and Source Detail fields are blank on our alert emails. I noticed the embedded form code does not have the utm's in it, in order for embedded forms to track Lead Source and Source data, do the utm's need to be placed in the embedded code? If so, where in the embedded code would it go?

1 ACCEPTED SOLUTION
Grégoire_Miche2
Level 10

Hi James,

you ou do not technically need a program to handlr that form, but the best practice is that you at least host the SC in a program, so that each person filling out the form would become a progrMa member and get the program as acquisition program when they are a new lead. This will preserve your reporting capabilities.there is also a virtue to handling things always through programs: consistency reduces the risks of errors.

the form itself canbe hosted in the same program or shared I the design studio. The lattter is better if the form is to be reused. And you never know in advance if you might need to reuse a form in the future.

Greg

View solution in original post

26 REPLIES 26
Grégoire_Miche2
Level 10

For this, simply mark one answer as correct.

Greg

SanfordWhiteman
Level 10 - Community Moderator

You don't have to do anything special to track UTMs with the embed code vs. the same form on a Marketo LP.

If the hidden fields are set to AutoFill from the URL, this works equally well for both the embed and a named mktoForm element. Of course just filling from the current URL isn't a full-circle solution, but it works the same way in both cases.

James_Zolinski
Level 4

Thanks Sanford, well, the page it is embedded is not a Marketo LP, it is a Wordpress page. Since this is hosted on a Wordpress page, would the autofill still work. I do see autofill is enabled on the form.

utm.JPG

SanfordWhiteman
Level 10 - Community Moderator

Yes, like I said, AutoFill works the same for both cases.

James_Zolinski
Level 4

If it works the same for both cases then why are the utm's not transferring to the Lead Source and Source Detail fields on our alert emails? This might be a dumb question, but could it be because there is no SC set up for these embedded forms? In order to track utm's on embedded forms, do SC's need to be set up in order to catch and track that data?

SanfordWhiteman
Level 10 - Community Moderator

This might be a dumb question, but could it be because there is no SC set up for these embedded forms? In order to track utm's on embedded forms, do SC's need to be set up in order to catch and track that data?

Smart Campaigns don't need to be set up to capture field values that are submitted along with the form.  As long as you do not have updates blocked in Field Management, a form post that contains a non-empty value will overwrite the current value.

As Jason suggests, the way you're describing your setup and expectations isn't clear.  Even "where to place UTMs" as a summary doesn't make a lot of sense.