sanatorium/analytics 问题修复 & 功能扩展

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

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

sanatorium/analytics

Composer 安装命令:

composer require sanatorium/analytics

包简介

Package to retrieve Google Analytics data for Cartalyst Platform

README 文档

README

Package to retrieve Google Analytics data for Cartalyst Platform

Contents

  1. Documentation
  2. Changelog
  3. Support
  4. Hooks

Documentation

Configuration

Universal Analytics ID

Admin > Property > Tracking Info > Tracking Code

Should look like UA-XXXXXXXX-X

Universal Analytics ID

Site ID

Admin > View > View Settings > View ID

Copy the View ID and prefix that with "ga:"

Should look like: ga:xxxxxxxx

Site ID

Client ID

Provide Client ID of Google account with Google Analytics API enabled. You will also get service email there, note that down, it's used in Service E-mail.

Client ID

Service E-mail

Service E-mail of the Google Account, this also needs to be added to Admin > View > User Settings as a user with atleast permission to read.

Service E-mail

Certificate .p12

Path to .p12 certificate, to obtain:

  • Open the project, go to APIs & auth > Credentials
  • Click on Create new Client ID, and select Service account and P12 key. Then click on Create Client ID to download it.

Map mode

Area to show in map widget.

Track admin area

Enable/Disable analytics for admin area (helps us improve the user experience).

Universal Analytics ID (admin)

Should look like UA-XXXXXXXX-X, default value

UA-71753817-1

Changelog

  • 1.3.0 - 2016-08-06 - Readme, expections

Support

Support not available.

Hooks

List of currently used hooks:

'scripts.footer' => 'sanatorium/analytics::hooks.trackingCode',
'admin.scripts.footer' => 'sanatorium/analytics::hooks.trackingCodeAdmin',

统计信息

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

GitHub 信息

  • Stars: 0
  • Watchers: 2
  • Forks: 0
  • 开发语言: JavaScript

其他信息

  • 授权协议: Unknown
  • 更新时间: 2016-10-02

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固