Archived topic
Does theme work well with MonsterInsights plugin?
5 replies · Started by Alana on June 4, 2019
Hi,
I wanted to know whether GP works well with MonsterInsights before I install that plugin. Is there a different plugin for Google Analytics that I should consider?
Thanks!
Hi there,
I'm not exactly sure what the plugin does but if a plugin is built to work with WordPress themes - it will work with GP :)
If you are just wanting to add Google Analytics code, then simply use Hooke Element should do:
https://docs.generatepress.com/article/hooks-element-overview/
Let me know if this helps :)
Thanks a lot for the response Leo; that's a very useful reference!
MonsterInsights is a Google Analytics tool which is well-rated for it's user experience and features. I'm concerned if I do the hook / code myself that I won't have the same level of analysis available to me (I'm still a newbie with code)
For speed, use monster insights with this plugin https://wordpress.org/plugins/host-analyticsjs-local/
Hey Leo,
I think I did it (using the Header hook)! How will I know that GA is working properly?
Thanks again!
Alana
Make sure you use this method:
https://generatepress.com/forums/topic/how-to-add-google-analytics-code-to-generate-press/#post-771208
Then it should work :)