• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

CVM/Magento_GoogleTagManager: Google Tag Manager extension for Magento

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称(OpenSource Name):

CVM/Magento_GoogleTagManager

开源软件地址(OpenSource Url):

https://github.com/CVM/Magento_GoogleTagManager

开源编程语言(OpenSource Language):

PHP 100.0%

开源软件介绍(OpenSource Introduction):

Google Tag Manager

A standard implementation of Google Tag Manager for Magento, with data layer support for transaction and visitor data.

Features

Built in data layer support

Use the data layer to enable Google Analytics e-commerce tracking using Google Tag Manager's native tags. You can also build more flexible macros in GTM using visitor data.

The future

Additional data layer work is planned for future releases, starting with site search data.

This extension is made available for free. Any donations toward maintaining it and adding new features as Google Tag Manager evolves are greatly appreciated.

Donate via PayPal

Installation

The latest version of this extension can be downloaded via Magento Connect and installed via Magento Connect Manager.

Alternatively, you can also clone or download this repository and copy the app directory into the root of your Magento installation (not recommended unless you're sure you know what you're doing).

Usage

Log in to your Magento installation's admin and navigate to System > Configuration > Sales > Google API. If installed correctly, you should see a new section below Google Analytics for Google Tag Manager.

Deploying the tag container

To deploy the tag container on all your pages, switch the Enable option to Yes and enter your Container Public ID. This can be found in the Google Tag Manager interface, and takes the form GTM-XXXX.

Enabling the data layer

The data layer provides Google Tag Manager with additional data that can be used to form macros which can in turn be used for creating rules that dictate when specific tags will fire. It is also populated with transaction data when orders are placed, facilitating Google Analytics e-commerce tracking when using the appropriate tag in Google Tag Manager.

The data layer is disabled by default and can be enabled independently for both transaction and visitor data. To do this, change the Data layer: Transactions or Data layer: Visitors options to Enable.

For transactions, there are additional fields for transactionType and transactionAffiliation that can take custom values, depending on the store view. These can be left blank if desired, or populated to allow Google Tag Manager to fire different tags for different stores.

Support

Please report bugs and feature requests using the Github issue tracker.




鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap