You've installed the STM Mobile Tracker V3/4 - but how do you set up a campaign?
Get The STM Mobile Tracker V4 here.
This guide comes in two flavours: Video or Plain Old Text (and images). Choose whichever one suits you better!
Other STM Mobile Tracker Tutorials


http://www.affiliateredirect.com/affid=blah&subid=s
http://www.affiliateredirect.com/affid=blah&subid=[[subid]]



<a href="<?php echo $clickThruLink ?>">

When you generate the tracking link, is there anyway to change the max cpc once generated? I'm increasing the bid on a traffic source and I'd like all new clicks to reflect that instead of editing the ad.
Yep there is a way actually , it's a small mod that was supposed to come on the next update but I'll share it here for ya 
Is the Javascript LP code that is generated when using the original P202 not needed with this mod? Just curious, how does it record visitors to a LP that do not click the offer link then?
Nope, the Javascript is not needed at all. Neat, isn't it? (And more reliable, too.)
When you generate a clickthrough link for your LP, it actually sends visitors to a fast PHP redirect page, which records them, then passes them to the landing page with their Subid in the GET parameters. Hence, you don't lose clicks from people who closed the LP before the Javascript loaded, from people with Javascript turned off, or from cookie problems.
I noticed that there are 8 c variables and "has offers" allows up to 5.
It might be asking for alot but I would really appreciate a tutorial on how to get those other 3 variables.
By the way thanks for another awesome tutorial Caurmen
@wramirez - the C variables in STM Mobile Tracker and those on your affiliate network (Has Offers is on your affiliate network, I presume?) are not related. Just fill in the variables (dynamic or static) you want to track in #7, and Prosper will track those for you.
So, for example, on Plenty Of Fish you'd set one of the C variables to {age:}. Your affiliate network and Has Offers will not track the age variables from POF, but you'll be able to see how they break down against your conversions in the STM Tracker.
Does that help? Or have I misunderstood your question?
I have never seen C variables within the analyze section of prosper but only Keywords for optimization.
I have always needed to go into my network account and get the C variables manually with an excel sheet. Are you saying that prosper stores the C variables and I didn´t know the whole time?
Or maybe I was unclear.
---------------------
I know that has offers can take 5 variables.
so C variables 1-5 are going to be passed on to the network that uses "has offers" and then I can go into my network and check them manually and optimize them from there. I can also use keywords and put them at the end of the url and that can be analyzed within prosper
But what happens to variables C 6-8 and how can I view them? They would have to be store in there inorder for me to see them.
Aha, right - yep, you can find the C variables under "Group Overview". Confusingly, it's NOT available under "Analyze", only under "overview".

Select the C variable you want to view, hit "Set Preferences" and you'll see it all laid out for you!
OMG! Mind= Blown. No idea that was there. This is going to save me a ton of time.
rhanks for thr tutorial! For the redirect feature. How would you filter out deaktop traffic from going to your offer? Like would I write... "equels desktop" bla bla bla?
I'd filter based on OS: see the tutorial here - http://stmforum.com/forum/showthread...e-Tracker-v3-4
Let me know if you need more info or if that answers your question!
i can't use my link that gets generated. i get this error if i enter the link into my browser:
Warning: geoip_org_by_name() [function.geoip-org-by-name]: Required database not available at /var/lib/GeoIP/GeoIPOrg.dat. in /home/philkim/public_html/pixieuro.com/tracking202/includes/devices_detect_inc.php on line 5
Warning: geoip_country_name_by_name() [function.geoip-country-name-by-name]: Required database not available at /var/lib/GeoIP/GeoIP.dat. in /home/philkim/public_html/pixieuro.com/tracking202/includes/devices_detect_inc.php on line 6
Warning: Cannot modify header information - headers already sent by (output started at /home/philkim/public_html/pixieuro.com/tracking202/includes/devices_detect_inc.php:5) in /home/philkim/public_html/pixieuro.com/202-config/functions-tracking202.php on line 4387
Warning: Cannot modify header information - headers already sent by (output started at /home/philkim/public_html/pixieuro.com/tracking202/includes/devices_detect_inc.php:5) in /home/philkim/public_html/pixieuro.com/202-config/functions-tracking202.php on line 4388
Warning: Cannot modify header information - headers already sent by (output started at /home/philkim/public_html/pixieuro.com/tracking202/includes/devices_detect_inc.php:5) in /home/philkim/public_html/pixieuro.com/202-config/functions-tracking202.php on line 4392
Warning: Cannot modify header information - headers already sent by (output started at /home/philkim/public_html/pixieuro.com/tracking202/includes/devices_detect_inc.php:5) in /home/philkim/public_html/pixieuro.com/tracking202/redirect/tracker.php on line 452
@philme - it looks like your server's expecting the GeoIPOrg.dat file from MaxMind to be in your /var/lib/GeoIP directory: probably your server already has GeoIP set up in some fashion.
Just copy that file from your /3rd-parties directory to /var/lib/GeoIP on your server, and that should solve the problem.
Thanks caurmen the tech support just installed it for me so now it works.
Hey caurmen,
Great tutorial, definitely helpful.
I have a question about step 6.
It says to put this code anywhere you link out: <a href="<?php echo $clickThruLink ?>">
Can you give me an example as to how it would look properly in my current coding?
Current link out offer is as follows:
<a class="btn btn-agree btn-yes" onclick="location.href = 'http://affiliatesite.com&s1=campaign1&s2=[[subid]]';">CTA action here</a>
Would the updated code be:
<a href="<?php echo $clickThruLink ?>" class="btn btn-agree btn-yes" onclick="location.href = 'http://affiliatesite.com&s1=campaign1&s2=[[subid]]';">CTA action here</a>
I'm assuming the affiliate link still has to be in there, correct? Sorry if big time noob question, first campaign set up on the tracker!
Thanks in advance!
@8020life: Why are you using the onclick function there? Unless you're doing something specific that needs the onclick redirect,
<a href="<?php echo $clickThruLink ?>" class="btn btn-agree btn-yes">CTA action here</a>
should do the job!
@caurmen
Nevermind!! Figured it out. It just clicked how this is working
Thanks nonetheless!
Hey I have a question for step 7. After you generate the link, what do you mean paste it into your traffic source? Would that be the url I paste in for my banner when i set up my campaign in traffic junky? Also i get the same error as 8020life when i enter the link into my browser even after i put the geoiporg.dat file into 3rd parties/geoip. Sorry for the newb question this is my first ever campaign im trying to set up.
No worries, there are no stupid questions - and these certainly aren't!
@dnguyen - have you entered your Postback URL into your affiliate network? See http://stmforum.com/forum/showthread...cker-or-CPVLab
Thanks for the tutorial Caurmen. It's really helpful.
Just having two issues.
Firstly at the very top of my mobile lander the following text suddenly appears which i believe is from the code that I've pasted into the head:
">Join!*/?>
Secondly i get this error when clicking on my button which i've replaced the href link with:
"Not Found
The requested URL /< was not found on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request."
It might also be worthwhile noting that clicking the button brings me the following link:
www.landerurl.com/<?php%20echo%20$clickThruLink%20?>/
Do you happen to know what the problem might be?
^ is the page you are putting this code a .php file ( ending in .php ) ?
Also can you paste the full code you put on the Join button?
Hello bbrock,
The code appears as follows <a id="submit_button" href="<?php echo $clickThruLink ?>">Join Now</a>
Have switched it to a php file and it's working perfectly.
Thanks!
Sure, message me and I'll take at look.
Does anyone know the token you're supposed to append to STM tracker using TrafficJunky? What do you put after the /tracking202/redirect/tracker.php?t202id=6152&t202kw= part?
I'm also not seeing the carrier, brand, os and models when looking at my stats.. When pulling my links I chose YES, get parameters button but nothing's showing up in prosper.
Right now I'm putting AD1+Country as my token at end of my prosper link but no idea if I'm supposed to put a specific token from TJ or Prosper at the end.
Tracking might end up being the death of me..
Just put t202id=6152&t202kw=whatever_i_want&c1=token1&c2=to ken2 where you replace token1 with whatever dynamic stuff TrafficJunky provides.... e.g. %%placement%% or {{site}} or whatever.
The carrier/brand etc are tracked by p202 automatically - you don't use the GET parameters part unless you are specifically passing them from the traffic source, e.g. t202id=6152&t202kw=whatever&c1=something&carirer={ {carrier}}&OS={{OS}}&brand={{brand}}
You can see the carrier/ISP/etc. tracked by p202 in overview > group overview > select from dropdown list.
This is all set in your campaign URL - i.e. the one used in your ads.
With the way the STM-modded p202 works, users must enter your landing page through your prosper202 URL.
If you send them to the lander URL directly, they are not tracked. Most tracking systems work like this - you send a user to a specific tracking system campaign URL. The tracking system then redirects them to a specific lander and logs data like t202kw, c1, etc. The user then clicks on a CTA link in the lander that sends them back to the tracking system, where they are logged again (a clickthrough!) and sent on to the offer.
So, your advert URL should be e.g.
hxxp://mydomain.com/tracking202/redirect/tracker.php?t202id=1234&t202kw=keyword&c1=somethin g&c2=somethingelse
Values like 'keyword' and 'something' can be replaced with traffic source tokens, e.g. '{keyword}' or '{{{placement}}}' or '%%pubid%%'.
To test your lander and tracking system setup, use the link generated in the "Get Links" part of tracking202 and fill out the URL with query string data for t202kw, c1, c2, etc. to check these values get recorded correctly.
Hey man,
Alright so it was already working lol. I just went direct to my lp wondering why it wasn't tracking.
Thanks for all the help =)
Now on to my first mobile campaign =D
Hey,
Is it a way to track the carrier for specific subid with STM Mobile Tracker's Visitors report.
When I run the report it's not shows the carrier for every tracked subid, though 'Passing Device Info' in #7 is set to Yes.
Or the passed device info available only for Analyze tab?
Why would you need the carrier for every single subid?
You can get that info directly from the aff network if needed ( Cake / HO ).
How? You mean I need to pass this parameters form traffic network to subid? But not all traffic sources have these parameters (ex. carrier) available.
In cake report I see only subid's and IP.
Nah on cake go to detailed reports or download as csv and you will see OS / Carrier / Model etc
Hey bbrck32,
On Cake it's possible for Advertizes. As an affiliate I can't pull this data. Only by request from AM.
Hey guys -
I'm setting up a mobile campaign based on the Main Course guide, and it says to create 8 campaigns in the tracking software. I've just figured out how to basically set up a campaign, but here's a quick question...
What php code do I put in my landing page?
I'm using the STM Tracker, and under #6 Get LP Code, you can generate a new code for each campaign.
Now, I've got one lander per angle (2 angles), so each campaign in an angle will be going to the same landing page. It was easy enough on a test run throwing in a single bit of code. Everything seemed to work OK, but having 4 campaigns means 4 unique codes, so which one should be added to the LP?
Thanks!
EDIT: I ended up duplicating my landers for each campaign. Still wonder if there's a different way to do this, but good for now!
You'll need to duplicate your landers, I'm afraid.
The particular tracking setup the STM tracker uses means that's the best way to do things.
For some reason I can't get the landing page code to work.
I have my tracker and my landing page on separate sub-domains so I'm not sure if that's the problem.
I set up the campaign / Landing Page Link and Enter My landing page through the browser:
http://trackingsub.mydomain.com/tracking202/redirect/tracker.php?t202id=3156&c1=1&c2=2&c3=3&c4=4&c5=5&t202kw= When I get to the landing page, the link is not inserted into the page. I'd be on http://landingsub.mydomain.com/page.php?&subid=28&rotateid=0&t202id=3156 All I get is an <a href="">Join!</a> This is my page code: <?php // ------------------------------------------------------------------- // // Tracking202 PHP Redirection, created on Thu Apr, 2015 // // This PHP code is to be used for the following landing page. // http://free-android-mobile-security-check.r3direct.me/scan-test.php // // ------------------------------------------------------------------- global $clickThruLink; $clickThruLink = 'http://trackingsub.mydomain.com/tracking202/redirect/lp.php?lpip=115&'.$_SERVER['QUERY_STRING']; ?> <html> <head> </head> <body> <a href="<?php echo $clickThruLink; ?>">Join!</a> </body> </html>