PHPackages                             there4/php-analytics-event - 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. [API Development](/categories/api)
4. /
5. there4/php-analytics-event

ActiveLibrary[API Development](/categories/api)

there4/php-analytics-event
==========================

Send Google Analytics events from PHP

v1.2.0(5y ago)2541.5k4MITPHPCI failing

Since Nov 1Pushed 5y ago2 watchersCompare

[ Source](https://github.com/there4/php-analytics-event)[ Packagist](https://packagist.org/packages/there4/php-analytics-event)[ RSS](/packages/there4-php-analytics-event/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (3)Dependencies (1)Versions (5)Used By (0)

PHP Analytics Events [![Build Status](https://camo.githubusercontent.com/282f8169feb0997473fff716735c95dd4c982bc52077e9fa52410b8cf6b1e8bc/68747470733a2f2f7472617669732d63692e6f72672f7468657265342f7068702d616e616c79746963732d6576656e742e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/there4/php-analytics-event)
==================================================================================================================================================================================================================================================================================================================================

[](#php-analytics-events-)

> Create a Google Analytics Event from PHP

This is a small class to post Analytics events from PHP. This is useful for logging and event tracking.

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

[](#installation)

```
composer require there4/php-analytics-event
```

Example
-------

[](#example)

```
