Skip to content

Commit

Permalink
update to 0.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
manumaticx committed Nov 19, 2014
1 parent 990e7bd commit 198d50b
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
@@ -1,4 +1,4 @@
# ti.piwik [![gittio](http://img.shields.io/badge/gittio-0.1.0-00B4CC.svg)](http://gitt.io/component/ti.piwik)
# ti.piwik [![gittio](http://img.shields.io/badge/gittio-0.1.1-00B4CC.svg)](http://gitt.io/component/ti.piwik)
> Piwik Analytics Module for Titanium
## Description
Expand Down
14 changes: 12 additions & 2 deletions documentation/index.md
Expand Up @@ -107,6 +107,13 @@ Sets (overrides) the current url.

returns the `tracker`.

##### tracker.setUserID( `user_id` )
Sets (overrides) the current user identifier.

* `user_id` _{string}_ Your unique identifier for the current logged in user.

returns the `tracker`.

##### tracker.setCustomVariable( `index`, `name`, `value`, `scope` )
Set custom variable within this visit. All set custom variables will be recognized in the next tracking and reset afterwards.

Expand All @@ -128,7 +135,10 @@ returns the `tracker`.
Logs an event. An event is for example a click or a setting change.

* `event` _{Object}_
* `event.title` _{string}_ - The title of the event.
* `event.category` _{string}_ - The category of the event. - Defaults to the document title
* `event.action` _{string}_ - The action of the event.
* `event.name` _{string}_ - The name of the event.
* `event.value` _{string}_ - The value of the event.
* `event.url` _{string}_ - An absolute url to identify this event without protocol and so on.

##### tracker.trackException( `exception` )
Expand Down Expand Up @@ -166,4 +176,4 @@ Tracks a window. It'll always detect the controller / action depending on the gi

## License

[The MIT License (MIT)](LICENSE)
[The MIT License (MIT)](LICENSE)
2 changes: 1 addition & 1 deletion manifest
Expand Up @@ -2,7 +2,7 @@
# this is your module manifest and used by Titanium
# during compilation, packaging, distribution, etc.
#
version: 0.1.0
version: 0.1.1
apiversion: 2
description: Piwik Analytics Module
author: Manuel Lehner <manumaticx@gmail.com>
Expand Down
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -5,7 +5,7 @@
"piwik",
"analytics"
],
"version": "0.1.0",
"version": "0.1.1",
"author": "Manuel Lehner <manumaticx@gmail.com>",
"main": "./src/ti.piwik.js",
"scripts": {
Expand Down
Binary file removed ti.piwik-commonjs-0.1.0.zip
Binary file not shown.
Binary file added ti.piwik-commonjs-0.1.1.zip
Binary file not shown.

0 comments on commit 198d50b

Please sign in to comment.