Giter Club home page Giter Club logo

googleanalytics's Introduction

Google Analytics

This extension inserts the Google Analitics tracker code in your pages. Edit the config.yml file so it contains the correct 'webproperty-id', 'ga_profile_id', 'key_file_location', and 'service_account_email'. (If upgrading to new version copy the missing configuration from the distributed yml file to get the new settings)

Use the developers console and replace the values with your service account email, and absolute location of your key file. You can generate the needed details at https://console.developers.google.com. Here's a quick 'n' dirty step-by-step:

  1. Go to the Google API Console and create a new app/project
  2. In the Services tab, flip the Google Analytics switch to on
  3. Click the credentials tab
  4. Click 'Service Account Key'
  5. Select 'New Service Account' give it a name and remember the email it generates for you. That is the 'service_account_email'
  6. Select the p12 format
  7. Download the key and then upload it to your server.
  8. Visit your google analytics admin and add the service account email under User Management with the 'read & analyze' permissions
  9. Update the google analytics config.yml with the key file location and service account email. **

** The p12 file didn't work with the version of google code in this extension you may have to convert it to a pem file with this command

openssl pkcs12 -in ga-key-file.p12 -out ga-key-file.pem -nodes

The command will ask for the password which is 'notasecret'.

googleanalytics's People

Contributors

bobdenotter avatar evertalbers avatar gwendolenlynch avatar jeffpfoster avatar sahassar avatar xiaohutai avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.