Woopra Analytics Plugin

  • Tags: woopra, analytics, tracking
  • Latest: 1.0.3
  • Last Updated: 10 October 2010
  • Grails version: 1.3.5 > *
  • Authors: Steve Good
1 vote
Dependency:
compile ":woopra:1.0.3"

 Documentation

Summary

Installation

grails install-plugin woopra

Description

Requirements

  • A valid Woopra account
  • A registered domain with Woopra

What is Woopra?

Woopra is the world’s most comprehensive, information rich, easy to use, real-time Web tracking and analysis application.

What Does this Plugin Do?

The Woopra Analytics plugin provides an easy to use tag for adding Woopra tracking scripts to an application. Additional parameters can also be used. See the examples below.

<g:woopraTrackingScript />

OR

<g:woopraTrackingScript
    name="${ session?.user?.fullName() }"
    username="${ session?.user?.username }"
    email="${ session?.user?.email }" />

Any attribute added to the tag will be added to the woopra tracking script. For instance, if you wanted to track the gender of the user, assuming you've captured the data, you could do it like so:

<g:woopraTrackingScript gender="${ session?.user?.gender }" />

This assumes you have a user in session that has a populated gender attribute.

If you supply an attribute of email the plugin will automatically add an avatar attribute and attempt to get an avatar from Gravatar and pass it to Woopra.