Track referral source of a marketo form on a non-marketo page

Anonymous
Not applicable

Track referral source of a marketo form on a non-marketo page


I'm hoping to track with a referral source of an embedded marketo form. 

Is that posisble using the embed code on forms 2.0? 


Thanks in advance. Any help would be much appreciated!
Tags (1)
7 REPLIES 7
Edward_Masson
Level 10

Re: Track referral source of a marketo form on a non-marketo page

Need to use a field that will be hidden on the form and use URL builder to build that reffering link to use it.
Then a smart campaign listening to that reffering source.
 
Never tested it on the embed code of Form 2.0 but it works for Form 2.0 and 1.0 
Josh_Hill13
Level 10 - Champion Alumni

Re: Track referral source of a marketo form on a non-marketo page

Yes, this works on the embed code as long as your hidden fields and URL Parameters work right.
Anonymous
Not applicable

Re: Track referral source of a marketo form on a non-marketo page

Right, use URL parameters to set the value of a hidden field:
https://community.marketo.com/MarketoArticle?id=kA050000000LH7uCAG
Anonymous
Not applicable

Re: Track referral source of a marketo form on a non-marketo page

Here are the steps to do this:

  1. Log in to Marketo
  2. Under Marketing Activities, select your form and click Edit Form
  3. Create a new field
  4. Change the field type for the field you created to hidden
  5. Select the option for Autofill
  6. After the clicking option for Autofill, set Get Value From to Referrer Parameter.
  7. Enter the Parameter Name which you want to get from the referrer URL and click SAVE.
  8. Click Finish
  9. Click Approve and Close
Anonymous
Not applicable

Re: Track referral source of a marketo form on a non-marketo page

Thanks All. 

I understand how to do this for landing pages that I create with a hidden field and the url builder, but what about for forms housed on a non-marketo page? 

How do I append designated codes to track how someone ended up on a specific page page of our website. 

When I simply append "src=" with the designated code on the end of the url (like I would for landing pages), I get an error. Do you know what piece I am missing?

 

Anonymous
Not applicable

Re: Track referral source of a marketo form on a non-marketo page

In your autofill options for your hidden field, try:

Default Value: [Blank]
Get Value from: Referrer Parameter
Parameter Name: src

This should store the value of src from the referring URL on your non-Marketo page.
Anonymous
Not applicable

Re: Track referral source of a marketo form on a non-marketo page

Looks like I missing two very simple steps:
  1. Clearing browsing cookies
  2. Using a ? before the parameter name
Thanks everyone!