Home > > Coreg

The Simple Method To Tracking Coreg With CPVLab! (13)


11-15-2011 02:57 PM #1 jroes57 (Member)
The Simple Method To Tracking Coreg With CPVLab!

This method will give you individual subids so you can better optimize your targets. It's fairly easy to set up!

Code:
<?
session_start();
$first_name = @$_GET["first_name"];
$last_name = @$_GET["last_name"];
$mobile_number1 = @$_GET["leadCellPhone1"];
$mobile_number2 = @$_GET["leadCellPhone2"];
$mobile_number3 = @$_GET["leadCellPhone3"];
$phone=$mobile_number1.$mobile_number2.$mobile_number3;
$sid= @$_GET['sid'];
$gtkey="";
$exit="";
$exit=urlencode($exit);
$url="http://gtoffers.com/coreg/entry.php?p=$gtkey&limit=6&framed=1&fname=$first_name&lname=$last_name&phone=$phone&sid=$sid&redirect=$exit";
?>
This is only set up for GT since that's all I use. Now with the variables make sure you change the ones inside GET to match yours and change the forms to get also instead of post.

Onto the 2nd part when creating the campaign if your doing it as a Landing page sequence after the first level you will want to add on ?sid= to the end of your urls for any steps past level 1 so like this:

Step 1:
http://www.domain.com/index.php
Step 2:
http://www.domain.com/info.php?sid=
Offer:
http://www.domian.com/results.php?sid=

After that is done the individual subid will be adding right after ?sid= and will not mess up any of the links.

Now you will have a whole bunch of random subids that you would like to have the individual revenue to input into CPVLab. In order to do this you should select placement and subid and then export to CSV. Once it gets imported into excel you then go to the column j2 and put in this forumla "=CONCATENATE(B2,"|",F2)" without the quotation marks. Then hit enter and select the j2 box so theres a black box around it and go to the corner of the box and drag it down to the very last subid and they will all be in this format:
subid|revenue

Then you can update that in CPVlab and be good to go

Hope this helps out some people. This isn't all of my own code it's bits and pieces that a lot of people here have helped me create or made for me. Just thought it would help some people out there


11-15-2011 03:48 PM #2 polarbacon (Moderator)

you can just give GT your postback and it will now postback $ amount with the subids ....no need to do the csv stuff anymore


11-15-2011 03:49 PM #3 jroes57 (Member)

Is that with the new cpvlab update?


11-15-2011 03:50 PM #4 polarbacon (Moderator)

Quote Originally Posted by jroes57 View Post
Is that with the new cpvlab update?
yes sir 2.13


11-15-2011 03:51 PM #5 polarbacon (Moderator)

also really not sure why your popping the path that way.....just put the GT link in the option 1 on a sequence camp..... and end the link with sid=


11-15-2011 03:53 PM #6 jroes57 (Member)

Well thats cause I have it set up in an iframe on that page.


11-15-2011 03:54 PM #7 polarbacon (Moderator)

level 1 = the pop
level 2 = the form page
level 3 = iframpage with a base2.php link in the iframe
option 1= the gt offer path with the exit url urlencoded in it and any other variables you want to preset......just end the link with sid=
then cpvlab will place the sub id in the right place


easy peasy


11-15-2011 05:42 PM #8 jroes57 (Member)

Polar,

How do you set up the postback url with GT? do you just ask justin to add it? Do we have to pass back any variable?


11-15-2011 11:39 PM #9 danny27 (AMC Alumnus)

I asked Justin he doesn't exactly know how cpvlab's postback works. I sent him the pixel img line of code - not sure if that's it. I'll find out soon. Didn't see "postback" anything in cpvlab 2.13.

update:

Here's from cpvlab 2.13 faq:

Your CPV Lab Tracking Pixel can also be used be used as a Postback URL.

When entering your postback url at the affiliate network or merchant offer...enter only the URL up the the .php

Such as http://yourdomain.com/track/adclick.php

You can test your postback url / tracking pixel by entering this url in your browser after testing the campaign url. It's working if you get a blank page when loading the postback/pixel url.

Tags: postback, url, pixel, post back, tracking pixel


11-16-2011 02:24 AM #10 polarbacon (Moderator)

Quote Originally Posted by jroes57 View Post
Polar,

How do you set up the postback url with GT? do you just ask justin to add it? Do we have to pass back any variable?
yes you need to pass the subid back.....I don't know the variable off the top of my head but its something simple like id=

your postback is the url inside your pixel

to which you just pass the subid and the value amount to that post back then get it to justin and your all set....


11-16-2011 02:48 AM #11 jroes57 (Member)

Is there a variable for the revenue?


11-30-2011 09:53 PM #12 lonelyplanet (Member)

Has anyone else had bad numbers from GT's pixel tracking with cpvlab?

My cpvlab stats are showing 30% higher $ for the day than GT's stats, and they're both on the same time zone (Eastern US). I've already checked that time zones are set up correctly.

I've heard of this happening with other networks' pixel tracking, but Justin says he's never seen this with GT's pixel before.


12-12-2011 02:45 AM #13 optimex (Member)

haha james is cute


Home > > Coreg