承接 betacie/ganalytics-bundle 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

betacie/ganalytics-bundle

最新稳定版本:v0.1

Composer 安装命令:

composer require betacie/ganalytics-bundle

包简介

Google Analytics Bundle

README 文档

README

Google Analytics bundle. See https://github.com/betacie/google-analytics for betacie/google-analytics usages

You need to store all your events before render them.

// You could use tracker service in a controller or inject him in other services
// like a registration listener
$this->container->get('betacie_google.event_tracker')->trackEvent([
    'category' => 'Registration',
    'action' => 'Confirmed',
    'label' => 'user-1',
]);

Once you have stored all the events, the tracking code will be displayed with a Twig function.

// Twig template
{{ google_track() }}

统计信息

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

GitHub 信息

  • Stars: 0
  • Watchers: 4
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2015-01-20