Sant Singh Rathaur

Do you understand the difference between different Marketo form parameters?

Blog Post created by Sant Singh Rathaur on Oct 4, 2019

What is the benefit of having various parameters with the Marketo form when you can simply capture the data with visible fields? Are you using hidden fields in your Marketo form? If yes then which one you are using? Do you understand the difference between various parameters?

 

If you have used or already aware then you can skip this read and if you haven't then no worries, I will provide my understanding for each one of them one by one and will also provide some examples, how you can use them with your business case. Also, if you find any mistake then your feedback is most welcome.

 

In our business case, we have used all of them to overcome some or other challenges and they are actually helpful with additional attribution which is necessary for reporting at the end of our campaigns. These parameters are really helpful even when something seems impossible.

Let's begin...


1. Use Default Value: By using default value you can hardcode or pre-define the specific value for that field. So, every time when forms will be submitted, this default value will be tagged with the lead. For example: In the below screenshot I have added main area of interest as hidden field in the form and added the default value as Animation.

 

 

2. URL Parameter: By using the URL parameter (website/landing page URL with query string) we can capture necessary information from the website/landing pages URL when a person is submitting the form and we can populate that information in the hidden field.

 

 

Note: I would always recommend to use this parameter defining default value as well so that at the end of your marketing initiatives, you are able to identify how many people have removed the query string during filling out the form. And by doing this, you are also helping your database to be normalized.

 

Example: In this URL (http://santrathaur.com?discipline=Learning-marketing-automation) I have used discipline query string with Learning-marketing-automation as value. When someone will submit the form here, in the main area of interest hidden field this value will be captured and if that person will remove the query-string then the default value will be tagged.

 

http://santrathaur.com/?discipline=Learning-marketing-automation

 

3. Referrer Parameter: There is a slight difference between the URL parameter and the referrer parameter. In the referrer parameter, you are still capturing the query string parameter value but not from the current page. You are capturing the value from referrer page (the page which redirected you to the current page).

 

Note: One of the use cases of referrer parameter is when you are actually promoting your website home page but your visitor might visit some other page (like contact us) and fill out the form there itself. In that case, you will miss the query string value or default value will be added. So if you have used the referrer parameter then it will pick the value from the referrer page.

Example: In the same URL (http://santrathaur.com?discipline=Learning-marketing-automation) after visiting this link, the visitor jumped to contact us page (unfortunately I don't have separate contact us page in my website but they might go to blog page.. ) then query string parameter will go blank. In that case, the method will pick the value from the referrer page.

 

 

 

 

 

4. Cookie Value: Capturing the data from cookies parameter is little tricky and you might need to take the assistance from your developer friend if you are not the one.


Do you know as server can store the information about an individual user, the browser, too, can store the information. One way to do this is with the use of 
cookiesCookies are a great way to store data about a user on their machine, which you can fetch to your CRM on a particular event such as form submit, page load, etc. and Marketo form are very intelligent to grab the information from cookie.

Example: In one of our use cases, we were using a two-step form, where in the first step we asked an email address but in the second step we haven't. So we had to pass this email address in the second form so that we don't endup creating invalid lead in Marketo database. To achieve this, we used the cookie parameter:

Script on first page:

<script>
jQuery(document).ready(function($) {
$(document).on("click", ".mktoButton" , function() {
var form_email = document.getElementById('Email').value;
document.cookie = "email=" + form_email + ";domain=santrathaur.com;path=/"; });
});
</script>  

So this piece of code had stored the email address in your machine and next piece of code will help to Marketo parameter to grab the value from cookie parameter.

 

<script>
document.addEventListener('DOMContentLoaded', function() {
var email = getCookie("email");
if (email) { document.getElementById('Email').value = email; }
});
</script>

 


Hope you will enjoy reading this and I would love to hear your feedback/suggestions/improvements.

 

You can also read the same blog in my website santrathaur.com . Website page linkhere.

Cheers,

Sant Singh Rathaur

 

Connect me on LinkedInhttps://www.linkedin.com/in/sant-singh-rathaur/ 

Outcomes