w-sky Posted October 30, 2014 Report Posted October 30, 2014 Hi there, i would like to count the clicks for some text links on my website and I guess I could do this using a text zone and a text banner, but because these text links are in the second main menu, I can not simpy enter (JS) code at this place. I can enter however an URL like: ....mysite.com/openx/www/delivery/ck.php?oaparams=2__bannerid=63__zoneid=3__cb=e8718b1fc2__oadest=http%3A%2F%2Fwww.advertiser.com%2Frefer.asp%3Frefid%3D%257B594C932F-E2C5-4D66-A9AE-1A64BB831370%257D%26link%3Detc.etc. Can I "make" this URL for a new text zone to count the clicks on my menu link? It's ok that like this it would not count impressions, and also that it can link to only one campaign and all clicks will be counted for only this campaign, but that's okay because I will have only one advertiser for each link. Quote
andrewatfornax Posted April 7, 2017 Report Posted April 7, 2017 Yes, this should be absolutely fine! Quote
w-sky Posted April 24, 2017 Author Report Posted April 24, 2017 By the time, I found the "Easy Code Placement" plugin that makes it possible to enter JavaScript code at (almost) any place in WordPress, also on menu items. https://de.wordpress.org/plugins/easy-code-placement/ This plugin makes it possible to enter the full Revive code for a (text) banner as a menu item. I've tested it with asynchronous JS tag and the long Javascript tag (molded to one line), both working fine on the main menu. I haven't tested it with image banners however, not sure if that would work too. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.