https://github.com/wejs/we-plugin-google-analytics
We.js google analytcs integration plugin
https://github.com/wejs/we-plugin-google-analytics
wejs
Last synced: 3 months ago
JSON representation
We.js google analytcs integration plugin
- Host: GitHub
- URL: https://github.com/wejs/we-plugin-google-analytics
- Owner: wejs
- Created: 2015-05-17T18:00:59.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2019-02-25T11:44:20.000Z (over 6 years ago)
- Last Synced: 2025-02-26T18:23:57.282Z (3 months ago)
- Topics: wejs
- Language: JavaScript
- Homepage:
- Size: 8.79 KB
- Stars: 1
- Watchers: 6
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# We.js google analytics plugin
This plugin add suport to google analytics in your we.js project wwith view plugin
## Features
> This plugin will add google analytcs tag in `we-html-body-end` template event
## Installation
```sh
ẁe i we-plugin-google-analytics
```## Configuration
### With static config:
```js
GA: {
id: [your google analytics ID],
env: {
prod: true,
dev: false,
test: false
}
}
```### With database system settings:
Set googleAnalyticsID system settings
## License
Under [the MIT license](https://github.com/wejs/we/blob/master/LICENSE.md).