PHPackages                             joseym/li3\_analytics - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. joseym/li3\_analytics

ActiveLi3-libraries[Utility &amp; Helpers](/categories/utility)

joseym/li3\_analytics
=====================

Analytic Plugin for Lithium PHP

21522PHP

Since Sep 18Pushed 13y ago1 watchersCompare

[ Source](https://github.com/joseym/li3_analytics)[ Packagist](https://packagist.org/packages/joseym/li3_analytics)[ RSS](/packages/joseym-li3-analytics/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Analytic Plugin for [Lithium PHP](http://lithify.me)
====================================================

[](#analytic-plugin-for-lithium-php)

A plugin to assist with the assignment of Analytical services, AB tests and click tracking.

> Currently supports [Google Analytics](http://www.google.com/analytics/), [Optimizely](http://www.optimizely.com), [Webtrends Analytics 9 &amp; 10](http://webtrends.com/products/analytics), [Chartbeat](http://chartbeat.com), and [comScore Direct](http://direct.comscore.com)

[![Build Status](https://camo.githubusercontent.com/6549ca8243408c84416f320eef18e937b08a70e23e90535e0a36fd0e8a1f3b83/68747470733a2f2f7365637572652e7472617669732d63692e6f72672f6a6f7365796d2f6c69335f616e616c79746963732e706e673f6272616e63683d6d6173746572)](http://travis-ci.org/joseym/li3_analytics)

Installation
------------

[](#installation)

**Composer** (best option)

Modify your projects `composer.json` file

```
{
    "require": {
    	...
        "joseym/li3_analytics": "dev-master"
        ...
    }
}
```

Run `php composer.phar install` (or `php composer.phar update`) and, aside from adding it to your Libraries, you should be good to go.

---

**Submodule** (If you feel like it)

From the root of your app run `git submodule add git://github.com/joseym/li3_analytics.git libraries/li3_analytics`

---

**Clone Directly** (meh)

From your apps `libraries` directory run `git clone git://github.com/joseym/li3_analytics.git`

Usage
-----

[](#usage)

### Load the plugin

[](#load-the-plugin)

Add the plugin to be loaded with Lithium's autoload magic

In `app/config/bootstrap/libraries.php` add:

```
