0% found this document useful (0 votes)
13 views

PSHIFT Google Tag Manager Plan

The document lists various tracking tools and their configurations for a website. It includes Google Tag Manager, Google Analytics, Facebook Ads, and other pixel tags. It also outlines event tracking, variables, and triggers that can be used for tracking on the site.

Uploaded by

fcb21fcb
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as XLSX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
13 views

PSHIFT Google Tag Manager Plan

The document lists various tracking tools and their configurations for a website. It includes Google Tag Manager, Google Analytics, Facebook Ads, and other pixel tags. It also outlines event tracking, variables, and triggers that can be used for tracking on the site.

Uploaded by

fcb21fcb
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as XLSX, PDF, TXT or read online on Scribd
You are on page 1/ 19

website Name

Type Name Description Active


Google Tag Manager tag id FALSE

Base tracking id FALSE


Page view 0
Google Analytics
sign in FALSE
Enhanced Ecommerce 0

Remarketing FALSE
Dynamic Retargeting 0
Google Ads
Conversion linker FALSE
Conversion Tracking FALSE

Base pixel TRUE


View Content TRUE

facebook ads standard Add to cart TRUE


events

initiate check out TRUE

purchase + purchase value 1


scroll Depth 0
facebook ads custom
events time on page
session duration (V&H)

merchant center meta tag FALSE


Google ads account linking FALSE
google analytics account linking FALSE
Date feed FALSE
Google Shopping
Goolge shopping Activation FALSE
Dynamic Remarketing Activation FALSE
Free listing activation FALSE
Search consol Liking FALSE
Base PIXEl FALSE
View Content FALSE
tiktok Pixel Add to cart FALSE
initiate check out FALSE
purchase + purchase value FALSE

Base PIXEl FALSE


View Content FALSE
Snapchat Add to cart FALSE
initiate check out FALSE
purchase + purchase value FALSE

Value
T.id
ONLY PRICE
VALUE
Variabels From Data layer

{{Content Groups By Vriables )

gtm4wp.orderCompletedEEC

ecomm_prodid,ecomm_pagetype,ecomm_totalvalue

ecommerce.purchase.actionField.revenue+ Product price


Scroll Depth Threshold
gtm.timerElapsedTime
visibleTime , hiddenTime
ecommerce.purchase.actionField.revenue
ecommerce.purchase.actionField.id
orderData.items.0.price
var totalTime = {};
if (typeof prefix() !== 'undefined') {
var prevTime = 0;
var visibilityEvent = prefix() + 'visibilitychange';
var tabPath = 'visibleTab';

//Initialize the listeners


document.addEventListener(visibilityEvent,
function(e){ Tag Plan
var isHidden=visibilityState(prefix()) Marketing Tools
Tag Id / Pixel
if (typeof id / !==
isHidden Conversion
'undefined')Id{
prevTime = 0 ? newPut
Date().getTime()
Tag id Here - startTime : new
Date().getTime() - startTime - prevTime;

//Total Time for previous visibility state


if(isHidden) { totalTime.visibleTime=prevTime;
tabPath+=">hiddenTab"}
else {totalTime.hiddenTime=prevTime;
tabPath+=">visibleTab" }
Custom} Event
//////Debugging Datalayer Event /////////
dataLayer.push({
'event' : 'visibilityChange',
'visibleTime'
Manual: Variabels
totalTime.visibleTime,
'hiddenTime': totalTime.hiddenTime,
'hidden' : isHidden,
'tabPath': tabPath
});
///////////////
}, false);
window.addEventListener('beforeunload', function(e)
{
var isHidden=visibilityState(prefix())
<script>
fbq('track', 'AddToCart', {
if (typeof isHidden{{Product
content_ids: !== 'undefined')
Id}}, {
prevTime = 0 content_type:
? new Date().getTime() - startTime
'product_group', : new
Date().getTime() - startTime -
value: {{Product Price}},
prevTime;
if(!isHidden){totalTime.visibleTime=prevTime}
<script>
currency: 'EGP'
else {totalTime.hiddenTime=prevTime}
fbq('track', 'InitiateCheckout',
}); {
content_ids:} {{Product Id}},
</script>
content_type: 'product_group',
if(tabPath.split('>').length
value: {{Product Price}},> 3) {
var len = Math.floor(tabPath.split('>').length
currency: 'EGP' / 2);
fbq('track', 'Purchase',var{value:
adtxt 0.00, currency: 'USD'});
}); = ''
if(tabPath.split('>').length / 2 % 1 !== 0){adtxt+=' >
</script>
visibleTab';}
var timeOnPage = {{test.timerElapsedTime}} / 1000;
tabPath = '(visibleTab
fbq ('trackCustom', > hiddenTab)
'Time Tracking', {'Time on xpage':
'+len+adtxt
timeOnPage +
'seconds', 'page':} '{{Page URL}}'});

dataLayer.push({
'event' : 'sendTimings',
'visibleTime' : totalTime.visibleTime,
'hiddenTime': totalTime.hiddenTime,
'hidden' : isHidden,
'tabPath': tabPath
});

// reset the variables after sending data to analytics


prevTime=0;
startTime = new Date().getTime();
totalTime = {};
tabPath = 'visibleTab';
}, false);

}
})()

function prefix() {
var prefixes = ['moz', 'ms', 'o', 'webkit'];
if ('hidden' in document) {
Tag Plan
Marketing Tools Triggers
Notes

if we Play on Multible Stores (rollup property )


class="action action-auth-toggle"
enable Enhanced Ecommerce on Analytics Then Tag manager

Magento :_ action primary tocart

orderData.items.0.price
<script>
fbq('trackCustom', 'Scroll',{Depth: {{Scroll Depth Threshold}}}); scroll Trigger 25, 50, 75, 90
time on page </script>
<script>fbq('trackCustom','Time On Page',{'Page
timer by millsecVisible Time':
{{visibleTime}}, timer
'Page Hidden Time':{{hiddenTime}},'page':{{Page sendTimings custome events
URL}}})</script>

Payment info , adress , phone nu , Email on foter


when to use

long page with multi elements


Tag Plan
Name website
PathName Pages / Templates
Description
thank-you Purchase - Transaction
checkout-page/ initiate checkout
/product/ view content
Notes
Tag Plan
ID Name
website Name Events Definition
Botton Clicks Add To cart
custom event Enhanced ecommerce
Description
Click Class Contains (single_add_to_cart_button)
Event Name ( gtm4wp.orderCompletedEEC )
Active Notes
TRUE
TRUE
FALSE
FALSE
FALSE
FALSE
Type Name website Name
Google Tag Manager for WordPress By Thomas Geiger
Tag Plan
Definition
Audiences
Gives us DATA LAYERS
Active Notes
TRUE
FALSE
FALSE
FALSE

You might also like