are there any known snippets that use this feature?
any documents on using this?
what does it do exactly?
Jeremy Foster
Google Analytics plugin uses it I think.
-
MODX Staff
- 12,272 Posts
It’s just a flag that can be used by plugins to turn off tracking. For example, the GA JS is not injected into the page when this field is not checked when using the plugin.
Ryan Thrash, MODX Co-Founder
Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
thanks for the info...
didn’t know about the GA plugin, I’ve just had mine in a chunk.
Jeremy Foster
Hey I’m trying to use the enable stats tracking button for my google analytics snippet, but I haven’t got any idea what the variable name is or how to use it. Pretty much all I want to do is only show the google analytics code when the box is checked.
Thanks for your help!
-
MODX Staff
- 12,272 Posts
You’d need to install the GA plugin for the checkbox to have any effect.
Ryan Thrash, MODX Co-Founder
Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me