A little Aweber hack to track down opt-ins from solo ads campaigns

by Rob Stafford

There’ll be time when you want to launch multiple solo ads campaigns. And you want to track every campaign individually. I found a useful trick to track the opt-in for each campaign.

Last month I did a solo ad campaign. Where I used this url http://listsmasherx.com/ab/?utm_source=email&utm_medium=email&utm_campaign=chris for my ad copy.

It’s a very generic url which I built using the Google’s url builder > https://support.google.com/analytics/answer/1033867?hl=en

In this url, Google track the parameters ‘utm_source’ ‘utm_medium’ & ‘utm_campaign’ to gather data about the incoming traffic. And here comes the little hack. I just use the ‘utm_campaign’ variable to grab the value for my aweber ad tracking field.

I put this php code on my squeeze page to grab the utm_campaign value from the url.

<?php
// You can modify the code below according to your need
// put this code before the form tag begins
if(isset($_GET['utm_campaign']))
{
$utm_campaign = $_GET['utm_campaign'];
$adtrack = preg_replace("/[^A-Za-z0-9_-]/", "", $utm_campaign ); // Only accept alphnumeric campaign name, _ or - character
} else {
$adtrack = ""; // If you there's no campaign tracking
} ?>

It replaces the value of my default ad tracking value for my aweber opt in form. Now whenever the visitor opted into the system, I’ll know from what campaign the lead comes from. And that’s very helpful when I sit down and trying to figure out which campaign gave me most lead.

Place this code before the aweber form code, which looks like something like this

<form role="form" action="http://www.aweber.com/scripts/addlead.pl" method="post">
<div style="display: none;"><input type="hidden" name="listname" value="" />
<input type="hidden" name="redirect" value="http://yourpage.com/someplace.html" /> <!-- change the destination url -->
<input type="hidden" name="meta_redirect_onlist" value="http://yourpage.com/thankyou.html" /> <!-- change the destination url -->
<input type="hidden" name="meta_adtracking" value="<?php if($adtrack) echo $adtrack; else echo 'defaultCampaign';?>" /> <!-- Change the defaultCampaign to your own tracking name -->
<input type="hidden" name="meta_message" value="1" />
<input type="hidden" name="meta_required" value="email" /></div>
<div><input type="text" name="name" placeholder="Enter your name" /></div>
<div><input type="email" name="email" value="Enter your email" /></div>
<button class="btn btn-default btn-block" type="submit">GET FREE ACCESS</button></form>

After placing this code you’ll need to change a line of code from aweber form.

Find out the

<input type="hidden" name="meta_adtracking" value="" />

And replace it with

<input type="hidden" name="meta_adtracking" value="<?php if($adtrack) echo $adtrack; else echo 'defaultCampaign';?>" />

You can change the ‘defaultCampaign’ to any default campaign name you want.

Now you are ready to get pretty much accurate data about your opt-in. You can compare the result with your other analytical data from Google analytics or any other tracking software. You can count the visitors data for ‘thank you’ page.

To show you an example I took the screen shot of Google Analytic for solo ad campaign named ‘chris’

Here you can see the unique visit for oto.html is 13. This is my first one time offer, which visitors see after they opt in for free squeeze page.

Google Analytic Campaign Tracking

Now here’s the screenshots of aweber list, where the members are from campaign ‘chris’.

chris solo ad

solo-ad-tracking

So these two results are close enough to convince me that ‘I’ve done the tracking almost right’ using the available resources I have.

Now I can compare the campaigns, ROI & clearly figure out the sources for best traffic to maximize my business.

This little hack saves me from hours to figure out how many actual opt-ins I receive from my solo ad campaigns.

The best part of this hack is; it can go along with the Google Analytic script.

You can download the whole code & a template by entering your email.






This post was written by

Rob Stafford is an experienced Internet Marketer. He is specialized in Solo Ads, Search Engine Optimization. Here he writes about solo ads tips, techniques. This is blog is maintained by Rob Stafford. He can be found on Google+, Facebook.

{ 1 comment… read it below or add one }

marke

Why don’t you just separate your aweber lists and/or landing pages for each different solo ad? This “hack” seems like a lot of work and personally I’d put more faith in who actually signed up (after all that’s the point, right?) than in the “analytics.”

Reply

Leave a Comment

Previous post:

Next post: