# exp-analytics **Repository Path**: mirrors_embedthis/exp-analytics ## Basic Information - **Project Name**: exp-analytics - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-08-08 - **Last Updated**: 2025-10-04 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README exp-analytics === Expansive plugin for Google Analytics. Provides the 'analytics' services. The exp-analytics plugin will insert a Google Analytics script into every html page with a '.html' extension. Additional files to track may be specified via the 'extra' configuration property. The analytics script is provided via contents/scripts/analytics.js. ### To install: pak install exp-analytics ### To configure in expansive.json: * code — Google Analytics ID * extra — Extra files to explicitly add the analytics code. Typically used to add analytics to unprocessed files from the ./files directory. ``` { control: { collections: { remoteScripts: [ 'async https://www.google-analytics.com/analytics.js' ] } }, services: { analytics: { code: 'Google Analytics ID' } } } ``` ### Get Pak from [https://www.embedthis.com/pak/](https://www.embedthis.com/pak/)