Support » Plugin: Yoast SEO » GA event tracking, how to make it work now?

  • Resolved bjornwebdesign



    Many of the SEO people use this plugin. Today i recieved a simple question to include an event traking for a button. According to the Google docs this is simple.

    Then one giant heep of misleading google hits started, which is funny if you consider the core business of this plugin..?!?!?
    – Yoast settings/manuals/screenshots that are no longer available in current version.
    – Apparantly yoast changed ga to __gaTracker without describing this AT ALL?
    – ga or __gaTracker does not work. Using ga i get no error, but Analytics does not register the event. Using __gaTracker i get a not defined error.

    Man o man, i don’t have much experience with Yoast but this feels very bad and unprofessional.

    Can anyone tell me how to include event tracking in combination with Yoast?

    If I include the GA script from Google (in the header). My event tracking using ga works fine. But I dont want to include a GA script twice.


Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Pcosta88


    Hi Bjorn,

    We are not sure exactly what happened but we do know Yoast SEO (the plugin) does not have any features related to event tracking. We also know that while we did at one time have a Yoast Google Analytics plugin, we transferred that to Monster Insights.

    If you are using that older analytics plugin we suggest contacting them for more information. You can contact them here:

    Plugin Support jerparx


    Closed due to inactivity.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘GA event tracking, how to make it work now?’ is closed to new replies.