Skip to main content
October 14, 2015
New

Automatic Landing Page URL Switch

  • October 14, 2015
  • 4 replies
  • 9752 views

My idea is that Marketo could have a function that would automatically switch a landing page to a different one after a certain date/time. For example, if I am running a webinar and have a landing page that includes a form to sign up, I could go into Marketo and type in the date and time that I would like the old landing page with the form to switch to another landing page. This landing page would not have a form, and would include something like "The webinar has already ended. Please go here..."

Ideas? Suggestions?

4 replies

New Participant
February 5, 2020
No text available
Mark_Farnell
New Participant
October 10, 2017

It's great that there is a solution published here, but I'd still say Marketo should keep this on the radar.  I'd be far happier having the functionality built in.

Employee
October 14, 2015

Hi Hallie,

If you don't want to use JavaScript, you could always add a redirect rule for the page once you're ready to switch them:

Redirect a Landing Page - Marketo Docs - Product Docs

October 14, 2015

This is great- thank you Mel!

SanfordWhiteman
Level 10
October 14, 2015

Already simple to do. Have a program token with the date (you may already have this). Put a tiny JavaScript snippet that redirects if the date has expired.

October 14, 2015

Do you have the JavaScript snippet?

SanfordWhiteman
Level 10
October 15, 2015

<script>

if ( new Date().getTime() > new Date('{{My.WebinarExpires}}').getTime() ) {

  document.location = 'landing.example.com/webinar-signup-expired.html';

}

</script>

Text token using this format: