Automatic Landing Page Redirect

Highlighted
Anonymous
Not applicable

Automatic Landing Page Redirect

I am creating a webcast master template. I have created a registration landing page, as well as a view-on-demand page. Ideally, I would like the landing page URL to redirect to the view on demand page after the webcast is complete.


Is it possible to set up a smart campaign in my master template that will accomplish this and I can clone going forward?

Steve

6 REPLIES 6
Highlighted
Level 5

Re: Automatic Landing Page Redirect

Stephen,

Go to Admin --> Landing Pages --> Rules tab --> New Redirect Rule

Here you can put in the original webcast registration page URL, and then underneath put the new on-demand URL.

Highlighted
Level 5

Re: Automatic Landing Page Redirect

As far as a clone-able smart campaign that accomplishes this, I don't believe so. I am not aware of any flow steps that handle things done in Admin.

Highlighted
Anonymous
Not applicable

Re: Automatic Landing Page Redirect

Thanks Jeff,

Yes, that was what I was hoping for just so I don't have to go to the Admin section to create a redirect every time. Appreciate the response.


Steve

Highlighted

Re: Automatic Landing Page Redirect

You can do this, but it's going to involve some basic JavaScript and time function use.

First, you'll need to determine at what time and date you want the cutoff to happen where the page needs to redirect to the on-demand page. Once you've figured that out, you can use an online tool to convert that datetime stamp to a JavaScript Epoch (which is how JavaScript natively measures time.)

From there, you'd just need to make two program-level tokens for the time to switch and the redirect URL, then place this in your webinar template:

<script language=”javascript” type=”text/javascript”>

var d = new Date();

var n = d.getTime();

if (n > {{my.redirectTime}}) {

    window.location.replace("{{my.redirectURL}}");

}

</script>

(In before Sanford, who's much better at elegant JS than me, writes a better solution :V)


					
				
			
			
				
			
			
				
			
			
			
			
			
			
		
Highlighted
Level 10 - Community Moderator

Re: Automatic Landing Page Redirect

I did write somethin' over on Greg's idea.

Highlighted

Re: Automatic Landing Page Redirect

You all may also want to vote for this idea :

-Greg