Skip to main content
Known Participant
November 8, 2012
Question

How do I Count outbound clicks on banners on my website?

  • November 8, 2012
  • 1 reply
  • 610 views

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.

    This topic has been closed for replies.

    1 reply

    Inspiring
    November 8, 2012

    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.

    ShidaAuthor
    Known Participant
    November 8, 2012

    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.

    Inspiring
    November 8, 2012

    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".