WordPress.org

Forums

AdRotate
[resolved] Adrotate and onclick urls problem (2 posts)

  1. son goku
    Member
    Posted 1 year ago #

    Hi,
    I currently use following ad code:
    <div style="cursor: default;" onclick="window.open('http://someadcode.com');"><img src="/wp-content/uploads/blahblahblah.jpg" alt="" /></div>

    And it looks like it does not cound clicks. What's wrong? I've tried with normal a href instead of onclick. Unfortunately I have to use onclick.

    https://wordpress.org/plugins/adrotate/

  2. Arnan de Gans
    Member
    Plugin Author

    Posted 1 year ago #

    The advert needs an a tag for clicktracking to work. Change your adcode.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • AdRotate
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic