How to Send Postback from Lander to ExoClick Directly

In some situations, we need to send postbacks from lp to traffic sources directly. This is because we dont use a tracker or the advertiser does not have a postback option.

Below is an example of sending postback to ExoClick from lander:

0. Add a goal in ExoClick
Dashboard->Campaigns->Conversion Tracking->New Conversion Goal
https://admin.exoclick.com/panel/advertiser/goals

Defind the “Order” as “1”.

Copy the Goal ID.

1. Pass the clickid to lander
The token of ExoClick’s clickid is {conversions_tracking}.
https://www.mylanders.com/lp001/index.html?clickid={conversions_tracking}

2. Get the clickid in lp
JavaScript code:
function getURLParameter(name) {
return decodeURI((RegExp(name + ‘=’ + ‘(.+?)(&|$)’).exec(location.search) || [, null])[1] || ”);
}
var clickid=getURLParameter(“clickid”);

3. Send the click back to ExoClick
JavaScript code:
var url=”http://main.exoclick.com/tag.php?goal=xxxxxxxxx&tag=”+clickid;
document.write(‘<img src=”‘ + url + ‘” width=”1″ height=”1″/>’);

As ExoClick can not track payout, so we just need to send the conversions back to it.
Put the javascript code in the sign up completed page or the thank you page.

The completed javascript code:
<script>
function getURLParameter(name) {
return decodeURI((RegExp(name + ‘=’ + ‘(.+?)(&|$)’).exec(location.search) || [, null])[1] || ”);
}

var clickid = getURLParameter(“clickid”);
var url = “http://main.exoclick.com/tag.php?goal=xxxxxxxxx&tag=” + clickid;
document.write(‘<img src=”‘ + url + ‘” width=”1″ height=”1″/>’);
</script>

Here is a screenshot:

Done!