Title: Click Counting Error
Last modified: November 23, 2021

---

# Click Counting Error

 *  Resolved [reginapilip](https://wordpress.org/support/users/reginapilip/)
 * (@reginapilip)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/click-counting-error/)
 * I’m having an issue with the click counting setting for two recently added ads.
 * The ads are set up just like all the other ads on the website (and they count
   clicks just fine) but these two refuse to count clicks. More specifically, if
   I enable the “Count clicks” feature, it says that the specific ad doesn’t allow
   for click counting and won’t display anywhere on the website.
 * I am aware of this: “Click counting does not work for Javascript/html5 adverts
   such as those provided by Google AdSense/DFP/DoubleClick. All adverts can have
   impression counting though.”
 * Here’s the ad code:
 * Ad #1
    `<a href="https://www.shopwashingtonsquare.com/Holiday?utm_source=CMD&
   utm_medium=display&utm_campaign=PDXParent" target="_blank"><img src="%asset%"
   width="970px"; height="90px" /></a>`
 * Ad #2
 *     ```
       <a href="https://www.shopwashingtonsquare.com/Holiday?utm_source=CMD&utm_medium=display&utm_campaign=PDXParent
       " target="_blank"><img src="%asset%"width="728px"; height="90px" /></a>
       ```
   
 * Not sure what I’m doing wrong!

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [Arnan de Gans](https://wordpress.org/support/users/adegans/)
 * (@adegans)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/click-counting-error/#post-15094134)
 * As long as AdRotate thinks there is some kind of issue with the advert it won’t
   show up indeed.
 * The code looks mostly fine and should work as expected.
    Try removing any newlines/
   returns from the code. That often helps.
 * In a separate issue, in the `<img>` tag there is a semicolon that shouldn’t be
   there.
    -  This reply was modified 4 years, 4 months ago by [Arnan de Gans](https://wordpress.org/support/users/adegans/).
 *  Thread Starter [reginapilip](https://wordpress.org/support/users/reginapilip/)
 * (@reginapilip)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/click-counting-error/#post-15094160)
 * Thanks! All is good now!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Click Counting Error’ is closed to new replies.

 * ![](https://ps.w.org/adrotate/assets/icon-256x256.gif?rev=3117289)
 * [AdRotate Banner Manager](https://wordpress.org/plugins/adrotate/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/adrotate/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/adrotate/)
 * [Active Topics](https://wordpress.org/support/plugin/adrotate/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/adrotate/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/adrotate/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [reginapilip](https://wordpress.org/support/users/reginapilip/)
 * Last activity: [4 years, 4 months ago](https://wordpress.org/support/topic/click-counting-error/#post-15094160)
 * Status: resolved