there4/php-analytics-event 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

there4/php-analytics-event

最新稳定版本:v1.2.0

Composer 安装命令:

composer require there4/php-analytics-event

包简介

Send Google Analytics events from PHP

README 文档

README

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

composer require there4/php-analytics-event

Example

<?php

use There4\Analytics\AnalyticsEvent;

// Record the download event in Analytics
$events = new AnalyticsEvent('UAxxxxxxx', 'example.com');
$events->trackEvent('resources', 'download', 'cli-latest');

Related Projects

The Google Analytics Measurement Protocol library for PHP project is a much larger implementation of the Measurement Protocol. If you need more than a simple tracking event you should check it out.

统计信息

  • 总下载量: 40.81k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 23
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 23
  • Watchers: 2
  • Forks: 4
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2014-11-01