SOLVED

Automation fill marketo form from URL parameters

Go to solution
Orij
Level 2

Automation fill marketo form from URL parameters

Hello comunity is there any way to auto fill my marketo form from URL parameters like first name, last name, email etc? 

Oleg Rijikov
1 ACCEPTED SOLUTION

Accepted Solutions
Orij
Level 2

Re: Automation fill marketo form from URL parameters

You are the best 🙂 thank you very much my friend 🙏 
Each client will receive his own link and a form will already be filled out for him, thats the idea...

Oleg Rijikov

View solution in original post

18 REPLIES 18
Darshil_Shah1
Level 10 - Community Advisor + Adobe Champion

Re: Automation fill marketo form from URL parameters

Yes, technically you can use the JS for this, but in general using PII in the URL parameter doesn't sound very solid to me (I stay a bit wary of it). What is your exact use case here?

 

Here's the script written by Sandy for accomplishing this in case you'd like to refer. 

Orij
Level 2

Re: Automation fill marketo form from URL parameters

You are the best 🙂 thank you very much my friend 🙏 
Each client will receive his own link and a form will already be filled out for him, thats the idea...

Oleg Rijikov
SanfordWhiteman
Level 10 - Community Moderator

Re: Automation fill marketo form from URL parameters

Are you not using a form on a Marketo LP, then?

Orij
Level 2

Re: Automation fill marketo form from URL parameters

@SanfordWhiteman I am using the marketo form on my landing page if i understood your question correctly

Oleg Rijikov
SanfordWhiteman
Level 10 - Community Moderator

Re: Automation fill marketo form from URL parameters


I am using the marketo form on my landing page if i understood your question correctly

So why not use the built-in Pre-Fill feature? Or are you constructing these links outside of Marketo emails?

Orij
Level 2

Re: Automation fill marketo form from URL parameters

I think for sure it's a better choise but im new here so i don't know all nuances 🙂 
Thank you @SanfordWhiteman 

Oleg Rijikov
SanfordWhiteman
Level 10 - Community Moderator

Re: Automation fill marketo form from URL parameters

Marketo tracked links can Pre-Fill fields on Marketo forms, as long as they're named forms (mktoForm elements) on Marketo LPs. (There's another method that works on non-Marketo pages, if you search past posts.)

 

So all you need to do is make sure the fields are enabled for Pre-Fill.

Orij
Level 2

Re: Automation fill marketo form from URL parameters

THank you @SanfordWhiteman 

Oleg Rijikov
Darshil_Shah1
Level 10 - Community Advisor + Adobe Champion

Re: Automation fill marketo form from URL parameters

@Orij, here is Sandy's blog on how to implement the Marketo form prefills on external web pages. You're better off implementing this and relying on the native form prefill for users landing on Marketo LPs from a tracked email link than storing PII in the QPs.