Dochameleon
› Analytics

Analytics

Dochameleon support Google Analytics.

After setup Google Analytics for your project. Add analyticsConfig.js along with siteConfig.js

website/
└── analyticsConfig.js

Content similiar to this, remember to replace tracker_id:

const analyticsConfig = {
  tracking_id: 'UA-XXXX-Y',
  js: { src: 'https://www.googletagmanager.com/gtag/js', async: true }
}

module.exports = analyticsConfig;

Then build and publish. Check results at Google Analytics

← Search Multi-Language →