dorsetdigital/silverstripe-simplegtag 问题修复 & 功能扩展

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

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

dorsetdigital/silverstripe-simplegtag

最新稳定版本:v3.0.0

Composer 安装命令:

composer require dorsetdigital/silverstripe-simplegtag

包简介

Simple method of adding GTM tags

README 文档

README

A very simple way to add Google Tags to a site for analytics, adwords, etc.

Scrutinizer Code Quality Build Status License Version

Requirements

*Silverstripe 6.x (for CMS 4/5, please use the 2.x release)

Installation

  • Install the code with composer require dorsetdigital/silverstripe-simplegtag
  • Run a dev/build?flush to update your project

Usage

This module injects the required code for Google Tag Manager into your pages. Once installed, set your GTM ID in the site config.

The module injects code into the html <head> and the <noscript> snippet into the page at the start of the <body>

Consent

If you are using the cookie consent module (https://github.com/TheBnl/silverstripe-cookie-consent) then this module will only add the GTM tags if a user has accepted analytics cookies.

统计信息

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

GitHub 信息

  • Stars: 1
  • Watchers: 2
  • Forks: 0
  • 开发语言: PHP

其他信息

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