Skip to main content
Skip table of contents

S2S Tracking


What is S2S Tracking?


Server-to-Server (S2S) tracking is reliable and secure method of tracking user actions.
It enables you measure the effectiveness of a traffic source and/or marketing campaign by tracking a user’s actions and recording when a given event occurs e.g., a click upon on an ad on the ad results page (2nd click).


How Does S2S Tracking Work?

  1. Your domain URL passes the cid, provided by the ad network, into the domain name, such as: domain.com/?cid=123.

  2. A visitor clicks an ad displayed by ad network on its sites, and visitor lands on the parked domain with the cid attached just like in example above.

  3. Once on parked domain, visitors who click upon the ‘related terms’ and then subsequently an ad, on the proceeding ad results page, will trigger a ‘postback’.

  4. A ‘postback’ URL informs the tracking software and/or Ad network that a conversion has occurred.

  5. A unique ID e.g. cid parameter that you set, provided by your tracking software enables you track from what campaign, creative, device etc. that conversion can be attributed to.

  6. In addition to the ‘postback’ parameters you define, we can provide the following parameters:

    1. {click_id} which you can use to reference the visit click event through the API.

    2. {click_term} provides the term the user clicked on.

    3. {estimated_revenue} provides an estimated revenue generated by the click

    4. {timestamp} provides the timestamp of the click event in the format yyyy-MM-dd HH:mm:ss

    5. {domain} provides the domain where the event happened


S2S ‘Postback’ with Estimate Revenue

Only available for referral users.

You may request the click event estimated revenue by including in a new postback url with variable {estimated_revenue}. Ex:

CODE
https://domain.com/?cid=123&revenue={estimated_revenue}

Since revenue is not available instantly, the ‘postback’ event is delayed until once estimated revenue has been assigned to click event.

The estimated_revenue is subject to changes, so you must query the API to get latest value.


Setting S2S Values in Bodis UI

Typically, either the Ad network or the tracking software will provide you with a custom URL to assist you in tracking a user’s actions.

Keep in mind when in this documentation the cid parameter is just used as a place holder, the ad network may use id, click_id, or any other nomenclature.

When setting up the tracking URL be sure to set any parameters that were provided to you by said tracking software, also ensure you are including the same cid name that is being passed with the domain.

While dynamic, Bodis highly recommends using the same cid parameter name when referencing your id provided to you to avoid any confusion.


Event ID
When using multiple Ad networks and/or Tracking software you may be required to use more than one tracking url. This enables us to better verify and validate the postbacks.


Event Type

The “Click" Event type is chosen by default, and fires when a visitor clicks an ad on the ads results page.


Finishing Up

Once the S2S has been successfully created you will see the postback url, event Id, and event type added to the S2S list.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.