Enhanced Ecommerce Tracking with Google Tag Manager - Installation/Set-up Guide

Similar documents
Google Universal Analytics Enhanced E-commerce Tracking - Installation/Set-up Guide

Cash Back Discount Extension Installation/Set-up Guide

Easy Conversion Tracking with Magento Commerce

Google Universal Analytics Documentation

Facebook Pixel for Remarketing for Magento 2

Newsletter Popup v3.x Configuration for Magento 2

Extension User Guide Order By SKU Brainvire Infotech Pvt. Ltd

HiConversion Customer Experience Optimization

Facebook Pixel for Remarketing Configuration Instructions

HiConversion Customer Experience Optimization

Magento 1 Extension. ( Version ) STORE.DCKAP.COM

Extension User Guide Customer Attributes Brainvire Infotech Pvt. Ltd

ipay88 PLUG-IN USER GUIDE

CedCommerce. All rights reserved.

Magento Survey Extension User Guide

PHPBasket 4 Administrator Documentation

Google Tag Manager. Google Tag Manager Custom Module for Magento

Google Tag Manager GUIDE. Total Completion Time Pros: 37 min 1hr 52 min Beginners: +4 hrs. blitzmetrics.com Google Tag Manager V2.

All-In-One-Designer SEO Handbook

Klarna Checkout Plug-in

Installation through FTP

Cart Product Selector. Quick Start Guide

FREE AJAX SUITE. User Guide FOR MAGENTO 2. Version: Release Date: Product Page: Ajax Suite. Support:

Wholesale Add To Cart Grid. User manual

USER GUIDE. LitExtension: YAHOO STORE to Magento Migration Tool

FCPM Copyright Best4Mage V4.1.0

Brainvire Easyconfigurable

USER MANUAL. MageMob App Builder TABLE OF CONTENTS. Version: 2.0.0

GUEST CHECKOUT TO REGISTERED CUSTOMERS. User Guide. User Guide Page 1

magento_1:full_page_cache

PRODUCT QUESTIONS USER GUIDE

FACEBOOK CONNECT PLUG-IN USER GUIDE

Magento 1 Switch Order Owner. Quick Start Guide

How to Migrate from Drupal Commerce to Magento

magento_1:full_page_cache

GUEST CHECKOUT TO REGISTERED CUSTOMERS

Store Pickup Magento2 USER MANUAL MAGEDELIGHT.COM E:

USER MANUAL. SEO Hub TABLE OF CONTENTS. Version: 0.1.1

HIDE PRICE CALL FOR PRICE FOR MAGENTO 2

2CHECKOUT PLUG-IN USER GUIDE

Buyback inquiries listing page: Buyback requst page:

SLI Learning Search Connect For Magento 2

Advanced Digital Marketing Course

CMS and e-commerce Solutions. version 1.0. Please, visit us at: or contact directly by

Overview What s Google Analytics? The Google Analytics implementation formula. Steps involved in installing Google Analytics.

Google Tag Manager. Guide

store.belvg US: UK:

Amazon Affiliate Program-Magento 1

Product Recommendation based on Order History. Table of Contents

Conlabz_Zipcode_Validation_EN

Altima Lookbook Professional Magento ecommerce Extension Version 1.6.9

skype ID: store.belvg US phone number:

USER MANUAL ADVANCE SHOP BY BRAND TABLE OF CONTENTS. Version: 1.0.4

Magento 2 Shipping Flat Rate5. Quick start guide

Thanks for buying the Advanced Color Swatches Extension for Magento. 1. Drop the app-js-skin folders in your magento installation folder.

Follow Up . Magento Extension User Guide. Official extension page: Follow Up . User Guide: Follow Up

Google Analytics Health Check Checklist: Property Settings

Pinnacle Cart User Manual v3.6.3

Version USER GUIDE

Ajax Quick View Pro Extension

Quick Start Manual. Not2Order for Magento 2. Start here

CUSTOM GOOGLE SEARCH. User Guide. User Guide Page 1

USER MANUAL TABLE OF CONTENTS. Advance Product File Upload. Version: 0.1.2

Navigation Menu Pro Extension

When you. website and. Page 1

Web Push Notification

Dynamic Product Options extension for Magento2. User Guide

Implementation Guide. The essentials

CMSnipcart Documentation

Store Pickup M2 USER MANUAL E: P: +1-(248)

STORE LOCATOR PLUGIN USER GUIDE

$ $ Release Notes 3.4

VirtueMart Product Scroller Module

Magento 1 Installation Guide. Sort by Date. Installation Guide 1

Order Management Magento Extension User Guide

Instagram Integration Widget User Guide

Store Locator Magento 2 USER MANUAL E: P: +1-(248)

Documentation Module: Magento products integration for WordPress Version: 1.0.0

Reference Cart and One Page Checkout BETA February 3, 2014 Version 2014 Release 1

Flexslider v1.x Installation and User Manual

Gift Cards Extension. User Guide GIFT CARDS 1

The CanadaHelps Guide to Google Analytics & Google Tag Manager for Your Customizable Donation Forms

cdiscount version BoostMyShop

Dynamic Product Options extension for Magento2. User Guide

Ajax Infinite Scroll Pro Extension

Jet-Magento Integration Guide

Table of Contents. Introduction to Product Slider How to Install and Deactivate How to Configure How to Use...

Magento Pinterest Extension User Guide

CM Coupon Listing Documentation

Optimizes the navigation and lets visitors search by categories, price ranges, color, and other product attributes.

Subscriptions and Recurring Payments 2.X

Important Notice. All company and brand products and service names are trademarks or registered trademarks of their respective holders.

USER MANUAL LANGUAGE TRANSLATOR TABLE OF CONTENTS. Version: 1.1.6

USER MANUAL. Language Translator TABLE OF CONTENTS. Version: 1.0.4

Product Inquiry for Magento 2.X

Index. Copyright (c) Toogas,lda 2

Pincode Checker - Admin Guide

WEBSITE INSTRUCTIONS. Table of Contents

Accelerated Mobile Pages v1.x Configuration for Magento 1 From Plumrocket Documentation

Company Name. Start Date

Transcription:

Enhanced Ecommerce Tracking with Google Tag Manager - Installation/Set-up Guide 1. Disable Compilation Mode: To check that this is disabled, go to System- >Tools->Compilation. If the compiler status is Disabled, you are ready to go. If not, simply click the Disable button on the right hand side of the screen. 2. Upload Package: Upload the content of the module to your root folder. This will not overwrite the existing Magento folder or files, only the new contents will be added. 3. Clear Caches: This can be done from the admin console by navigating to the cache management page (System->Cache Management), selecting all caches, clicking refresh from the drop-down menu, and submitting the change. Logout and login back in Admin. 4. Configuration settings for Google Tag Manager Tracking: Go to Admin->System->Configuration->Scommerce Configuration->Google Tag Manager Tracking->General a. Enable: Set yes to enable the module. b. License Key: Enter the License key provided by Scommerce Mage. c. Account Id: Enter your Google Tag Manager Account Id. d. Enhanced Ecommerce: Set yes to enable the enhanced ecommerce. e. Brand Attribute : Select brand attribute to send brand information to Google Analytics

f. Brand text box: If you don t have brand attribute and you want to send default brand name to Google Analytics then you can enter here. g. Base: Set 'Yes' if you want to send base order data and 'No' to send store order data to Google. Set this to Yes always unless you have multi-store/currency is enabled and you want to send different currency data to Google. h. Send Phone or Admin Orders - Enable this feature only if you want to send admin orders on order creation i. Source - You can add your source here to pass this to Google for admin orders j. Medium - You can add your source here to pass this to Google for admin orders k. Enable dynamic remarketing tags and facebook tracking: Set yes to enable dynamic remarketing tags and facebook tracking l. Product ID Attribute: Select attribute for product ID, this should be same attribute as you have in your Google Base Feed. m. Enable GDPR cookie check: If you are using our GDPR extension or any other GDPR extension and you want to block sending information to Google then set this to "yes" based on customer preference. Please note this is optional as far as you are not sending any PII to Google this setting needs to be turned off n. GDPR Cookie Key: You can add name of your GDPR cookie here for our GDPR extension the name of cookie key is cookie_accepted but if you are using other GDPR extension then please check with extension developer 5. Import JSON container file to Google Tag Manager Admin -> Import Container -> Choose container file (check json files in the zip file of your extension) GTM-UniversalAnalytics.json Update GA ID variable in the variable section of GTM GTM-Facebook.json Update facebookpixel variable in the variable section of GTM GTM-AdwordsDynamicRemarketing.json Update conversionid variable in the variable section of GTM Or follow the following steps to set up the above tracking(s) manually

6. Set up Google Tag Manager for Enhanced Ecommerce Create the following variable Google Analytic ID Create the following triggers o Product Click

o Add To Cart o Remove From Cart o Checkout for measuring steps

Create the following tags o Universal Analytics All Pages (Event - gtm.dom)

N.B Event should be gtm.dom instead of pageview. o Product Click

o Add To Cart

o Remove From Cart

o Checkout for measuring steps

Publish the tags. 2. Set up Enhanced Ecommerce in Google Analytics

To turn on Enhanced E-commerce for a view, and label your checkout steps: 1. Click Admin at the top of any Analytics page. 2. Select the view for which you want to enable Enhanced E-commerce reporting. 3. In the View column, click E-commerce Settings. 4. Under Step 1, Enable E-commerce, set the status to ON. 5. Click Next step. 6. Under Step 2, Enhanced E-commerce Settings, set the status to ON. When you turn this option on: o You can then see the Enhanced E-commerce reports in the Conversions section o The other, older category of E-commerce reports is no longer visible You can turn this option off to restore the older category of E-commerce reports. 7. Optionally, enter labels for the checkout steps that you have defined in your Magento steps configuration. Please see screenshot below for reference 8. Click Submit. 1 1

7. Set up Google Tag Manager for Facebook Dynamic Remarketing Create the following variables Facebook Pixel ID Total (data layer variable - google_tag_params.ecomm_totalvalue)

currencycode Product ID (s) (data layer variable - google_tag_params.ecomm_prodid)

Product Price (s) (data layer variable - google_tag_params.ecomm_pvalue) Checkout Steps (data layer variable - ecommerce.checkout.actionfield.step)

Create the following triggers o Checkout Initiate o Initiate Payment

o Search Page o Remarketing Tag Product

o Remarketing Tag Purchase o Add to Cart (same as Enhanced Ecommerce please check above section)

Create the following tags o Facebook Audience Pixel All Pages <!-- Facebook Pixel Code --> <script>!function(f,b,e,v,n,t,s){if(f.fbq)return;n=f.fbq=function(){n.callmethod? n.callmethod.apply(n,arguments):n.queue.push(arguments)};if(!f._fbq )f._fbq=n; n.push=n;n.loaded=!0;n.version='2.0';n.queue=[];t=b.createelement(e );t.async=!0; t.src=v;s=b.getelementsbytagname(e)[0];s.parentnode.insertbefore (t,s)}(window, document,'script','//connect.facebook.net/en_us/fbevents.js'); fbq('init', '{{facebookpixelid}}'); fbq('track', 'PageView'); </script> <noscript><img height="1" width="1" style="display:none"

src="https://www.facebook.com/tr?id={{facebookpixelid}}&ev=pagev iew&noscript=1" /></noscript> <!-- End Facebook Pixel Code -->

o Facebook Audience Pixel Product View (Trigger this on Remarketing Tag Product) Custom HTML Tag <script> fbq('track', 'ViewContent', { content_type: 'product', //either 'product' or 'product_group' content_ids: ['{{productid}}'], //array of one or more product SKUs in the page value: '{{productprice}}', //OPTIONAL, but highly recommended currency: 'USD' //REQUIRED if you a pass value }); </script>

o Facebook Audience Pixel Search Page (Trigger this on Search Result Page) Custom HTML Tag <script> fbq('track', 'Search'); </script>

o Facebook Audience Pixel Add To Cart (Trigger this on Add To Cart) Custom HTML Tag <script> var productids = '{{productid}}'; var results = productids.split(","); fbq('track', 'AddToCart', {

content_ids: results, //array of one or more product SKUs in the page`z content_type: 'product', value: '{{total}}', //OPTIONAL, but highly recommended currency: 'USD' //REQUIRED if you pass a value }); </script>

o Facebook Audience Pixel Initiate Checkout (Trigger this on Initiate Checkout) Custom HTML Tag <script> fbq('track', 'InitiateCheckout'); </script>

o Facebook Audience Pixel Initiate Payment (Trigger this on Initiate Payment) Custom HTML Tag <script> fbq('track', 'AddPaymentInfo'); </script>

o Facebook Audience Pixel Purchase(Trigger this on Remarketing Tag Purchase) Custom HTML Tag <script> var productids = '{{productid}}'; var results = productids.split(","); console.log(results); fbq('track', 'Purchase', { content_type: 'product', //either 'product' or 'product_group'

content_ids: results, //array of one or more product SKUs in the page value: '{{total}}', //REQUIRED currency: '{{currencycode}}' //REQUIRED }); </script>

8. Set up Google Tag Manager for Google Dynamic Remarketing Create the following variables Google Tag Params Conversion ID

Create the following triggers o Remarketing Tag Home o Remarketing Tag Category

o Remarketing Tag Cart o Remarketing Tag Product (same as Facebook Dynamic Remarketing please check above section)

o Remarketing Tag Purchase (same as Facebook Dynamic Remarketing please check above section) Create the following tags o Adwords Dynamic Remarketing Home (Trigger this on Remarketing Tag Home)

o Adwords Dynamic Remarketing Category (Trigger this on Remarketing Tag Category)

o Adwords Dynamic Remarketing Product (Trigger this on Remarketing Tag Product)

o Adwords Dynamic Remarketing Cart (Trigger this on Remarketing Tag Cart)

Adwords Dynamic Remarketing Purchase (Trigger this on Remarketing Tag Purchase)

Ajax Add To Basket or Remove From Basket

Add the following two functions in your ajax add to basket js file and call gaaddtocart on success of Ajax add to basket and garemovefromcart on success of Ajax remove from basket function. Ajax Add To Basket function gaaddtocart(){jquery.cookie.json = true;var producttobasket = jquery.cookie("producttobasket");var productlist = jquery.cookie("productlist");if (producttobasket!= undefined){manipulationofcart(producttobasket,'add',productlist);jquery.remo vecookie("producttobasket", { path: '/', domain: '.' + document.domain});}} Ajax Remove From Basket function garemovefromcart(){jquery.cookie.json = true;var productoutbasket = jquery.cookie("productoutbasket");if (productoutbasket!= undefined){manipulationofcart(productoutbasket, 'remove', '');jquery.removecookie("productoutbasket", { path: '/', domain: '.' + document.domain });}} Please contact core@scommerce-mage.co.uk for any queries.