I just installed the google analytics plugin (the one made by the bubble team), added my tracking IDs successfully (one for live version and separate one for development). However, my analytics dashboard at google doesn’t show visitors (or any incoming data, for that matter) when I test.
I wondered if it just takes a while after plugin install and setup. However, nothing is happening. So, in order to check if anything is wrong with my google analytics setup on the google side, I copied the google analytics script snippet that is supposed to be added to a site’s header. I pasted it under my bubble app’s settings → SEO/metatags → Advanced settings → Script/meta tags in header. After doing this, my test worked and the google analytics dashboard showed incoming live data.
However, I also checked my app sites’ html source code, and if I don’t add the script manually under the settings (as just described above) google analytics is nowhere to be found, even when the plugin is installed and tracking IDs are added. Can anyone tell me if I am doing anything wrong with the plugin or is there something wrong with it? I’d prefer to use the plugin instead of having the google analytics script added manually. I see that thousands of bubble apps are using the plugin, so I am suspecting something is wrong on my side of things…
I read in this post: Google Analytics Plugins Stopped Working? that deactivating the option for not placing cookies in the settings does fix it. However, for EU based bubbler’s, deactivating this is not an option due to legal circumstances.
I think @thetylerhayes basically hit the same problem here but didn’t receive any answers so far: Google Analytics not tracking data -- set up properly
NOTE: even when the user opts in on cookies, tracking won’t work.
Thanks in advance for your help.