This plugin allows you to track visitors to your NodeBB, including getting detailed view rates per topic/category.
This plugin requires NodeBB v0.1.1 or greater, due to hooks added during that revision.
-
Create a Google Analytics account (here, and create a new app in order to receive a
G-
(orUA-
) number. This is your tracking ID. -
Install the plugin:
npm install nodebb-plugin-google-analytics
-
Activate the plugin in the administration panel, and restart your NodeBB forum.
-
Navigate to the Google Analytics settings page
/admin/plugins/google-analytics
, and save your tracking ID and domain, as specified in step 1. -
Go to the Google Analytics dashboard's "Real-Time" page and verify that your movement across pages is shown.