Mobile Redirect in PHP

Most of Mobile Affiliate marketing campaigns lose steam due to traffic dieout, or rather fake mobile traffic which is actually a desktop traffic.

But if properly handled well it can be avoided to make sure only mobile traffic is let through to the landing page.

Also it helps to avoid those prying eyes that try to grab your landing page.

Here is a sample php code that allows one to redirect all mobile traffic to a specific landing page.


$iphone = strpos($_SERVER[HTTP_USER_AGENT],iPhone);
$android = strpos($_SERVER[HTTP_USER_AGENT],Android);
$palmpre = strpos($_SERVER[HTTP_USER_AGENT],webOS);
$berry = strpos($_SERVER[HTTP_USER_AGENT],BlackBerry);
$OperaMini = strpos($_SERVER[HTTP_USER_AGENT],Opera mini);
$OperaMobi = strpos($_SERVER[HTTP_USER_AGENT],Opera mobi);
$Skyfire = strpos($_SERVER[HTTP_USER_AGENT],Skyfire);
$Maemo = strpos($_SERVER[HTTP_USER_AGENT],Maemo);
$Windows = strpos($_SERVER[HTTP_USER_AGENT],Windows phone);
$palm = strpos($_SERVER[HTTP_USER_AGENT],Palm);
$iemobile = strpos($_SERVER[HTTP_USER_AGENT],Iemobile);
$ymbian = strpos($_SERVER[HTTP_USER_AGENT],Symbian);
$ymbianos = strpos($_SERVER[HTTP_USER_AGENT],Symbianos);
$ipad = strpos($_SERVER[HTTP_USER_AGENT],Ipad);
$android3 = strpos($_SERVER[HTTP_USER_AGENT],Android 3);
$sch = strpos($_SERVER[HTTP_USER_AGENT],Ach-i800);
$playbook = strpos($_SERVER[HTTP_USER_AGENT],Playbook);
$tablet = strpos($_SERVER[HTTP_USER_AGENT],Tablet);
$kindle = strpos($_SERVER[HTTP_USER_AGENT],Kindle);
$gtp1000 = strpos($_SERVER[HTTP_USER_AGENT],Gt-p1000);
$sgh = strpos($_SERVER[HTTP_USER_AGENT],Sgh-t849);
$shw = strpos($_SERVER[HTTP_USER_AGENT],Shw-m180s);
$a510 = strpos($_SERVER[HTTP_USER_AGENT],A510);
$a511 = strpos($_SERVER[HTTP_USER_AGENT],A511);
$a100 = strpos($_SERVER[HTTP_USER_AGENT],A100);
$dell = strpos($_SERVER[HTTP_USER_AGENT],Dell streak);
$silk = strpos($_SERVER[HTTP_USER_AGENT],Silk);
if ($iphone || $android || $palmpre || $ipod || $berry || $OperaMini || $OperaMobi || $Skyfire || $Maemo || $Windows || $palm || $iemobile || $ymbian || $ymbianos || $ipad || $android3 || $sch || $playbook || $tablet|| $kindle || $gtp1000 || $sgh || $a510 || $a511 || $a100 || $dell || $silk == true)
echo <script>window.location=’'</script>;

ReIgniting the Light of Mobile Guild

As and when the time changes, and we learn new things , we always try to improve the methods in which we earn, and try to put more time on those strategies and on those methods and on those channels to multiply the earning capacity.

With the time, I too have been running multiple ideas, few implemented and few lapsed in dark. Although I first started with affiliate marketing, I failed in multiple streams.

I First started with stock market trading, futures and options was my favourite, but the interests faded once I made enough losses, and moved to forex trading to cover those losses, and tragically it multiplied my losses.…

Mobile CPA Campaign Case Study Live with 6 Sexy Offers

Well as the title says, I planned to do a Open Campaign so that all the hungry sharks out there get their prey when they do search on google. By all means necessary anybody can take the offer, or similar offer that I’m promoting and run it on their own adnetwork.

Usually I am fedup with the people on all those forums,blogs proudly bragging about their earnings, looking down on newcomers, hiding their traffic sources, and those who make nasty comments, and I really hate those who just dont give out much details to the crowd, bluffing that it would increase the competiton.…

Facebook Campaign Split Testing

Last campaign I ran was a simple direct linking one with Tracking202 as my tracker.Its really different than earlier now on facebook advertising I observed through this campaign. I Observed that never ever the campaign ctr will grow over 0.1% in a facebook campaign and also we can never reduce the campaign average cpc less than 0.2, mainly due to the fact that facebook decides based on the number of people, number of impressions and an average number of clicks per thousand impressions and not on the keyword basis.
So this time I started a new campaign, thanks to Peerfly that there were more than one campaign offers were available on Blackberry 2.…

Facebook Campaigns : Figures speak

I don’t think there is any need for me to explain  how much I spent on these campaigns as these are the free credits I received from my hosting and some other site.

It was just a two day effort and about 4-6 hours of waiting for approval and without spending a dime on the ad, a small revenue shows off in my publisher account.

First : My Facebook Ad account that shows the exact spend and cost per click deemed by the ad space. There had been about 270k impressions and about 116 clicks that cost me around $44 of free credits.…

Campaign Update : CPC vs CPM

It was running fine until this morning. When I felt that the clicks coming are not enough, I made some changes to the
ads that I posted earlier.
The only changes that I remember that I made were, changing the targetting for the ad from english speaking to include all American users. Thus suddenly after an hour or so I got my ads disapproved.
Well although I had received only 3 clicks out of 31k impressions it was really fun to learn some importance of CPC over CPM type of traffic.

Till last night I was of the impression that CPM is better than CPC and is a safe bet.…

Three Stooges of Affiliate Marketing

Oooh Laa laa! Happy New Year to all and myself. I celebrated the new year with a grand function with our Indian Models, TV Stars and Bollywood celebrities last night with a bang at Mumbai.You may not be astonished to know how did I do that sitting at Bangalore though?.

Coming to the topic, everybody in the field of Affiliate Marketing, or rather say in the venture to make money, rather forgets to understand what type of person actually he is before stepping into that. That’s why all Pro’s say learn yourself before learning anything. Yes! There are hundreds of ways to do affiliate marketing and I chose to emphasize on three of them.When people want to make money on Internet the first thing that easily captures them is blog-rss feeds-adwords-money criteria.But for some people they never do that since they want to do more technically adventurous and profitable, and those people look for PPC .…

Magento Shareasale script released

I had been busy working on my other scripts for a long time and could not focus on my other workarounds lying around without much appreciation.I would be happy if somebody appreciates my work and effort to make something more useful and more affordable.To make my scripts usable is to release it to the users who are waiting to download and make a good use of it.Hence I’m releasing my best plugin Magento-Shareasale-Datafeed plugin script free for my members.
Make yourself free to join my network and get the free copy of ‘Magepress’ (That’s what I call it).
You will get the script,templates,and tutorial how to create the Advanced Profile (Just copy paste) to load the shareasale datafeed into magento ecommerce setup.…

Being a Wealthy Affiliate Now

Its a known fact that there is not a single guy in my friends circle who is so spendthrift as me. I normally spend only if its required and most of my friends earlier used to call me ‘Conjoos’. Sorry for the term, but its slang which means ‘ A Person who’s scared to spend money’. Jokes apart, I have been into Internet marketing partially since an year without making a single penny.And as I told in my earlier post, I happened to purchase the subscription to Wealthy Affiliate.

At the first impression, I didn’t like the content what I saw since most of them is what I know in average.…

Hosting woos

I have been using a hosting account at Hostmonster since half an year to setup one of my domains and had been working on that
to implement all my ideas,plugins and samples on that hosting.But to my dismay, the servers are exhibiting weird behaviour by going off and on several times during
the daytime. I cannot either work on the plugins right now due to that and also need to desperately move my hosting to a stable one. But since the monthend and yearend,I can’t do that since I’m already empty on my
pockets too.
This month had been not much of advantage in terms of my work and work relationships.I happened to spend about $100 to some membership sites which proved not worth for me as I
am either working on the same thing or I know most of it.I do not have any Idea asof now for next coming days in the week, and hence will stop working on the plugins too since the servers seem to be behaving abnormally.…