Purpose
Allow users to easily add Baidu Analytics tracking to their Magnolia CMS website. Baidu Analytics is the equivalent of Google Analytics in China.
Administrators of websites in China may prefer Baidu Analytics to Google Analytics because:
- It may be more familiar to Chinese website administrators.
- It is integrated with other Baidu services such as their advertising platform that the administrator may want use.
- Google is sometimes blocked in China which can make Google Analytics inaccurate for websites hosted in China.
Use Cases
For each site, the user should be able to configure the Baidu Analytics tracking code for the site.
For each site, the user should be able to enable and disable Baidu Analytics tracking for the site.
For each site, If the tracking code is added for a site and Baidu Analytics is enabled for a site, then each page of the site should be tracked by Baidu Analytics.