How to Redirect Mobile Traffic?

cryptopsy

Registered Member
Joined
Jan 25, 2013
Messages
98
Reaction score
37
I'm promoting some web offers and blanking the traffic source. I noticed that I'm also receiving a significant amount of mobile traffic and I want to redirect this traffic to a mobile offer.
The setup would be like this:
visitor -> check if user is on pc or mobile, if on pc then -> Double meta refresh -> offer 1
->if on mobile then -> Double meta refresh -> offer 2

Any idea how to do this?:confused:
 
Easy eith php. If you can't find, pm me, I have php script that you can modify a bit to get what you need.
 
Found this on the web, edit it to fit your needs:

Code:
Redirect Android Visitors:


To redirect visitors who access your website on android, add this
script inside the <head>. . . </head> HTML of your webpages.

Make sure to change the "www.domainname.com" to your website URL.





<script language="JavaScript" type="text/javascript">
<!--

if( navigator.userAgent.match(/Android/i) ||
    navigator.userAgent.match(/webOS/i) ||
    navigator.userAgent.match(/iPhone/i) ||
    navigator.userAgent.match(/iPod/i) ||
    ){
window.location = "http://www.domainname.com/page-name-here.html";
}
// -->
</script>
 
If you've created a mobile version of your website, you'll need to be sure that you redirect your mobile visitors to your mobile website.
 
mobile redirect script, few options (javascript standalone, php standalone, wp)

Code:
http://www.mediafire.com/download/2q6187xma3lh6ju/mobile_redirect_script.zip


javascript detection, parts of mobile user agents

Code:
http://www.mediafire.com/download/qwcxhp9jdfr5ud9/redirect_script_by_dave.zip
 
Do you have mobile version of your website to implement the code in it ?

If you have the mobile version just put the code on form load
 
Back
Top