Landing page content based on URL parameter

Delinda_Tinkey1
Level 5

Landing page content based on URL parameter

Is it possible to dynamically change landing page content based on URL paramters (before a form is submitted). For example:

www.mypage.com?parameter=A, goes to www.mypage.com and displays image A

www.mypage.com?parameter=B, goes to www.mypage.com and displays image B


Tags (1)
2 REPLIES 2
Anonymous
Not applicable

Re: Landing page content based on URL parameter

Yes! You can do this, please see the below links for an example:

http://forms.smsholdings.com/test.html?color=green
http://forms.smsholdings.com/test.html?color=red
http://forms.smsholdings.com/test.html?color=blue

I
 had to build all of the javascript into the landing page template, but some of it might be able to be done on an individual landing page.

Let me know if you have questions!
Alok_Ramsisaria
Level 10

Re: Landing page content based on URL parameter

Would depend on the business use case.

a) Do you want to change something on the same landing page - and also track which variation of the landing page - then Jared's solution is the right one.

or

b) You want to a different landing page e.g. for multi-lingual sites. Here you may want to create multiple landing pages and use javascript to redirect to the correct one.