Quote:
Originally Posted by Blake2181 |
Okay, so I was reading about OpenX and remembered we had discussed it (and other options) before here on the site.
With regards to this link that Blake posted, where do we add these codes? I'm assuming that they are to be added to each item/link that would lead someone off of your site to track it? Then, where does the reporting show?
Track which advertisers are popular by tracking clicks on banners ads where visitors click on to leave your site.
To track outbound clicks on an animated GIF or other type of static banner ad, add the following code within the <a> tag (You may use any folder/filename structure that you desire)
<a href="http://www.advertisersite.com" onClick="javascript
:urchinTracker('/bannerads/advertisername/bannername');">
The equivalent code for a Flash banner is provided below:
on(release) {
getURL("javascript
:urchinTracker('/bannerads/adname/bannername');");
getURL("http://www.advertisersite.com");
}
Track clicks on outbound links that lead visitors away from your site.
You will need to tag the link itself with the urchinTracker JavaScript. For example, to log every click on a particular link to
Example Web Page as a pageview for "/outgoing/example_com" you would add the following attribute to the link's <a> tag:
<a href="http://www.example.com" onClick="javascript
:urchinTracker ('/outgoing/example_com');">