Revive AdServer (Formerly OpenX Source) Third Party Click Tracking

Share This

With Revive AdServer (Formerly OpenX Source), you can still easily track clicks when using a third party HTML click tags or alternatively by loading your zone invocation code into a third party ad server.

Third party click tags on Revive AdServer (Formerly OpenX Source)

By default, Revive AdServer (Formerly OpenX Source) supports multiple popular third party HTML tags. To track clicks for third party ads, you would need to perform the following steps:

  • Select the name of a listed third party ad server when you add the HTML banner into the Revive AdServer (Formerly OpenX Source) inventory.
  • Perform some minor manual changes to the ad code for the unlisted third party ad servers

NOTE: If your third party tag provider is not on the list move to the ‘Unlisted third party’ section below.

Listed third party

Basic steps to track clicks for a listed third party ad server:

    1. Create a new HTML banner by pasting the provided HTML code into the banner code textarea.
    2. Select the name of the third party ad server from the drop-down menu.
    3. Save the newly created HTML banner.

Third Party Click Tracking - Step 1


Unlisted third party

If the HTML tag comes from an unlisted third party, you must perform a manual change to the ad code. The third party will supply a mechanism to track clicks which is, typically, a placeholder in the ad code for the click tracking URL. Replace this placeholder with the {clickurl} magic macro.


Following is an example of an unlisted third party click tracking tag:

<SCRIPT LANGUAGE="JavaScript1.1">
var yctred='[CLICK_TRACKER]';
<SCRIPT language="JavaScript1.1" src="
<a href="[CLICK_TRACKER]
/redshot.cgi/281/mo/ingif/" target="_blank">
<img src="

To enable click tracking for this particular tag, replace [CLICK_TRACKER] part with the Revive AdServer (Formerly OpenX Source) {clickurl} macro. Revive AdServer (Formerly OpenX Source) also recommends that you substitute the {random} macro for [RANDOM_NUMBER] to avoid any issues with client/proxy caching. These changes are applied in the following example:

<SCRIPT LANGUAGE="JavaScript1.1">
var yctred='{clickurl}';
<SCRIPT language="JavaScript1.1" src="
<a href="{clickurl}
/redshot.cgi/281/mo/ingif/" target="_blank">
<img src="


The {clickurl} and {random} placeholders are the most common examples of Revive AdServer (Formerly OpenX Source) Magic Macros. The {clickurl} macro would be replaced by the following click tracking URL:

If you add the {clickurl} macro in front of the banner target URL in the <a href=””> for example: <a href=”{clickurl}”> you should get the following result:

<a href="">

If you enter the banner destination field in the banner properties tab it will be automatically added after the oadest= parameter.

If you are not sure where to exactly place the {clickurl} placeholder or there is no unambiguous code part which  indicates the place you need to contact your third party tag provider for assistance. Usually, they will be able to tell you exactly where to place {clickurl} magic macro. Or alternatively, you can always seeks help on the Revive Adserver forums.

Revive AdServer (Formerly OpenX Source) tags on third party ad servers

When you load tags into an external ad server, Revive AdServer (Formerly OpenX Source) always counts the clicks. However, if you also want to track the clicks in the external system, you must insert the click tracking macro for the external system into the Revive AdServer (Formerly OpenX Source) ad code.

It is a fairly simple procedure, and you have to follow the next few steps:

  1. While creating the Zone Invocation Code tab, scroll down to the Tag Settings section underneath the ad code snippet.
  2. Select the a server for the listed third parties drop-down menu, as outlined in the following screenshot:
    Third Party Click Tracking - Step 2
  3. Click Refresh to update this preference in the ad code snippet.

Revive AdServer (Formerly OpenX Source) currently provides automatic modification of click tracking macros for three known third parties:

  • Generic inserts the placeholder, "INSERT_CLICKURL_HERE", into the ad code for an unknown third party.
  • Rich Media – Doubleclick inserts "%c" into the ad code for loading Revive AdServer (Formerly OpenX Source) tags into a Doubleclick server.
  • Rich Media – Revive AdServer (Formerly OpenX Source) inserts "{clickurl}" into the ad code for loading Revive AdServer (Formerly OpenX Source) tags into another instance of the Revive AdServer (Formerly OpenX Source).

Again, if you are unsure of the click tracking requirements of any particular third party ad server, or if you need help customising any of the click tags – you can always inquire on the Revive Adserver forums for free or paid support.

2 Responses to “Revive AdServer (Formerly OpenX Source) Third Party Click Tracking”

  1. Ram Prasad says:

    I am struggling in tracking clicks on from JavaScript Invocation code. My Supplier is using Adzerk Ad server.

    Can you please help me.

    Thanks in advance.

  2. Steve says:

    It was a good read, team.
    Keep cranking content like this.

Leave a Reply

Recent Revive AdServer (Formerly OpenX Source) Expandable Banners

Revive AdServer (Formerly OpenX Source)  Expandable Banners The following example demonstrates a 600px by 150px banner served by Revive AdServer (Formerly OpenX Source)  and expanded to 600px by 300px on rollover. The flash creative can be either uploaded to creatives directory directly (FTP) or just as an another Revive AdServer (Formerly OpenX Source)  banner (preferred). When uploading the SWF creative, you do not need to replace any hardcoded URLs or indicate a destination URL – that would be done in the HTML banner setup. Essentially, we are just using it as a storage container for our creative, all impressions and clicks will be … read more

 Twitter  LinkedIn  Google+  Skype RSS

Get in Touch

  • r Phone:
    (416) 877 2844 / (647) 258 4847
  • h Email:
    [email protected]
  • m Address:
    1454 Dundas St. East, Suite 124
    Mississauga, Ontario
    L4X1L4, Canada

Any Questions?