Is anyone experiencing a lag in using javascript redirects on landing pages?

Anonymous
Not applicable

Is anyone experiencing a lag in using javascript redirects on landing pages?

Instead of redirecting to the new page, the entire page loads up and then the user is redirected to the new LP.

Any thoughts?

Tags (1)
2 REPLIES 2
Anonymous
Not applicable

Re: Is anyone experiencing a lag in using javascript redirects on landing pages?

Yeah, javascript inside the body tags is the last thing to fire on a landing page.  You can redirect with an html meta-tag in the head of the page, that might actually fly before the rest of the page loads, something like:
<meta http-equiv="REFRESH" content="0;url=http://www.the-domain-you-want-to-redirect-to.com">
The 0 before the url tells it how many seconds to wait before redirecting.
Anonymous
Not applicable

Re: Is anyone experiencing a lag in using javascript redirects on landing pages?

Hi Blackketter

I am not trying to redirect the page completely, I am doing a selective redirect in case the LP is accessed from a mobile device. Hence I need the webpage to coexist and not do a complete redirect.

Any other suggestions?

Thx
Belmond