[nodebb-plugin-google-analytics] Google Analytics for NodeBB
-
Yey! .
-
This is nice, but...
But many users use Piwik Analytics instead of GA. But Piwik does not have a portable ID like GA. You have to copy and paste a JS code into the footer file of your theme.
Which brings up a suggestion. How about a global footer widget box that can be used to post ad codes to footer.tpl. Aside from Piwik, many people also use Quantcast for monitoring.
-
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.
-
Is it working with latest nodebb- 0.5.0?
-
@tangibilizing yeah, it's working fine.
-
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
-
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:
https://developers.google.com/speed/pagespeed/module/filter-insert-ga -
@AOKP awesome, thanks for the link!
-
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');
For Reference:
https://css-tricks.com/extending-google-analytics-on-css-tricks-with-custom-dimensions/https://www.bounteous.com/insights/2012/08/28/20-ways-use-custom-dimensions/?ns=l
I am asking this because we use this to filter internal traffic from analytics and for other purpose also.
-
Hi @julian ,
In NodeBB 1.18.6 ; although we set up Google Analytics and did rebuild/restart the forum at least 4-5 times, warning on ACP does not go away.
Additionally, for NodeBBs that are installed in the subfolder (/forum), the hyperlink does not take you to the correct section on ACP.