Asynchronous Google Analytics for WordPress
[resolved] UA-XXXXX-X being sent instead of correct numbe (2 posts)

  1. kae
    Posted 5 years ago #

    this is caused because the _gaq array is set up in a function, and is scoped not to leave that function.

    To correct this, replace all instances of "var _gaq" with "window._gaq"

  2. minilibra
    Plugin Author

    Posted 5 years ago #

    Hi kae, thanks for your correction. Yes, you're right. I've been made mistake by write the generated code inside the function. Should be fixed now (version 1.0.7). Thanks.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic