Is anyone experiencing a lag in using javascript redirects on landing pages? | Community
Skip to main content
February 20, 2013
Question

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

  • February 20, 2013
  • 2 replies
  • 744 views
Instead of redirecting to the new page, the entire page loads up and then the user is redirected to the new LP.

Any thoughts?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

2 replies

February 20, 2013
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.
February 21, 2013
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