[nodebb-plugin-google-analytics] Google Analytics for NodeBB
Hey @anooxy -- rolling my development environment back to that hash, and running the analytics plugin, I don't have any problems, and see no 404s. Make sure your plugin is the latest version, v0.3.1
Hey @julian has this been updated for the latest release client?
I am seeing this error after I have upgraded in the analytics control panel.
Missing Tracking Code No valid tracking code found for property bitbangers.co.uk's default URL http://bitbangers.co.uk. Make sure your pages are tagged with a supported version of the tracking code.
tangibilizing last edited by
Is it working with latest nodebb- 0.5.0?
Hưng Thành Nguyễn last edited by
@tangibilizing yeah, it's working fine.
Baerrus last edited by
I wonder if g-analytics code executes synchronously before page is rendered or asynchronously after page is displayed to User? I would not want secondary functionality to slow down user experience. One of the best things about nodebb is how zippy fast it is. Having a big leg up in speed over legacy php scripts. Would not trade that for the world
@Baerrus The analytics script is injected into the document head after the page has finished rendering, so it is at the end
Is this still working without any issues in v0.9.3?
@MarximusMG not needed in your case.
Thanks to the Google PageSpeed module for NGINX, you can simply load Analytics over your PageSpeed config:
@AOKP awesome, thanks for the link!
Amit yadav last edited by
Your Plugin works great.
It would be awesome if we can set custom dimension using this plugin,
I think this can be done with small changes,
if enabled we can pass value using variable which is sent with pageview,
ga('create', 'UA-12345-1', 'auto'); ga('set', 'dimension1', dimensionValue); // Set the custom dimension value ga('send', 'pageview');
I am asking this because we use this to filter internal traffic from analytics and for other purpose also.