SOLVED

Query string Tracking for Forms on Drupal Landing Page

Go to solution
Julz_James
Level 10

Hi everyone,

I'm trying to set up some query string tracking for form fills on Drupal Landing pages.  I'm using Marketo forms and I want to track different sources using a query string.

I've tried lots of different options but nothing seems to be pulling the form fill into the Smart Campaigns I've set up for tracking.  The options I've tried are:

  • Putting hidden fields into the form and then having the form look for the URL parameter
  • Using 'Fills in form' trigger with the query string as a constraint
  • Using 'Fills in form' trigger with a filter of 'visited webpage in last 5 mins with query string' filter

But if I do a smart list of 'Fills in form' or just a basic smart campaign for 'fills in form' trigger all the names appear there but none have gone through the other tracking smart campaigns.

Normally for Marketo Forms and Marketo landing pages I would just do the second option and it works every time.  But it's not working with the Drupal LPs.

Can anyone help figure out what the problem is?

Thanks

Juli

1 ACCEPTED SOLUTION
SanfordWhiteman
Level 10 - Community Moderator

Well, they are definitely wrong.  What they're doing is using a one-time snapshot of the way form's HTML is it rendered way back when.

Marketo will, conveniently, still process this frozen-in-time version of the form (since the Form ID still exists in your Marketo instance) but of course it will not honor any fields added or removed since they last copied-and-pasted the HTML.  And hidden fields you set up in the Marketo Form Editor will not only not appear on the form, they could not be autofilled on the form because they're not using the Forms 2.0 JS which is responsible for parsing cookie/query/referrer info into hidden fields. This same relatively simple functionality can be emulated with your own JS.  But if you don't do anything, the hidden fields are just going to be empty.

Elliott Lowe​they're using the /save endpoint with what amounts to a custom form.  That's relatively good in that it creates a Filled Out Form activity.  It's terrible in that it appears to be linked to Marketo but is disconnected from the form as it currently is maintained by Juli James.

View solution in original post

20 REPLIES 20