Skip to content

Latest commit

 

History

History
36 lines (24 loc) · 608 Bytes

README.md

File metadata and controls

36 lines (24 loc) · 608 Bytes

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

ẁe i we-plugin-google-analytics

Configuration

With static config:

 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.