Support » Plugin: Ad King Pro » ga undefined

  • Todd Walker


    My ad events are not being recorded in Google Analytics. I am getting an “ga is not defined error”. The analytics code is in the header. I’m using the Google Analytics by Yoast plugin. Other events are in analytics but the ads are not.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Ash Durham


    Hey mtwalker,

    Is Yoast using the analytics.js version of GA? Try changing the GA type in the Ad King Pro settings – you may find that is the issue.

    Thread Starter Todd Walker


    Hi Ash,
    Yoast is set to Universal and Ad King is set to Universal as well. Should I change Ad King to use classic?

    Plugin Author Ash Durham


    Hi Todd,

    You could try – Yoast may label them differently to us?

    It also could be a positional/load issue.

    If in the last 4 months you have sorted this, would you be able to reply with what you did for anyone in the future that may have the same issues you experienced?


Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘ga undefined’ is closed to new replies.