Ad Clicks Stopped Recording
-
On or about March 18th, Ad Rotate stopped recording clicks. Impressions are recording. I am not using a WP cache plugins and yes I do have jQuery enabled.
WP site is running on a Linux Box under SSL.
I would like to continue using your plugin, however unless I can determine why clicks are no longer being recorded, I may have to try another application.
Thanks for your help! : )
-
Make sure there are no JS errors on your page and that stats tracking is actually enabled for all adverts.
After checking code inspector, I see:
Uncaught ReferenceError: jQuery is not definedI tried adding the following to the head but get the same error message. <script type=”text/javascript” src=”http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js”></script>
I did some more looking and found this code in the head section
<script type=’text/javascript’ src=’http://domain.com/wp-content/plugins/adrotate/library/jquery.adrotate.clicktracker.js’></script>
<script type=’text/javascript’ src=’http://domain.com/wp-includes/js/jquery/jquery.js?ver=1.11.3′></script>
<script type=’text/javascript’ src=’http://domain.com/wp-includes/js/jquery/jquery-migrate.min.js?ver=1.2.1′></script>Can you tell me by looking at the above why jQuery is not defined?
Because the loading order is wrong.
jQuery is loaded too late.Tick the box to load AdRotate scripts in the footer in AdRotate Settings to solve that.
The topic ‘Ad Clicks Stopped Recording’ is closed to new replies.