enzolutions/spress-plugin-google-analytics

Enable add Google Analytics Tracker in your Spress site

1.0 2014-06-03 21:51 UTC

This package is auto-updated.

Last update: 2024-10-10 07:13:34 UTC


README

Spress Google Analytics is a plugin for Spress to enable use Google Analytics as tracking system.

How to install?

Go to your Spress site and add the following to your composer.json and run composer update:

"require": {
    "enzolutions/spress-plugin-google-analytics": "2.0.*@dev"
}

How to use?

Add in your config.yml your Google Analytics configuration

google_analytics:
    id: UA-17944133-1
    site: YOURSITE.COM

Next time do you generate your site, all pages will have the Google Analytics Tracker code.