inpsyde/google-tag-manager 问题修复 & 功能扩展

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

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

inpsyde/google-tag-manager

Composer 安装命令:

composer require inpsyde/google-tag-manager

包简介

Adds the Google Tag Manager container snippet to your site and populates the Google Tag Manager Data Layer.

README 文档

README

Version Status Build codecov Downloads License WordPress Playground Demo

Inpsyde Google Tag Manager inserts the GTM Container Code on every page of your WordPress site and writes data to the Data Layer.

Inpsyde Google Tag Manager

Documentation

  1. Intro
  2. Hooks
  3. Collectors
  4. FAQ

How to start development

Note

The master branch contains a production-ready plugin with pre-built assets, but development happens on other branches.

For development, clone the repository (which uses the default development branch) and run the build process to generate the required assets and install PHP dependencies before you begin coding:

cd google-tag-manager
composer install
npm install && npm run build

Testing & Quality

To run all tests you've to install composer dev-dependencies first.

PHPCS

vendor/bin/phpcs

PHPUnit

vendor/bin/phpunit

How to create a release

To create a release go to the <target> branch and create the tag and the release.

Example 1: A change is going to be added to master branch.

  • A developer makes a PR to dev/master branch adding a feature.
  • Once it gets merged, a maintainer triggers the Build and distribute workflow providing the version number to be released.
  • [bot] This workflow will create a build and push it to master branch.
  • [human] Then create a tag on master and then a release.

Example 2: A change is going to be added to 1.x branch.

  • A developer makes a PR to dev/1.x branch adding a feature.
  • Once it gets merged, a maintainer triggers the Build and distribute workflow providing the version number to be released.
  • [bot] This workflow will create a build and push it to 1.x branch.
  • [human] Then create a tag on 1.x and then a release.

Copyright and License

This package is free software distributed under the terms of the GNU General Public License version 2 or (at your option) any later version. For the full license, see LICENSE.

inpsyde/google-tag-manager 适用场景与选型建议

inpsyde/google-tag-manager 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 61.21k 次下载、GitHub Stars 达 24, 最近一次更新时间为 2017 年 11 月 29 日, 在 PHP 生态内属于活跃度较高的组件。

我们在过去多个企业项目中使用过 inpsyde/google-tag-manager 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。

围绕 inpsyde/google-tag-manager 我们能提供哪些服务?
定制开发 / 二次开发

基于 inpsyde/google-tag-manager 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。

BUG 修复 & 性能优化

线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。

项目外包 & 长期维护

承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。

yvsm@zunyunkeji.com QQ:316430983 微信:yvsm316 西安尊云信息科技 · 专注 PHP / Go / 分布式系统研发

统计信息

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

GitHub 信息

  • Stars: 24
  • Watchers: 3
  • Forks: 2
  • 开发语言: PHP

其他信息

  • 授权协议: GPL-2.0-or-later
  • 更新时间: 2017-11-29