定制 innoweb/silverstripe-googleanalytics 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

innoweb/silverstripe-googleanalytics

最新稳定版本:6.0.0

Composer 安装命令:

composer require innoweb/silverstripe-googleanalytics

包简介

Adds Google Analytics to the site using Gtag or Google Tag Manager.

README 文档

README

Overview

Adds Google Analytics to the site supporting:

  • Global Site Tag (gtag.js)
  • Google Tag Manager (GTM)

The module is derived from Shea's analytics module for multisites and supports single site, multisites and configured-multisites setups.

Requirements

  • Silverstripe 6

Installation

Install the module using composer:

composer require innoweb/silverstripe-googleanalytics dev-master

Add <% include Innoweb/GoogleAnalytics/GoogleAnalyticsHead %> in the head and <% include Innoweb/GoogleAnalytics/GoogleAnalyticsBody %> right after the opening body tag in your main page template.

Then run dev/build.

Usage

All settings can be configured from the CMS.

In your SiteConfig (or the config of your Site when using multisites) you find a tab 'Google Analytics'. Select the analytics type you have setup for your GA account and add the ID. Done.

All GA code only gets inserted in live mode.

License

BSD 3-Clause License, see License

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: BSD-3-Clause
  • 更新时间: 2018-07-02

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固