A plugin for websites built with CODEDOC that sends tracking data to Google Analytics.
Set your Google Analytics tracking ID in the CODEDOC configuration file.
plugins: [
...,
googleAnalytics("UA-123456789-1"),
...
],
There are two ways to verify that it is working.
- Go to Google Analytics -> Realtime -> Overview, and find data for your own page views in real time.
- Use Google's Tag Assistant extension for Google Chrome. For information about how to use this, see my Documentation of Correctness.