Setting Up My Own Personal Conversion Tracking

zmxn73

Asshat Noob
Oct 31, 2008
285
2
0
Sydney, Australia
Hey guys,

So I need to set up my own personal conversion tracking. It's for a website that one of my family member's owns and I am doing some facebook advertising to generate leads for this brick and mortar business. Facebook is yet to introduce their conversion tracking system (which apparently might happen soon), so in the meantime I need to do it myself.

Of course I wish to track which ads are the best converting ads for these leads.

Pretty much the process is as follows:
1. The visitor is sent to the website from either one of a multiple of split tested ads.

2. They are directed to the landing page i.e. "websitename.com.au" and have to go through a lead funnel process of going to a booking's page i.e. "websitename.com.au/bookings.php" and fill out a booking form, upon which we have a lead.

3. Once they click submit to fill out the lead they are directed to a thankyou.php page.

Pretty much I'd like to (unless there is an easier option) add some sort of subid to the end of the initial landing page url i.e. "websitename.com.au/?sub=ad1" that will be able to be tracked throughout the lead generation process until they reach the final "conversion stage" being the thankyou.php page.

So naturally with conversion tracking I'd use tracking202, but this being my family member's own website and not the traditional merchant's website, I don't have a clue how I can set this up (either using tracking202 or not using it - whatever methods easiest).

I'd really appreciate it, if anyone would be able to tell me how to do this.

Thanks in advance.
 


use tracking out of the box and just fire a pixel on the thank you page?

edit:
you need something to pass the subid along, session variables if its php?
 
using tracking 202 just do everything the same but for the pixels put them on the thank you page. You shall be able to spilt test etc as well.
 
urghs... article series coming up... just have to finish it

::emp::
 
202 is probably overkill, like Taraqil said just use php sessions. Feeling nice this morning...

Put this at the very beginning of your initial landing page.
Code:
<?
session_start();
$_SESSION['sub'] = $_GET['sub'];
?>

Then put this at the very beginning of your bookings.php page.
Code:
<?
session_start();
$sub = $_SESSION['sub'];
?>

Then use a hidden form field to process your sub id with your form info. Just put this code in between your <form> tags on your bookings page.
Code:
<input type="hidden" name="sub" value="<? echo "$sub"; ?>" />

Edit: Throw this in somewhere on your thank you page.
Code:
<? session_destroy(); ?>
 
set a cookie on either track.com/redir or include track.com/pixel as an <img> on your landing page. On your conversion page include track.com/sale and read the cookie.

Just make sure to send proper privacy headers or it will not be accepted by some/most browsers.
 
I have a somewhat simple script that my developer made to do this a while back - This part of the script is a bit rough, and doesn't have anything sophisticated in terms of reporting (and I'm not releasing my full script), but I can see if I can eventually release that code.
 
why wouldn't you simply use google analytics and the google URL builder?

you can easily set up google analytics (Google Analytics | Official Website) with conversion tracking. you can then not only monitory your facebook ads, but all paid and seo traffic and any other type of advertising you want to do (ppc, display, etc.).

you can then use google's simply URL builder tool (Tool: URL Builder - Analytics Help) to identify your ad anyway you want. Your destination URL would look something like;
http: //www.yoursite.com/index.php?utm_source=facebook&utm_medium=cpc&utm_term=somekeyword&utm_content=adnumber&utm_campaign=campaign1

Simply create a new destination URL for each ad and you've got very good tracking that you can sort however you want, generate easy reports, and get insight to all your traffic, not just facebook ads.
 
Some very good ideas, I'll look into. Thanks guys for all the help (Spades, gopher, cv2010) and anyone else I missed out.

Thanks guys, I'll see how I go. :)
 
As cv2010 mentioned, try Google Analytics. Might be the easiest thing to set up in your case.