Copy link to clipboard
Copied
Hi,
I have a portal webiste with banner and texts advertising . the advertisers want to know the statistics of the clicks to their website. I searched Google Analytics, coudln't find it. it said I should use a Java script code within the links, to make it work. I am not a Java script propgrammer.
Does anyone have experience in this area? any help is greatly appreciated.
Copy link to clipboard
Copied
You could have the link go to a ColdFusion page that writes to your database and then re-directs the user to the page he selected. In fact, with cfthread you can do both at once.
Copy link to clipboard
Copied
thanks. I have been doing it for static banners. but I have some other banners which rotates based on a Java Script code (I downloaded online) , and can't do this process with that.
there must be a java script code that is put within the <a href...> command, and triggers the incremental function.
do you know about that?
thanks in advance.
Copy link to clipboard
Copied
You can get js to talk to cf with ajax. I think cf has some tags to make that simple, but since I've never done it, I can't say for sure. If I were to look it up, my google search string would be "coldfusion ajax".