How to Create a Link Shortener for Your Facebook Ad Campaigns with RedTrack

How to Create a Link Shortener for Your Facebook Ad Campaigns with RedTrack

Share this post and enter to win 1 on 1 consulting worth $2000!

If you are running Facebook Ads and using a Tracker like RedTrack and need or want to include a link in the text of the ad to increase your sales/profits/conversions then you will love this guide.

The traditional or the default tracking link is super long, it contains in most cases a 3rd party URL that your customer’s wont recognize, and having a super long link in the ad text looks spammy and ugly.

So what can we do?   Simple, we can create a SHORT URL that includes our brand.

In my case, my brand is www.BannersLanders.com, and instead of using the default link redtrack gave me which looks like this => https://secure.superawesometracker.com/5be40dbd2c822c2389172ee85?sub1={{site_source_name}}&sub2={{placement}}&sub3={{ad.id}}&sub4={{adset.id}}&sub5={{campaign.id}}&sub6={{ad.name}}&sub7={{adset.name}}&sub8={{campaign.name}}&sub9=AD1&sub10=Angle2

As you can imagine, having that super long URL in the ad text/angle part is UGLY & SPAMMY and could actually HURT our conversions, not increase them which is our goal!

Instead of the ugly long link, I want short.  I actually would prefer www.bannerslanders.com/order/now

So this is what we do..

    1. Open our FTP Program or File Manager in Cpanel (or if you are an advanced computer nerd,  SSH into the server) and go into the public_html directory of your brands’ website.
    2. Next, create the folder order
    3. Next, go into the order folder, and create the folder now
    4. Create a new campaign in AdTrack just for the CTA link you will be using in your ads,  what I did is just duplicate my original campaign on my RedTrack and name it In-Text CTA Link shortener campaign, and grabbed the URL https://secure.superawesometracker.com/5be40dbd2c822c2389172ee85?sub1={{site_source_name}}&sub2={{placement}}&sub3={{ad.id}}&sub4={{adset.id}}&sub5={{campaign.id}}&sub6={{ad.name}}&sub7={{adset.name}}&sub8={{campaign.name}}&sub9=AD1&sub10=Angle2
    5. I fired up my trusty NOTEPAD++ (you can use any text editor btw)  and took this code and added my URL to it, cutting off everything after the ? in the redtrack’s long tracking URL as you can see below.

  1. Now all we gotta do is save the file in notepad as index.php, then upload it into our destination folder (in my case it’s the now sub-folder inside order, within the public_html on my server
  2. Next, we test to see if the stuff in the URL is grabbed, and forwarded to our tracker URLTake your shortened URL – ie: https://www.bannerslanders.com/order/now and append the ? and all stuff after it that’s part of the long tracker URL in RedTrack so the shortened URL should look like this -> https://www.bannerslanders.com/order/now/?sub1={{site_source_name}}&sub2={{placement}}&sub3={{ad.id}}&sub4={{adset.id}}&sub5={{campaign.id}}&sub6={{ad.name}}&sub7={{adset.name}}&sub8={{campaign.name}}&sub9=AD1&sub10=Angle2edit the end, so sub10 for me, to something that will make it obvious for testing purposes, i just put TEST-01A, and paste the link in the address bar on your browser.https://www.bannerslanders.com/order/now/?sub1={{site_source_name}}&sub2={{placement}}&sub3={{ad.id}}&sub4={{adset.id}}&sub5={{campaign.id}}&sub6={{ad.name}}&sub7={{adset.name}}&sub8={{campaign.name}}&sub9=AD1&sub10=TEST-01A

    After that, head over to RedTrack and Click on Campaign Stats > Subs drop down – Sub 10, and see if the Test-01A shows up, if it does, then its all good.

  3. Now it’s time to setup your Facebook Ad so it appends the tracking variables and all that dynamic brackety stuff, but so the only thing that shows inside your ad-text is the beautiful ‘short link’;  in my case www.bannerslanders.com/order/now
    How to Create a Link Shortener for Your Facebook Ad Campaigns with RedTrack

    Here’s our ad, as you can see it has a pretty link, not a super long tracking link in it.

    How to Create a Link Shortener for Your Facebook Ad Campaigns with RedTrack

    On the edit ad interface, for the website URL we’re using a link to another campaign in our tracker, people don’t see this, and we keep the in-text link, and the ad link separate so we know where the customer is coming from what part of the ad they are clicking.  As you can see, we removed the long string in our tracking link as well, and using the tracking template below to auto-add it.

    How to Create a Link Shortener for Your Facebook Ad Campaigns with RedTrack

    In the tracking URL parameters box, we’ve pasted the super long string. This will be automatically appended to both the tracking link for the ad, as well as the pretty ‘shortened link’ we added in ad-link-text.

In conclusion, we will run a $5 website clicks objective test to check and make sure the links are working and the dynamic variables are coming through.  And we’re good to go 🙂 

Share this post and enter to win 1 on 1 consulting worth $2000!

iAmAttila is a serial entrepeneur that started performance affiliate marketing in 2008 building and ranking sites. After the google humminbird update made SEO ranking way harder he switched to paid advertising in 2012. Ever since switching to paid ads, he has spent over 8 figures in ad spend promoting a variety of verticals and adapting to new changes and challenges as they come up. on iAmAttila.com, the blog he shares up to date information, tips and tricks that work and helps readers learn about new affiliate marketing opportunities. When he's not busy working (although he works 12-14 hours each day) he enjoys traveling with his family, playing with his dogs, BBQ, movies and learning new stuff.

Leave a Reply

Your email address will not be published. Required fields are marked *

17 − five =

This site uses Akismet to reduce spam. Learn how your comment data is processed.