KISSmetrics

This project is not covered by Drupal’s security advisory policy.

This module adds the KISSmetrics web statistics tracking system to your website.
It integrates with Rules and lets you to log arbitrary events and properties of your visitors/users (eg. Gender, Age, etc...) on KISSmetrics using a Rules action.

Installation

  1. Get KISSmetrics libaray from http://github.com/kissmetrics/KISSmetrics and put it in /sites/all/libraries/kissmetrics, so that you have km.php in /sites/all/libraries/kissmetrics/km.php
  2. Download and Install this module and go to admin/config/services/kissmetrics and set your API key.
  3. If you want to use Cron to send data to KISSmetrics (yes, you do!) then set the "Log directory" take a valid writable directory and take a look at look at http://support.kissmetrics.com/apis/cron

Usage

For each of the events that you want to send to KISSmetrics, create a rule on an event based on your needs, add an action of type "Log a KISSmetrics event" and set event name shown on KISSmetrics in "KISSmetrics Event" field.
You should enter properties of the KISSmetrics event in "Parameters" field. Enter one property per line in key|value format.

Developer API

You can log custom events by passing the event name and an associative array as containing event parameters to kissmetrics_log_event(). You can also set properties for the identified user by passing an associative array to kissmetrics_set_property() function.
For more info take a look at the documentation of these two functions in kissmetrics.module file.

Trademark disclaimer

Product names, logos, brands, and other trademarks used, featured or referred to in this module are the property of their respective trademark holders.

Development sponsored by teamdeal.co.

Project information

Releases