0.0.2 • Published 10 years ago

rufio-google-analytics v0.0.2

Weekly downloads
1
License
-
Repository
-
Last release
10 years ago

Google Analytics for Rufio

Install the plugin:

$ npm install --save rufio-google-analytics

Then add google-analytics to your enabled plugins in your projects rufio.json file. This will make avaliable the analytics template which can be included like so in a template:

<%= (config.get('ENVIRONMENT') == 'prod') ? include('analytics.html') : '' %>

Then add the analytics configuration to your rufio.json, a hostname is also required:

	"hostname": "test.com",
	"analytics": {
		"code": "UA-XXXXXXXX-1"
	},