Adrotate not injecting GA eventValue for ad clicks or loads

Home Forums AdRotate for WordPress Bug Reports Adrotate not injecting GA eventValue for ad clicks or loads

This topic contains 2 replies, has 2 voices, and was last updated by  Arnan 11 months, 2 weeks ago.

  • #47592

    casesomething
    Badges:

    Howdy,

    I’ve got an issue with Google Analytics event tracking. The code is getting injected when the page loads but when I check the GA Chrome debugger, I get the same error on every ad: “Uncaught SyntaxError: Unexpected token ,” .

    Upon further troubleshooting, I’ve found that Adrotate is not properly labeling a value for each ad, so the events never get sent through. If I go to my stats settings in the AdRotate dashboard to change the GA values for clicks/impressions, the values just revert to the defaults (click value “1.00”, impression value “2.00”) upon confirming the settings update. Here is an example of what the debugger is showing – the eventValue field is left blank:

    <img onload="ga('send', 'event', 'Banner', 'Impression', 'Ford Escapes - Homepage Strip 3.14.18', , {'nonInteraction': 1});" src="http://www.*********.net/images/ads/escapes-banner-3-14-18.jpg" />

    Not sure what to do to fix this, but would love to be able to use GA to track ads.

    #47607

    Arnan
    Badges:

    This has already been addressed for the next version.
    Thanks for your feedback.

    https://ajdg.solutions/plugins/adrotate-for-wordpress/development/

    #47609

    Arnan
    Badges:

    Moved to bug reports

Viewing 3 posts - 1 through 3 (of 3 total)

The topic ‘Adrotate not injecting GA eventValue for ad clicks or loads’ is closed to new replies.