The following presents a guideline on how Comission Partner standard and rich media tags should be edited to count clicks in Google Ad Manager. In order to track clicks follow the procedure below:
IFRAME Code
Original Code
You should have received some IFRAME code from Comission Partner that looks similar to the following example:
<IFRAME NAME=”CPbanner8987”SRC=”https://banner.commissionpartner.com/Flash/?bn=89874&ord=[timestamp]&CP_ClickTag=https://click.commissionpartner.com/C/bn=89874&C=1&ord=[timestamp]”WIDTH=”300”HEIGHT=”250”MARGINWIDTH=”0”MARGINHEIGHT=”0”HSPACE=”0”VSPACE=”0”FRAMEBORDER=”0”SCROLLING=”NO”></IFRAME>
Modified Code
What you need to do is modify the URL in the <IFRAME> tag as shown by the highlighted changes, The resulting tag should look similar to the following example:
<IFRAME NAME=”CPbanner8987”SRC=”https://banner.commissionpartner.com/Flash/?bn=89874&ord=%%CACHEBUSTER%%&CP_ClickTag=%%CLICK_URL_UNESC%%https://click.commissionpartner.com/C/bn=89874&C=1&ord=%%CACHEBUSTER%%”WIDTH=”300”HEIGHT=”250”MARGINWIDTH=”0”MARGINHEIGHT=”0”HSPACE=”0”VSPACE=”0”FRAMEBORDER=”0”SCROLLING=”NO”></IFRAME>
Note
The ad server recognises the [timestamp] placeholder and will automatically replace it with a cache buster. It is not necessary to convert it to the %%CACHEBUSTER%% macro manually.
Use %%CLICK_URL_UNESC%%
at the beginning of a link. Use %%CLICK_URL_ESC%%
when the click-tracker is the parameter of another URL.
<a href="%%CLICK_URL_UNESC%%https://www.google.com">link</a>
<a href="https://www.google.com?rd_url=%%CLICK_URL_ESC%%">link</a>