How to Setup a SSL (https) for Voluum Tracking Links in CPanel

How to Setup SSL (https) for Voluum Tracking Links in Cpanel

In my earlier articles, I have showed you how to setup your voluum campaign and how to use custom domain for voluum tracking links. Now, I am going to show you how to install SSL for your voluum custom domain, because many affiliate networks don’t usually accept non-SSL or non-https postback URL. They only allow you to use secure postback URL. For this, you need to have a SSL certificate installed in your webserver for your domain, and just you can’t just use https without buying and installing the SSL certificate from trusted providers. Today, I am going to show you how to do that.

What is SSL?

SSL stands for Secure Sockets Layer, which enables to establish a secure encrypted link between the webserver and the user accessing the site. Usually the link is between the webserver and the web browser like (Google Chrome, Mozilla Firefox etc.). To setup a SSL for your domain, you need to get a SSL certificate from Certificate authorities like Comodo, Symantic, Thawte etc. You can also use self-signed certificates, but use of self-signed certificates will display a warning message to your users when they access your https site. In order to gain trust from your users, it is advised to use the certificate from trusted certificate authority who will provide a verified SSL certificate.

What are SSL Certificates?

SSL certificates are nothing but digital files which contains encrypted data of the organization or your company details bind with a cryptographic key. When a SSL certificate was installed on a webserver for a domain, Users can establish an encrypted connection over https protocol. This certificate will helps in activating a padlock between the webserver and the user’s browser. Usually, SSL’s are used when doing secure transactions like credit card payments or other bank transactions.


So, when you browse websites which are not https, the data you send out is unencrypted and it is possible to attackers to sniff your traffic and get your submitted data. That’s why credit card transactions always go through https protocol only. This way, your submitted data will be encrypted and also the data will get a padlock which only can be viewed if you have the corresponding public or private key. So, without the key and also with the encryption of data, no one can do anything with your data. For people who use non-https url for submitting their data, their data moves from his computer to the remote webserver without any encryption. And the attackers can easily sniff your traffic and can get your data.

SSL certificates are created by using RSA private key and public key and the data encrypted by any of the key can be accessed by the other. Usually, when creating an SSL certificate, you need to generate a private key and CSR (Certificate Signing Request) and submit them to certifying authority who will then issue SSL certificate. Your company’s identity can be verified with its corresponding public key ensuring that the data only could have come from the server.

Self-signed SSL certificates:

You can create your own SSL certificates which are called as self-signed certificates. Anyone can create their own SSL certificates with openssl using their Cpanel or Linux Shell. But it will not prove you that the connection established is an authenticated connection to the user from your webserver, means it will display a warning message to the user like as shown in the below.

Warning message in Internet Explorer

Warning message in Mozilla Firefox

Warning message in Google Chrome

You won’t get this error message if you install a certificate which was purchased from a certificate issuing authority.

You will get this error message because, anyone can create self-signed SSL, but it was not verified by trusted certificate authority. So, even the hackers can fake it by creating their own SSL and try to resemble your company. So, getting a certificate from the certified authority will prove you to the user that your company is legit and he is dealing directly with your website in encrypted mode. Though, self-signed certificates can establish an encrypted connection, but it won’t prove that, the customer is dealing directly with your organization.

Anyways, heading back to the actual topic, setting up SSL:

It involves the following steps

  1. Generate a Private key
  2. Generate a CSR (Certificate Signing Request)
  3. Buy an SSL certificate from certified authorities like Comodo, Thawte etc.
  4. Send them your CSR and they will send you the certified Certificate file.
  5. Install the certificate along with the private key in your Cpanel.

Step 1: How to Generate a Private Key

You can generate your private key, by logging into your Cpanel. After you have logged into your Cpanel, Go to Security tab, in that you can find SSL/TLS Manager.

Click on SSL/TLS Manager to generate your private key.

Now, click on Generate under Private Keys (KEY)

Now, click on Generate to generate your private key.

Finally, this is how your Private Key will look like

Step 2: How to Generate CSR (Certificate Signing Request)

In order to Generate CSR, click on Generate under Certificate Signing Request (CSR) in your SSL/TLS Manager.

After, that, it will ask you to enter details about your company. Enter those details and click on Generate to generate your CSR.

Do not enter passphrase when entering your details for CSR. Otherwise it will prompt for password whenever you restart your server.

Click on Generate after entering your details, it will generate your CSR. See below for an example

Step 3: Buying SSL from Certificate Authority

Before you buy SSL certificate, you must know the types of certificates available.

  1. Domain validated SSL certificates
  2. Organization Validated SSL Certificates
  3. Extended Validated SSL Certificates
  4. Single Domain Name SSL Certificates
  5. Wild Card SSL Certificates
  6. Multiple Domain Name SSL Certificates
  1. Domain Validated SSL Certificates: Buying Domain validated SSL certificates is pretty use, you just need to visit the certificate authority website and choose a package and buy it. They will verify your domain ownership through email by asking you to upload a small html file in your domain’s root folder and once you have verified your domain’s ownership, you will be issued with a certificate in the form of .crt file.
  • Organization Validated SSL Certificates: These type of certificates are for organizations like Google, Amazon and other companies. Verification for issuing certificate for organizations include verification of the company’s location. So, issuing of organization validated SSL certificate may be little longer than domain validated certificates.
  • Extended Validated SSL Certificates: Issuing of extended validated SSL certificate maybe a lengthy process, because, the issuing authority will verify the physical existence of business along with domain ownership and also, it verifies the legal existence of the organization. The issuing authority also verifies whether the company is aware of the request for SSL certificate and then approves and issue the certificate.
  • Single Domain name SSL certificate: Every marketer should need to aware of this info. Most of the SSL certificates you get under $10 – $50 are single domain name SSL certificates which means, the certificate is only valid for www or your root domain.

    You cannot use the same SSL for sub domains like

    So, if you are using a sub domain for your tracking purposes, you need to make sure which SSL certificate are you buying.

  • Wild Card SSL Certificates: Affiliate marketers who plan on installing voluum on subdomain like, should need to buy Wild Card SSL Certificate. Because, you can able to use this certificate in multiple sub domains. Unlike Single domain name SSL certificate, you can use this in all of your sub domains.
  • Multiple Domain Name SSL Certificates: With multiple domain name SSL Certificate, you can use this certificate in unlimited domain names. If you have a network of websites which are registered under single organization, you can use this kind of SSL certificate for your needs.

For most of us, we only need either Single domain name SSL certificate or Wild Card SSL certificate. Since, I installed my voluum in

So, I need to get a wild card SSL certificate, in order to use SSL in my tracking.

Step 3: Buying a SSL Certificate

Now, I am going to buy a wild card SSL certificate.

There are many providers for SSL certificates which you can find by doing a simple Google Search for SSL certificates. Choose the one you want.

I am going to buy it from

Step 4: Sending your CSR (Certificate Signing Request)

After you paid for the SSL certificate, you will get an email from them asking you to upload your CSR.

Once, you have uploaded your CSR to them, they will issue your SSL certificate authorized by them.

Step 5: Installing your SSL certificate

After, you got your certificate, go to your Cpanel > Security > SSL/TLS Manager

Click on Upload Certificates under Certificates (CRT)

And, now upload your .crt file using the Certificate uploader which you have got from your SSL provider.

That’s it. You have installed your SSL certificate for you domain. Now, you can able to access your domain through https protocol.

If you have bought a wild card SSL, then you can able to access all the sub domains using https protocol.

Now, for voluum postback URLS, just place https instead of http in your postback URLS. Everything will work smoothly thereafter.

You can use the same procedure for installing SSL for your CPV lab or any other tracking software.

How to Setup Custom Domain in Voluum Tracking Software

How to Setup Custom Domain in Voluum Tracking Software

In my earlier article, I wrote about how to setup your first campaign in voluum. Now, the next step would be how to setup custom domain name in voluum tracking software. The reason, why everyone wants to use their own domain name in their tracking links, instead of using voluum’s tracking links is because, many traffic sources like Facebook and Google AdWords, don’t allow third party tracking links as landing page URLS.

So, in order to avoid those kind of problems, it’s better to setup your own domain name in your voluum tracking software. Here is how to do that.

Here I am going to use the following domain name as my custom domain name in voluum tracking software.


Step 1:

Log into your domain control panel to edit your DNS records, here in my case, my host is Godaddy and I didn’t pointed my domain to any hosting.

So, this is where I log into my domain control panel for Godaddy.

After you have logged in, click on Manage my Domains to edit your DNS records for your new domain.

Now, select your domain name which you want to use it as your custom domain in your voluum tracking software.

In my case it is SECUREPAGEIS.COM

Now click on Manage DNS to edit your DNS records for your new domain.

Here, I am not hosting my domain anywhere else, I just parked the domain at Godaddy. If you are hosting your domain name elsewhere, then you need to change your DNS records in your CPanel.

Step 2:

Now, click on Add Record in your DNS editor.

Now, select CNAME to add a CNAME record to your DNS zone file.

Step 3:

Now, log into your voluum dashboard. Click on Settings at the top right hand side of your voluum’s dashboard.

And then click on Domains as shown below.

Step 4:

Now, you need to create a CNAME record with the voluum’s domain values.

In the above screenshot, I am assuming you have gotten three voluum domain names.

Here are mine..

Voluum domain 1:

Voluum domain 2:

Voluum domain 3:

Enter the name of your custom domain name in the field given in your voluum Domain setup.

In my case, I have entered

I have used subdomain track for my convenience, so that I might use the main domain for other purposes.

Step 5:

Copy one of the value from voluum domains and use that value in creation of your CNAME record as explained in step 2

Here I have copied my voluum domain 1’s value which is

Now, I am using the above value for creating a CNAME record in my domain control panel.

Since, I have used in my custom domain in voluum, I need to use track as host value.

If you are using a different sub domain, use that value instead.

And, POINTS TO should be your voluum domain’s value, enter your value in it and click on FINISH and save your DNS zone file.

Once the DNS zone file was saved.

Step 6:

Head back to your voluum dashboard > Settings > Domains

Now, click on Verify DNS Settings under Custom Domain 1 field. If you did everything correctly, it will display a message saying Domain Setup is OK

See below

Now, your new campaign URLS will be generated with your custom domain. And also, your other voluum domains will also continue to work along with your custom domain. If something goes wrong with your custom domain, these voluum domains will still continue to work as a backup.

Changing DNS records in CPanel:

If you have domain which is hosted somewhere else and you would like to use that domain as custom domain in your voluum. Then, you cannot change the DNS records in your domain name registrar (Godaddy) since it was not hosted by Godaddy. So, in order to change the host records of your domain which was hosted elsewhere, you can do that from your Cpanel.

Step 1:


Log into your Cpanel and under Domains tab, click on Simple DNS Zone Editor as shown in the above.

Step 2:

Select your Domain name, if you have more than one hosted in your hosting account.


Step 3:

Now, after selecting your domain, you will be able to add CNAME records to your domain. See below


Click on Add CNAME Record

And verify your DNS settings in your voluum > Setup > Domains, If you get Domain Setup is Ok message, then everything is working.

Let me know if you have any comments on this.

How to Setup Your First Campaign with Voluum Tracking Software

How to Setup Campaign with Voluum Tracking Software

Without tracking your affiliate campaigns, you cannot make good ROI with your campaigns. Tracking is very important in affiliate marketing. If you are not tracking your campaigns means, there are very little chances that you will get productive with your affiliate marketing. It will help you to understand which traffic sources or placements were working for you by brining good ROI and which were not working and eating up your profits. Right now, there are many tracking software’s available in the internet.



And no doubt, voluum is one the famous tracking software used by many successful internet marketers. Unlike CPV lab, Voluum is not self-hosted tracking software. You don’t need a separate server for your tracking software as it is hosted on voluum’s cloud servers for better performance and for that you will be charged monthly for its usage. Whereas with CPV lab, it is fixed, one-time fee only and you need your own server to host the software. Anyways this article is on how to setup a campaign in voluum tracking software.

If you ever tried to spy on your competitors, and happened to click on their ad, you might have seen something like the following at the end of their landing page url.


Which means, he or she is using voluum tracking software for their tracking needs. Though it is not a self-hosted service, you can still use your own domain name for your tracking links. I will explain that later in a separate article. For now, let me show you how to create your first campaign with Voluum.



Step 1:

If you don’t have a voluum account already, then don’t worry I am explaining it from the start. Open the URL
in your browser and click on Sign Up button to create an account for you.

Step 2:

After clicking on Sign up, you will be taken to the next step where you will be asked for your details like email, name and monthly usage.

Step 3:

After filling all those details which were asked, click on Sign me up, you will then be redirected to your account’s dashboard. Now, at the top right hand side of your page, you can able to see Upgrade link, click on it and upgrade your account to fit your needs.

Step 4:

Once, you have upgraded your account, now you can start creating your first campaign. If this is your first time using voluum, then you will be confused with lot of options in it. But it’s very simple creating a campaign in it. Setting up a campaign in voluum involves 5 steps.

  • Create a Traffic Source
  • Create an Affiliate Network
  • Create a Lander
  • Create an Offer
  • Finally, create a campaign using all the above.

At first, your voluum dashboard will look like the below screenshot.


Step 5:

Like I said in the above, in creating a campaign with voluum, the first step would be setting up your traffic source.

In order to do so, Click on Traffic Sources link in the top.


Step 6:

Now, click on New Traffic Source at the top right hand side in your voluum’s dashboard.

Step 7:

Now, you will be able to setup your new traffic source like as shown in the below

Enter name of your Traffic source under Name. And under Postback URL use the postback url provided by your traffic source.

If your Traffic source does not support Postback URL, and only supports image pixel or pixel tracking, then you can use Pixel redirect URL option.

Don’t use both, I mean, don’t use both Pixel redirect URL and Postback URL. You should use only one, otherwise you will encounter tracking issues.

If your traffic source supports only Pixel tracking, then just use the url from the pixel code in Pixel redirect URL. Don’t use the full code which includes <img> tags.

Most of the traffic sources provide both https and non-https pixel tracking codes. If you wanted to use a https version means, you should only use https links in affiliate network too and vice versa, otherwise you might encounter tracking issues.

Impression Tracking: If you are using your own ad server or the traffic source has provided with impression tracking url, you can check the option Impression tracking which is used to track a cpm campaign mostly used to measure the individual spent of cpm banners. Anyways this is for advanced users, for newbies, let’s not touch it for a while. You can still track other metrics with voluum.

If you check the impression tracking, then you will be shown to campaign urls after setting up your campaign in voluum. So better not use it if you are not sure what it is.

Step 8:

If you scroll down a bit while setting up your traffic source, you can able to see the option Advanced. Click on it for advanced options.

Most traffic sources provide you with macros for tracking purposes which can be used to track additional data in advanced setup here.

The traffic source will provide all the parameter, placeholder and name values and you can use them here to track. Check on Track for corresponding variable in order to see its stats in reports.

If your traffic source is a popular one, then chances are there that voluum has already included some traffic sources in voluum by default. Click on Traffic Source templates, to load one of the predefined traffic source template if yours was listed in that.


And here are the list of pre-defined traffic sources available in voluum.


If your traffic was not listed in there means, you can simply create one by using this New Traffic source wizard.

Step 9:

So, after entering all the details of your traffic source, click on save, it will create new traffic source in your voluum’s account. A sample one would look like the below screenshot.

Now, you can see your traffic source name under Traffic Source in your voluum’s dashboard like as shown in the below.

Step 10:

Now, you have finished setting up the traffic source, next, I will be showing how to add a new affiliate network to your voluum’s account.

Like we had pre-defined traffic sources in voluum which I have shown you earlier, we have trusted affiliate networks here in voluum. If you are trying to setup one of the affiliate network in the pre-defined list, you can simple load it, otherwise continue to read further, I will show you how to add a new affiliate network to your voluum’s account.

Click on Affiliate Network in the top. And then click on New Affiliate Network, to add a new affiliate network to voluum. See below

After you clicked on new affiliate network, you will be asked to enter the name of your new affiliate network you would like to add.

Check Append click ID to offer URLs if you want to track click ID’s. But normally for a newbie, just leave it to avoid confusion, as it is not necessary for you right now. It is only used when you are using a third party ad server. Finally, click on Save to save your new affiliate network to your voolum’s account.

Step 11:

So far, you have added your traffic source, affiliate network to your voluum account, now, it’s time to add your landing page and offer url to voluum.

Let’s add the landing page first, for that, click on Flows and you will be to see three options.

  • Flows
  • Landers
  • Offers

Click on Landers to add your landing page to voluum.

Now, click on New Lander, to add your new landing page.

Step 12:

In the next step, you need to enter the details of your landing page like,

  • Name of your landing page
  • URL of your landing page
  • Number of offers
  • And lastly, country where you are going to target the landing page.

The available tokens are used to get information like traffic source name, device brand etc. If you want to pass this information to affiliate network, you can use this tokens in landing page otherwise don’t use any.

Regarding the number of offers, Muscle and Diet landing pages will have two offers in a single landing page. For that kind of landing pages, choose how many offers you have in your landing page and select the number of offers you would need for this lander while creating your landing page in voluum.

Here is an example of my landing page setup in voluum.

Step 13:

In this step, we are going to add offer URL to voluum.

Here I am using cake’s offer URL as an example. My affiliate link looks like the following

Click on Offers and the click on New Offers to add your offer to voluum.

After you have clicked on new offer, you will be asked to enter details of your offer like

  • Offer URL
  • Name
  • Affiliate network name
  • Country

After entering the details it would look the below screen.

In the above, I have added &s2={clickid} in addition to my offer URL.

Since, Cake platform does not support using unique id’s in s1 subid, so I have used s2 for unique click passing. Otherwise your affiliate network will get Excessive subid’s issue.

And regarding {clickid}, you need to add clickid token only if you are using Postback URL tracking. If you are using a tracking pixel for your tracking instead of Postback URL, then you need not to add {clickid} token to your offer URL, as tracking pixel is a cookie based, it will add clickid automatically to your offer URL.

But if you are planning to use Postback URL, then you should add {clickid} at the end of your offer URL like I’ve shown in the above.

And after that, click on Save.

You can use the Postback URL generated in the above in your affiliate network if you planned on using a Postback URL for your tracking. For pixel targeting, continue to read, I will show you later in this article.

And don’t forget to replace REPLACE with s2 for cid in order to track conversions.

Your correct postback url would look like the following


For payout and txid tokens, you can get them from your affiliate network.

For cake platform, here are the token values.

Step 14:

Now we have the offer, landing page, affiliate network and traffic source added to your voluum’s account. It’s time to setup the campaign now.

Click on Campaigns and click on New Campaign.

Then fill the details of your new campaign like landing page, offer, traffic source and affiliate network. After you have finished filling all those details, it should look the below screenshot.

This is how my sample campaign looks like.

And finally, after I clicked on Save, my campaign URL was generated.

This is how it will look like.

Now, link your Campaign URL to your ads in your traffic source.

Step 15:

Finally, you have finished setting up a campaign in voluum, just double check that you have placed Postback URL or Tracking Pixel URL while creating your Traffic source.

Now, you need to place voluum’s global Postback URL or Tracking pixel code in your affiliate network in order to track properly.

To get your pixel or postback url, click on Settings icon at the top right hand side in your voluum’s dashboard.


Now, click on Setup to get your Postback URL or Tracking Pixel Code.

And finally, here are they

Click URL – Click URL should be used in your landing page for call-to-actions, so that voluum will automatically redirects the user to the offer you have setup in your voluum’s account.

Multi-offer click URL – This is used when you have more than one offer in your landing page. You have to add /1 for 1st offer and /2 for 2nd offer at the end of your Click URL.

Postback URL:

Your postback URL will look like the following link.

In the above, I have replaced the cid, payout and txid values with their appropriate token values. Hit your AM if you don’t know those values.

Tracking Pixel:

Just replace the cid, tid and payout values in tracking pixel before you use it in your affiliate network.

You need to replace those values no matter what kind of tracking (Postback or tracking pixel) you use in order to track properly.

After you finished everything, place the tracking pixel or postback url in your affiliate network to track the conversions.

Things to remember:

  • You don’t need to add {clickid} token at the end of your offer URL while you were using tracking pixel for your tracking.
  • You must need to add {clickid} to the end of your offer URL when you wanted to use Postback URL tracking.
  • Never use mix of https and http urls in tracking. (If the traffic source has provided you with https pixel or postback, you need to use the same https from voluum in your affiliate network)
  • Tracking won’t work, if you use both postback and tracking pixel.
  • If you are using Postback url from your traffic source, then you need to use Postback url in your affiliate network too. And the same applies to tracking pixel too.
  • Don’t forget to replace the values of cid in your tracking pixel or postback URL, otherwise it won’t work.
  • If you check the option Impression tracking, you will be generated with two URL’s after you have saved your first campaign. One is for impression tracking URL and the other is for campaign URL.

How does a tracking pixel work?

How does a tracking pixel work?

Tracking pixel is a piece of html code which will be provided by the company who wants to track the user’s behavior on a specified website. For example, if an E commerce website has an affiliate program and pays its affiliates basing on the sales they have generated in their site with their ads and their affiliate site. The E commerce website needs to have a functionality to assign the sales which were generated by its affiliates to them automatically. They need a way to correlate the sales, clicks generated by the affiliate sites. This can be accomplished by the use of tracking pixel.

The tracking pixel nothing but html code which needs to be placed in the order confirmation page which will be shown after a product purchase. The use of tracking pixel is not just passing the information whether a sale was happened or not. The main thing is, it will pass the cookie information of the user.

Pixel tracking code will contain an <img> html tag which you can get from your tracking software like CPV Lab or from your advertising network.

Here is the sample Facebook tracking pixel code

Now, whenever a user visits the order confirmation page, the browser will see an image and thereby it requests the image by sending the domain specific cookie id, amount of the purchased item or any other information about user to the server. This request is just like any other http request from the browser. Then the server responds to the browser requests and passes a transparent 1×1 image pixel (GIF) which will not visible to the user.

For example:

If you are running an E commerce business and one of your affiliate is running a Facebook ad campaign. Then, in order to track his sales, he will provide his pixel data to you, so that you can place it In the order confirmation page, Now, whenever a sale was happened, the browser sends the user data to the server and the server fires a pixel. This is how, affiliate sales are being tracked with the help of Pixel tracking.

How to setup postback url or server 2 server (s2s) in CPV lab

I’ve been using CPV lab as tracking platform from many years. Though there are many tracking softwares available, CPV Lab is my favorite because it is self-hosted and I have my data with me and moreover it’s a onetime investment, you no need to pay monthly for your tracking. I am using this for tracking of my Media buys, PPV campaigns and email campaigns. Recently, I was setting up a media buy campaign and the affiliate network I was working with only supports Postback url or S2S tracking. So I can’t use image pixel there. And in CPV Lab, there was no mentioning of getting postback url, so after researching for a while, I found the solution and thought of sharing this in my blog.

With Image Pixel or Tracking Pixel you place pixel code in the landing page I,e in your affiliate panel which then will get loaded by the end user and when conversion was happened, it will fire an image pixel, but with Postback url or s2s (Server2Server) url, the affiliate network itself will communicate with your CPV lab directly and it will tell your CPV Lab when a conversion is happened.

Since, CPV Lab, did not mentioned about Postback url in its interface, I will explain how to get your Postback url.

First of all, you will need the image pixel from CPV Lab. For that, go to any of your campaign and click on edit and if you scroll down a bit, you can see different pixels available in it.

Copy the image pixel, It will be like the following

<img src=”” width=”1″ height=”1″ border=”0″ />

Now, copy only the url in it, not the entire code.

Now, to get your postback url, you need to add ” ?subid= ” at the end of the url.

It will look like the following

But, you are not yet finished, its not the postback url. Different tracking platforms have different tokens which needs to passed in the subid. For example, Neverblue, Convert2media, GrabadsMedia use Cake Platform. Whereas Affiliaxe use Hasoffers tracking platform.

Here I am mentioning few of them for your convenience.

Cake Platform : #s1# , but you need to use #s2# for CPV Lab, as it passes unique values.

HasOffers: {aff_sub}

LinkTrust: [=SID=]

HitPath: xxc1xx

Now, finally, your postback url will look like the following for Cake Platform

For HasOffers{aff_sub}

just change the token value to suit your tracking software. If you are not sure about what is the token for your affiliate network, hit your affiliate manager and they will be able to help you with this.

And finally, place your postback url in your affiliate network and start tracking your conversions.

Some networks, only accept https postback urls. In that case, you need to get a ssl certificate and add “s” at the end of “http”. Everything will be same whether it is secure http or normal http.

Track your E commerce sales with Facebook conversion pixel code

Track your E commerce sales with Facebook conversion pixel code

Are you an e commerce business owner and using Facebook ads to drive customers to your website and get more checkouts? If you are struggling with Facebook ads and not sure whether it is bringing you good ROI or not. Do you know which kind of ads are brining good sales and which ads are not performing well? If not, you should consider using Facebook conversion tracking pixel which will help you to track conversions happened in your website with Facebook traffic.

Today, I am going to show you how to setup conversion tracking with Facebook ads to track your sales which will happen with Facebook traffic.

First of all, I will explain what a conversion tracking is and why it is very important to track your conversions, then I will show you step by step on how to install conversion tracking. Before I go forward, you need to know the following terms

Conversion: A conversion is an action which was taken by the user in your website. These actions include registering an account, making an order, entering an email address, reaching a specific page (thank you page, order confirmation page), adding an item to their shopping cart can represent a conversion. Suppose, if a user saw your ad in Facebook and came to your website and registered an account, you can call it is a conversion if that’s what you want. Or if you want a sale to happen by user, then if the user came to your website by visiting an ad in Facebook and registered an account and made purchase, then you can call it is a conversion happened.


Different businesses have different conversion goals. For example, insurance businesses people don’t easily purchase immediately, so the advertisers use getting email addresses as their conversion goal, so for them, if someone enters an email address, they will count it is a conversion happened.

You can setup which type of conversion do you want to track, is it an account sign up or is it a sale? It’s up to you.

Conversion tracking:

Conversion tracking is nothing but tracking your conversion goals with your advertising network. With Facebook, a conversion tracking is, measuring your ROI with Facebook ads. When conversion tracking is setup to your Facebook account, you can see which ads are actually brining sales and which ads are not brining sales. In this way, you can opt out the ads which are not performing well and thereby you can increase your ROI by reducing the advertising costs.

Conversion Pixel:

Conversion Pixel

A conversion pixel is a piece of code you get from your advertising network like Facebook, and you need to place that conversion pixel code in your pages which you want to track conversion from. So that when a user who came from your ad advertised in Facebook by you to your website and reached the page where you placed the conversion pixel, the pixel will fire and can be traced back to the ad. So that, you can see a conversion has happened with that ad.

For example, if you want to track conversions and your goal is a sale, you need to place the code in your confirmation page, so that, when even ever a user who came from your ad and made a purchase and finally reached the confirmation page, the pixel will fire in that page and it will be traced back by the Facebook and you can see a conversion has happened in Facebook advertising dashboard.

Optimize for conversions:

In native Facebook Ads dashboard

In Power editor

It was reported that, Facebook beta tested this feature and said that it will reduce the cost per conversion up to 40% than normal CPM bidding. Some people have reported about 70 – 80% reduction in their cost per conversion. With this feature, Facebook automatically bids on behalf of us for conversions, it will automatically bids for the right audiences which are likely to get converted for our ads. Using this feature, will help you to get more conversions with less spend.

The above feature is very useful to for E commerce businesses for tracking their sales.

Setting up Facebook conversion tracking step by step:

Step 1:

I am showing the setup right from creating the campaign, so that it will help the newbies too. Create your first advert by clicking Create Advert in the top right corner of your Facebook advertising dashboard. Now, you will be shown with the above screen, where you can choose whether you want clicks or conversions or other options you can see in the screen.

In order to track conversions, go for Increase conversions on your website option.

Step 2:

Now, enter your website and choose your conversion goal you wanted to measure. If your conversion goal is “Checkout” you can choose that or if your conversion goal is any other, you can choose from the listed options like leads, adds to basket, Registration or other website conversions.

Step 3:

I have used Registrations as my conversion goal. Now, give a name to your conversion goal and click on Create Pixel as shown in the above figure.

Step 4:

Now, you will be shown a screen like this with two options.

  1. I can add the pixel to my website
  2. Someone else will add the pixel to my website

If you select the option I can add the pixel, you will be shown with a code called tracking pixel or conversion pixel

You need to copy the code and place it in the final page where your user will be taken when your goal was finished. Suppose, if your goal is a sale to be happened, you need to place the code in the order confirmation page , so that, when the user has made the purchase, he will be finally taken to order confirmation page and your tracking pixel will be fired.

If your goal is different, then you need to place it in the final page of that goal.

Make sure, you place this pixel code in between <head> </head> tags of your final page.

See below for example:

If you select the option Somone else will add the pixel, you will be shown with the following screen

Enter the email address of your web designer to make these changes for you in your ecommerce website, he will be sent with an email containing the pixel code.

Step 5:

After you have placed the code, and proceeded further, you will be taken to the page to choose the objective for your campaign.

And you will be seeing an error saying your advert will not be optimized for conversions and will ask you to Refresh or Verify Now

If you have already placed the pixel code, click on Refresh so that it can verify whether it is tracking properly or not. Once it found out the code , the warning message will disappear and will show like in the following screen.

Step 6:

In the next step, choose your optimization, if you want Facebook to optimize your campaign for conversions, choose optimize for conversions

Step 7:

While creating your ad copy, under Advanced Options choose your conversion-tracking pixel which you have verified earlier, for track conversions of that ad copy.

That’s it, you have setup your conversion tracking with Facebook, now, whenever someone made a conversion, you can see them in your reports under Actions

Frequently Asked Questions:-

  1. How conversions are reported in your Facebook Ad manager?

A) Like I said in the above, you can see your conversions or sales or goals under Actions tab as shown in the above. If you are running different ads, you can see different numbers for Actions in reporting for their respective ads. If you are running an e commerce campaign, create different ads with different conversions your pixel will track so as to avoid confusions while reporting of Total Actions and Specific Actions reported in the Facebook Ad reporting.

Q) Can I use the same Tracking pixel code for all of my ads?

A) Yes! You can use the same tracking pixel code for different ads. You can choose Existing Pixel to use your same pixel code for many ads. See below

Q) How long your conversions will be tracked by Facebook?

A) They track in two categories
1) Clicks on an ad
2) Views on an ad

They track 24 hours , 7 days and 28 days.

Q) Already using private tracking softwares like Google Analytics, Adobe Analytics or other software, will it work on them?

A) Yes! You can integrate this Facebook tracking pixel on third party tracking softwares to tracking conversions and report them in your third party tracking softwares like Google Analytics.

Finally, I hope you find this article useful to you and you can now see how important is to track conversions and how it can help you to optimize your ROI.

Automatic Clickbank conversion tracking with CPV Lab

Clickbank Conversion Tracking
Clickbank Conversion Tracking

Clickbank is one of the biggest market place for Digital products. Many people are making thousands of dollars daily using it.  It is one of the most visited site by affiliate marketers. Having thousands of digital products in clickbank it is giving numerous options to affiliate marketers for their promotion and making money online. Since, having thousands of products, you will have lots of niches to choose from for your marketing needs.

Unlike other affiliate networks, Clickbank does not have the function of using pixel tracking. So, you still need to upload your subid’s in order to track your conversions manually. So you cannot easily track your conversions automatically. But however, CPV lab offers automatic conversion tracking of clickbank products. You can track clickbank conversions using INS (Instant Notification Service) by clickbank.

CPV Lab has built in function to track clickbank conversions automatically by using the feature INS (Instant Notification Service) offered by clickbank. This service sends an email every time when a sale was generated. CPV lab has used this functionality and integrated in CPV Lab.

Here are the steps you need to do in order to track your conversions.

Step 1: Log into your clickbank account, and navigate to Settings > My Site



Step 2 : Scroll down a bit and you can see Advanced Tools, if you don’t have any means, create one at the right corner. In the above i have given Secret key as CPVXXX



Step 3 : Enter your desired Secret Key and use as Instant Notification URL. 


Step 4: Now, navigate to your CPV Lab installation directory, CPV Lab directory > lib, 



Step 5: Edit your constants-user.php file located in your CPV lab’s lib directory .


Step 6 : Enter your created Clickbank secret key in constants-user.php file for $GLOBALS[‘ClickbankSecretKey’]



In the above, i have used CPVXXX, as i have already created clickbank secret key “CPVXXX”. Now, use yours.

Finally, save your edited file and there you go, your account is now set to track conversions from Clickbank using CPV Lab automatically .

Don’t forget : 

– Make sure, you use version 4.0 when using instant notification url.
– Make sure, you are using the same secret key in your contstants-user.php file with the key you created in clickbank.


Excessive Sub IDs with Cake Platform

Excessive Sub IDs with Cake Platforms like Convert2media, Grabads, Clickbooth, Neverblue, Clickdealer Error Fix





Careful with usage of sub IDs especially with s1 in cake platform.

Cake Platform ( An affiliate network software mostly used by affiliate networks like,, and even don’t allow the usage of s1 subID for passing unique values in numerous numbers. If you are using any tracking software like CPVLab means, then mostly you will be passing values to your SubID which is s1.

Switch to s2 from s1 for passing unique values. Or you will end up getting warnings like this.

And access to your SubAfiliate Summary will be restricted.

As shown in the above screenshot, s1 should be used for grouping identifier, while s2 – s5 can be used for passing unique values.

In CPVLab you will be tracking subID’s like the below

And in your Cake Affiliate panel, you can see the track like in the below screenshot.

You should not use Sub ID 1 or s1 for unique values, as shown in the above, use other s2 – s5 for passing unique values.

Most affiliate networks use two types of tracking platforms.

  1. Convert2media – Cake Platform
  2. Neverblue – Cake Platform
  3. Grabadsmedia – Cake Platform
  4. Clickbooth – Cake Platform
  5. Affiliaxe – Has Offers


Tracking with CPV Lab

Tracking with CPV Lab

Of all the tracking softwares available in the internet, I found CPV lab is far best among many others. Today, I am going to show you how to create your first campaign with CPV Lab.

Without tracking setup for your campaigns, you cannot turn your campaign to profitable one. Or with the help of campaign you can optimize your campaign to get better ROI than before. Every successful marketer use tracking for their online advertising campaigns.

For affiliates it is really important to have tracking setup for our campaigns. Those who don’t know how to install CPV Lab, can find a video showing how to install CPV lab here

To start with creating your first campaign with CPV lab, log in to your CPV lab by entering your login details.


After logging in, you will be taken to your dashboard. In the top menu, you can find the following menus.

In order to setup a campaign which contains a single offer, use Direct Link & Landing Page, if you have two offers means like step 1 and step 2 offers, then you should choose Multiple Options.

Anyways, here we are going to show you how to create a campaign with single offer. So, for that, when you mouse hover on Add Campaign, click on Direct Link & Landing Page,

In the next step, you will see the following screen

Give a name to your first campaign in the “Campaign Name” field and choose the predefined source, which means, traffic sources like Bing, Google Ad words, 7 Search, Plenty of Ads. If you are traffic source is not available in predefined source means, you can add your source in CPV lab as shown below.

Now, in the next step, enter your Landing page url, and offer url and give them appropriate values. Here you can split test different offers and different landing pages.

For the field “LP Name” give a name for your landing page and for the field url give your lp website address. And for ID, give any random number and for Share %, give 100% if you want all of your traffic to be sent that landing page only. If you want to split test two different landing pages means, you can enter ID’s as 1 and 2 respectively and for Share %, you should give 50% and 50%

You can also set different Share % for different landing pages, it all about your choice only.

You can, enter different landing pages and different offers and split test them and you can eventually find out which lp is working and which offer is giving good ROI.

After entering these details, save your campaign and automatically your tracking link will generated.

Campaign URL will be your tracking link which you need to link with your ad banners. When someone clicks on your ad, it will lead to this tracking link in the above and then, that tracking will lead the user to appropriate Landing page.

And in the above screenshot, Edit Landing Pages Offer Link, is the link where you need to use in the landing page for call to action, which will eventually takes the user to the affiliate offer.

In short, Campaign URL will be the url which needs to be linked with your ad. Where as Landing Pages Offer lInk will be the link which needs to be used in the landing page for the call to action button.

After adding your offer link to the call to action button or link, you need to paste the landing page code in your landing page in order to make the tracking link. Please “Step 2: Add Code to landing Pages” at the end of your html code like the below.



Add the above to your landing page html code just above the </body> tag,

After placing the landing page code in your landing page, your landing page links will work.

PS: If you directly click on the offer in your landing with tracking link installed in it, the links won’t work as the landing page needs to be opened with Campaign Url.

With this CPV Lab, you can pass custom parameters and di split test and finally you can optimize your campaign with good ROI.

In the next topic, I will be covering even more about CPV Lab.