Home > Other Systems (CPVLab, iMobiTrax, P202, Track Revenue, Click, Google Analytics, etc.) > The STM Mobile Tracker

How To Set Up A Campaign With The STM Mobile Tracker V3/V4 (41)


04-12-2013 01:59 PM #1 caurmen (Administrator)
How To Set Up A Campaign With The STM Mobile Tracker V3/V4

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




Video Guide

Password is "STMTuts".



UPDATE - One new feature was added after I created this vid! In #7, the video doesn't mention "Passing Device Info". Just leave it as "No" unless you want to call out carrier, brand, OS or model in your lander, in which case select "yes".

I'm thinking of doing more video guides - let me know what you thought of this one!


Text-And-Images Guide

Start by clicking "Setup" at the top right, then click "#1 Traffic Sources". From now you'll just go through each numbered pane in order.


#1 Traffic Sources



Add the name of your traffic source and your account name as shown above. Note that you don't need to use the actual account name you're using on the traffic source. This is just for your reference, so call it whatever you like - "FB Acct 3" will work, for example.


#2 Categories



Normally this is where you'd list the names of your affiliate networks - and in later screens, the options you enter here will be referred to as "affiliate network".

However, once again, these labels are for your reference. It's OK to list verticals or any other category provided you can keep them straight in your head. For example, if you used "Dating", "Games" and "Bizopp", that'd work.


#3 Campaigns

And this is where you set up your campaign!

There are two ways to do this: without rotation or with. Use the "Rotate URLs" radio button to toggle between them.

Use "Without Rotation" unless you have several offers or offer landers (NOT your own landers - the merchant's landers) that you want to rotate between.


Without Rotation

Choose your affiliate network or other category, then fill in a name for this campaign. I usually use COUNTRY-OFFERNAME for a name, but you can use whatever you like.

Get the URL for the offer from your affiliate network. Note that you need to have a subid included here! Different affiliate networks will have different ways of adding a subid for your URL - ask your affiliate manager if it's not obvious.

Prosper needs a specific token - [[subid]] - as its subid, which some affiliate network URL generators will mess up. To avoid that, I usually get the URL from my affiliate network with a subid named "s". Then I delete that "s" and replace it with STMTracker's subid by placing my cursor where the "s" was and clicking the "subid" button.

So, for example, if I set my affiliate network to give me a subid of "s", I'll end up with a link that looks like

Code:
http://www.affiliateredirect.com/affid=blah&subid=s
I delete the "s", then paste it into STMTracker, then put my cursor at the end of the link and click the "subid" button to get

Code:
http://www.affiliateredirect.com/affid=blah&subid=[[subid]]
Finally, remember to add in the payout!

You should end up with something like this:




With Rotation

Fill out the boxes for each offer you plan to rotate just as you would for a no-rotation offer.

"Weight" is a new category which determines how often each offer is rotated.

The simplest way to use "weight" is to set a weight of 1 for every offer you want to rotate, and a 0 for any empty boxes or offers you've decided to stop rotating.

Alternatively, you can set different frequencies by putting in numbers that add up to 100%. For example, if you have offers A, B, and C, and you want offer A to be shown three times as often, enter weights of A:60, B:20, C:20.

This can be useful when you have one offer that you know converts, but want to test others without losing too much ROI.

Here's an example of an evenly-rotating campaign:




#4 Landing Pages (LPs)



Note: if you're direct linking you can skip this step altogether.

You'll need to have the URL of the landing page you intend to use before filling this section out. Just select the category for the offer your LP will link to, then the offer itself. The LP name can be anything you like, and obviously, the landing page URL must be the URL of the landing page you intend to use.

These instructions are for a simple, one-offer landing page. If you want to use an Advanced Lander, follow this tutorial.


#5 Text ads

Skip this.


#6 Landing Page Code

If you're used to Prosper's landing page setup - don't worry, this is much simpler!

Select "Simple Landing Page", then select the landing page you want to set up (choose category, then offer, then landing page).

Copy the code that is generated, and paste it into the <head> section of your landing page HTML.

Then use

Code:
<a href="<?php echo $clickThruLink ?>">
anywhere you want to link out to your offer - buttons, other CTAs, images, etc.


#7 Get Links

Select your offer, choose "Direct Link" or landing page, and select your traffic source and account.

Set the CPC to your best guess for how much you'll be paying per click. It's NOT vital this is accurate, particularly if you're on a CPM traffic source - you'll need to track overall profit/loss elsewhere.

If you want to track any other variables, add them in the "tracking ID" sections. If you don't know what this means, just leave it blank.

[UPDATE] - if you want to call out device info in your lander, select "Passing Device Info" as YES. Otherwise, don't worry about it and leave it as "No".

You should end up with something like this:



Click "Generate Tracking Link", then take the link that's generated and paste it into your traffic source.


#8 Get Postback or Pixel

Track the performance of your offers with the postback or pixel here. Simply copy the code and paste it into the relevant section in your affiliate network's interface. Use whichever one your network supports - again, ask your affiliate manager for the best choice.


#9 Redirects & #10 Create Rotating Lander

Don't worry about these for now! We'll cover them in a later tutorial.

And that's it! If you have any questions, comments or are confused on anything, let me know below and I'll sort it out!


04-28-2013 06:54 PM #2 trappedinabrowser (Member)

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.


04-28-2013 07:32 PM #3 bbrock32 (Administrator)

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


05-08-2013 11:30 AM #4 andyvon (AMC Alumnus)

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?


05-08-2013 11:55 AM #5 caurmen (Administrator)

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.


05-29-2013 04:36 PM #6 wramirez617 (Member)

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


05-29-2013 06:37 PM #7 caurmen (Administrator)

@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?


05-30-2013 04:09 PM #8 wramirez617 (Member)

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.


05-30-2013 08:18 PM #9 caurmen (Administrator)

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!


05-31-2013 08:11 AM #10 wramirez617 (Member)

OMG! Mind= Blown. No idea that was there. This is going to save me a ton of time.


11-12-2013 02:29 PM #11 bizkiller (Member)

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?


11-13-2013 11:09 AM #12 caurmen (Administrator)

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!


12-03-2013 11:59 PM #13 philme (Member)

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


12-04-2013 12:26 PM #14 caurmen (Administrator)

@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.


12-04-2013 09:40 PM #15 philme (Member)

Thanks caurmen the tech support just installed it for me so now it works.


01-03-2014 02:21 PM #16 8020life (Member)

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!


01-03-2014 03:46 PM #17 caurmen (Administrator)

@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!


01-03-2014 04:26 PM #18 8020life (Member)

Quote Originally Posted by caurmen View Post
@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: Thanks for your help so far!

So am I suppose to replace the clickThruLink part with my affiliate link? Or that code stays as is? How does it know to go to my affiliate link if I don't replace it?

Also, the code I generate via STM Mobile tracker can be copied and pasted within the header as-is, correct?

Haha sorry for so many questions, I wanna make sure I have it down right so I can optimize properly! Thank you again caurmen, your tutorials and support is seriously outstanding on this forum


01-03-2014 09:40 PM #19 8020life (Member)

@caurmen

Nevermind!! Figured it out. It just clicked how this is working

Thanks nonetheless!


01-04-2014 07:53 PM #20 bbrock32 (Administrator)

Quote Originally Posted by 8020life View Post
So am I suppose to replace the clickThruLink part with my affiliate link? Or that code stays as is? How does it know to go to my affiliate link if I don't replace it?
Haha this was exactly my question couple years ago when starting out.

Glad you got it sorted out, ask away if you have further questions.


02-17-2014 11:32 PM #21 dnguyen (Member)

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.


02-18-2014 12:50 PM #22 caurmen (Administrator)

No worries, there are no stupid questions - and these certainly aren't!

Would that be the url I paste in for my banner when i set up my campaign in traffic junky?
Exactly so, yep. Grab the URL, and paste it in for your banner.

Also i get the same error as 8020life
Could you describe the error again? I'm not sure which specific issue you're referring to here.


02-18-2014 08:12 PM #23 dnguyen (Member)

Quote Originally Posted by caurmen View Post
No worries, there are no stupid questions - and these certainly aren't!



Exactly so, yep. Grab the URL, and paste it in for your banner.



Could you describe the error again? I'm not sure which specific issue you're referring to here.
The error was just because i had my geoiporg.dat file in the wrong place according to support from beyondhosting. It looks like I have everything working as I have my clicks getting tracked but I don't think my conversion is getting tracked. When I go to my website and do the signup my click gets tracked but no conversion. However the conversion does get shown on my affiliate network. Any guess as to why?


02-19-2014 04:39 PM #24 caurmen (Administrator)

@dnguyen - have you entered your Postback URL into your affiliate network? See http://stmforum.com/forum/showthread...cker-or-CPVLab


02-22-2014 12:15 PM #25 freeflowexp (Member)

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?


02-22-2014 03:05 PM #26 bbrock32 (Administrator)

^ 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?


02-22-2014 08:03 PM #27 freeflowexp (Member)

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!


03-13-2014 03:45 AM #28 caurmen (Administrator)

Sure, message me and I'll take at look.


03-21-2014 11:24 PM #29 jeffs8914 (Member)

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..


03-22-2014 02:53 AM #30 zeno (Administrator)

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.


07-01-2014 02:47 AM #31 zeno (Administrator)

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.


07-01-2014 02:51 AM #32 teoooo (Member)

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

Quote Originally Posted by zeno View Post
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.


07-08-2014 04:16 PM #33 rocky100 (Member)

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?


07-08-2014 05:26 PM #34 bbrock32 (Administrator)

Why would you need the carrier for every single subid?

You can get that info directly from the aff network if needed ( Cake / HO ).


07-08-2014 06:10 PM #35 rocky100 (Member)

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.


07-08-2014 06:12 PM #36 bbrock32 (Administrator)

Nah on cake go to detailed reports or download as csv and you will see OS / Carrier / Model etc


07-09-2014 05:48 PM #37 rocky100 (Member)

Hey bbrck32,
On Cake it's possible for Advertizes. As an affiliate I can't pull this data. Only by request from AM.


07-09-2014 09:22 PM #38 curt_s (Member)

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!


07-10-2014 11:07 AM #39 caurmen (Administrator)

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.


07-14-2014 03:26 PM #40 rocky100 (Member)

Quote Originally Posted by rocky100 View Post
Hey,
Is it a way to track the carrier / device for specific subid with STM Mobile Tracker's Visitors report.
When I run the report it's not shows the carrier / device for every tracked subid, though 'Passing Device Info' in #7 is set to Yes.
Sorry, still have the same question. Any ideas?


04-09-2015 06:52 PM #41 rock (Member)

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:

Code:
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>
Any ideas? I can't figure out why it won't work.


Home > Other Systems (CPVLab, iMobiTrax, P202, Track Revenue, Click, Google Analytics, etc.) > The STM Mobile Tracker