Skip to main content
Oct 14, 2015 8:38 PM UTC
New

Automatic Landing Page URL Switch

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?

16 replies

SanfordWhiteman
User Group Leader
User Group Leader
Oct 14, 2015 8:46 PM UTC

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.

Translate
Oct 14, 2015 8:51 PM UTC

Do you have the JavaScript snippet?

Translate
SanfordWhiteman
User Group Leader
User Group Leader
Oct 15, 2015 4:55 AM UTC

<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:

Translate
Adobe Employee
Oct 14, 2015 8:53 PM UTC

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

Translate
Oct 14, 2015 8:54 PM UTC

This is great- thank you Mel!

Translate
Mark_Farnell
Level 5
Oct 10, 2017 3:39 PM UTC

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.

Translate
Feb 5, 2020 1:46 PM UTC
No text available
Translate