- πΊπΈUnited States japerry KVUO
With the sunset of legacy google analytics, the 8.x-2.x module is now unsupported. If this is still an issue with the 4.x version, please file a new issue in the queue.
For a long time now I have been setting the Web Property ID as blank via settings.php or similar methods so that tracking doesn't occur on any environment other than my production environment.
Recently I released a module, Contextual variables β , that allows for variables defined by the Variable module to be defined via Context, allowing me to theoretically do what I used to do via settings.php via UI instead.
I was happy to see that the Google Analytics module had declared the Web Property ID, but unfortunately I found that it required a value and validated the value, which meant I couldn't set it to blank to prevent tracking to occur.
While I understand that this may not exactly be something you would want to encourage, it is something I would think would be extremely useful.
Patch attached in comment #1.
Closed: outdated
2.0
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
With the sunset of legacy google analytics, the 8.x-2.x module is now unsupported. If this is still an issue with the 4.x version, please file a new issue in the queue.