Conversion tracking is a mechanism that allows our server to be notified every time a visitor does an action on a site.
In more common terms: When a visitor performs a predefined action, the TrackingDesk server is informed about such action, and attribute the action to the campaign that was responsible for this action.

For example:
Visitor's conversion flow:

  • Sees advertising
  • Clicks on advertising
  • Fills an optin form
  • Visitor is redirected to a "thank you page"

If you place the TrackingDesk conversion pixel on the "thank you page", when the visitor reaches this page, the TrackingDesk pixel will load and will inform the TrackingDesk server that the visitor completed an "action".

The image pixel can carry some parameters that will inform TrackingDesk about the action.
Optionally, the pixel can be filled with dynamic values such as:

  • The conversion type
  • The conversion monetary value

Example of an image pixel:

<img src="https://servedbytrackingdesk.com/546b17a70bf18e81647d8950/a.gif?anid=546b1a2e0bf18e81647deb7c&oid=546b1b040bf18e81647deb7d&c=1&h={event_id}&a={amount}">


There are several tracking methods, but the most popular are:

  • Postback URL tracking - also known as server to server tracking (S2S)
  • Image pixel 

Postback URL Tracking

A postback URL is a url provided by Trackingdesk which is called by the advertiser / affiliate network, every time a conversion is attributed to your affiliate account.
This method is very popular among affiliate marketers as it doesn't require the advertiser to set an image pixel or javascript on the advertiser website.

How postback URL work:

#1 TrackingDesk sends a click to offer links, adding a dynamic click id

offerlink?aff_sub=23123213 

#2 affiliate networks records the click under their aff_sub  parameter

#3 when a conversion happens on affiliate network they will call the trackingdesk postback url
postbackurl.io?click_id={aff_sub}&payout={payout} 

#4 during the call the affiliate system will inject the {aff_sub}  value in the postback url
postbackurl.io?click_id=23123213&payout=20 

 #5 TrackingDesk will record the conversion and the payout.

After the conversion is recorded, TrackingDesk will attribute the conversion to the campaign so that you can see which parameters were responsible for the conversions -  {keywords}, {click_id}  etc... 

Conversion data includes a lot of information that can be used for campaign optimization. This cata is accessible through the Trackingdesk analytics, but it is also accessible through our Analytics API.

Below is the payload available through our API - you can look at the attributes so you can start making sense of how the data is being collected and wha tyou can do with it.

{
    "id": "016aee8154780a2901000001",
    "type": "conversion",
    "visitEvent": {
        "id": "0167a15c98772c0004000001",
        "type": "visit",
        "payload": {
            "query": {
                "utm_source": "blog",
                "utm_medium": "review",
                "utm_content": "review",
                "url": "https://www.drip.com/demo"
            },
            "remaped": {
                "event_id": "0167a15c98772c0004000001",
                "source": "blog",
                "var_2": "review",
                "target": "review",
                "var_7": "https://www.drip.com/demo"
            },
            "data": {
                "cost": 0,
                "costCents": 0
            }
        },
        "created_at": "2018-12-12T07:40:59.383Z"
    },
    "destination": {
        "campaign": {
            "id": "5aaea5a02d38914cfd2ad8c1",
            "name": "TrackingDesk Blog - Official - Drip"
        },
        "category": "REFERRAL",
        "url": "https://drip.pxf.io/c/169033/440781/5674?SubId1=0167a15c98772c0004000001&u=https%3A%2F%2Fwww.drip.com%2Fdemo&SubId2=5b210d1b45800161c5fa651e",
        "trafficSource": {
            "id": "5b5751a4f742a9513cbba758",
            "name": "Blog with Deeplink"
        },
        "affiliateNetwork": {
            "id": "5b210d1b45800161c5fa651e",
            "name": "Impact Radius - leadpages deep"
        },
        "offer": {
            "id": "5b210d2c45800161c5fa6520",
            "name": "Drip Automation"
        },
        "offerLink": {
            "id": "5b210d4845800161c5fa6522",
            "name": "GEt Drip -blog Automation"
        },
        "landingPage": null
    },
    "source": {
        "method": "GET",
        "url": "/546b17a70bf18e81647d8950/a.gif?c=1&h=0167a15c98772c0004000001&a=92.4",
        "referer": null,
        "protocol": "https",
        "host": "servedbytrackingdesk.com"
    },
    "client": {
        "ip": "::ffff:174.220.0.1",
        "forwardedFor": null,
        "ua": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.110 Safari/537.36",
        "agent": {
            "family": "Chrome",
            "major": "70",
            "minor": "0",
            "patch": "3538"
        },
        "mobile": false,
        "bot": false,
        "os": {
            "family": "Mac OS X",
            "major": "10",
            "minor": "14",
            "patch": "1",
            "patchMinor": null
        },
        "device": {
            "family": "Other",
            "brand": null,
            "model": null
        },
        "lang": "en-US,en;q=0.9"
    },
    "geo": {
        "country": "US",
        "geoname_id": 6252001,
        "tz": "America/New_York"
    },
    "payload": {
        "data": {
            "conversion_type": "cps",
            "conversion_id": "1",
            "payout": 92.4,
            "cost": 0,
            "costCents": 0,
            "payoutCents": 9240
        }
    },
    "created_at": "2019-05-25T10:20:14.328Z"
}


The tracking funnel eventually takes the following flow:

1 Traffic source sends traffic.

2. Keywords and other elements are being collected (Data) by TrackingDesk on the fly.
3. TrackingDesk translates the data into a unique ID (event_id).
4. TrackingDesk redirects users to the offer link adding a preset subid=event_id
5. Visitor performs an 'action'
6. Affiliate network reports back to TrackingDesk via pixel or postback url the conversion including the event_id.
7. TrackingDesk collects the tracking event and associates it with the initial data.
8. TrackingDesk displays the campaign's results in the analyitcs associated with all metrics and parameters (keyword, OS, timestamp etc...)

To start tracking conversions you will need to perform the following:

1. Setup your traffic sources (you can use one of the 70 integrated partners)
2. Setting up of Affiliate network, offers and offer links.
3. Add your postback URL's in the affiliate networks.
4. Create your campaigns which will "link" the traffic source with the offer links you wish to promote.

After your campaign is setup, you will be provided with a campaign URL which you wil l place in  your traffic source (the destination URL)

Did this answer your question?