Here's the slides from my MeasureCamp presentation on Google Tag Manager, the data layer, and the tool-specific data model.
Here's an accompanying blog post as well:
http://www.simoahava.com/analytics/google-tag-manager-data-model/
Peter Howley of Google Analytics and Google Tag Manager Certified Partner Empirical Path trained the ABQ Web Geeks web professionals group on the free Google Tag Manager
Google Tag Manager | Google Tag Manager Tutorial 2019 | Google Tag Manager Se...Simplilearn
This presentation about Google Tag Manager will help you learn what is Google Tag Manager, benefits of Google Tag Manager, how Google Tag Manager works, and finally a demo on how to get started with Google Tag Manager. Google Tag Manager is a free tool offered by Google that helps every marketer to deploy and track tags on your website. With Google Tag Manager all tags are managed in one place allowing an individual to install tags without manually editing their website code. In short, it is an effective and efficient way to manage our website tracking code with less effort.
Below topics are explained in this Google Tag Manager presentation:
1. What is Google Tag Manager?
2. Benefits of Google Tag Manager
3. How Google Tag Manager works
4. How to get started with Google Tag Manager
Why learn Digital Marketing?
Businesses and recruiters prefer marketing professionals with genuine knowledge, skills, and experience verified by a certification that is accepted across industries. Continuous learning for any working professional is not only important for keeping themselves up to date with the current market trends, but it also helps them expand their array of skill set and become more flexible in the workplace.
What skills will you learn from this Digital Marketing course?
This course will enable you to:
1. Gain an in-depth understanding of the various digital marketing disciplines: search engine optimization (SEO), social media marketing, pay-per-click (PPC), website conversion rate optimization, web analytics, content marketing, mobile marketing, email marketing, programmatic buying, marketing automation, and digital marketing strategy
2. Master digital marketing execution tools: Google Analytics, Google Ads, Facebook Marketing, Twitter Advertising, and YouTube Marketing
3. Become a virtual digital marketing manager for an e-commerce company with Mimic Pro simulations included in our course. Practice SEO, SEM, Website Conversion Rate Optimization, email marketing and more.
4. Gain real-life experience by completing projects using Google Analytics, Google Ads, Facebook Marketing, and YouTube Marketing
5 Create the right marketing messages tailored to the right audiences
Who should take this Digital Marketing course?
Anyone who is looking to further his or her career in digital marketing should take this course, especially those seeking leadership positions. Any of these roles can benefit from Digital Marketing Specialist training:
1. Marketing Managers
2. Digital Marketing Specialists
3. Marketing or Sales Professionals
4. Management, Engineering, Business, or Communication Graduates
5. Entrepreneurs or Business Owners
6. Marketing Consultant
Learn more at https://www.simplilearn.com/digital-marketing/digital-marketing-certified-associate-training
This is a simple brief regarding google tag manager(GTM) and it points how GTM will be useful in your Digital Marketing life. Google Tag Manager will ease your work as a SEO.
an outline of the differences between the new google analytics 4 and the old universal analytics and my recommendation for next steps. It's mainly for shopify stores, but it can be applied to all businesses.
Peter Howley of Google Analytics and Google Tag Manager Certified Partner Empirical Path trained the ABQ Web Geeks web professionals group on the free Google Tag Manager
Google Tag Manager | Google Tag Manager Tutorial 2019 | Google Tag Manager Se...Simplilearn
This presentation about Google Tag Manager will help you learn what is Google Tag Manager, benefits of Google Tag Manager, how Google Tag Manager works, and finally a demo on how to get started with Google Tag Manager. Google Tag Manager is a free tool offered by Google that helps every marketer to deploy and track tags on your website. With Google Tag Manager all tags are managed in one place allowing an individual to install tags without manually editing their website code. In short, it is an effective and efficient way to manage our website tracking code with less effort.
Below topics are explained in this Google Tag Manager presentation:
1. What is Google Tag Manager?
2. Benefits of Google Tag Manager
3. How Google Tag Manager works
4. How to get started with Google Tag Manager
Why learn Digital Marketing?
Businesses and recruiters prefer marketing professionals with genuine knowledge, skills, and experience verified by a certification that is accepted across industries. Continuous learning for any working professional is not only important for keeping themselves up to date with the current market trends, but it also helps them expand their array of skill set and become more flexible in the workplace.
What skills will you learn from this Digital Marketing course?
This course will enable you to:
1. Gain an in-depth understanding of the various digital marketing disciplines: search engine optimization (SEO), social media marketing, pay-per-click (PPC), website conversion rate optimization, web analytics, content marketing, mobile marketing, email marketing, programmatic buying, marketing automation, and digital marketing strategy
2. Master digital marketing execution tools: Google Analytics, Google Ads, Facebook Marketing, Twitter Advertising, and YouTube Marketing
3. Become a virtual digital marketing manager for an e-commerce company with Mimic Pro simulations included in our course. Practice SEO, SEM, Website Conversion Rate Optimization, email marketing and more.
4. Gain real-life experience by completing projects using Google Analytics, Google Ads, Facebook Marketing, and YouTube Marketing
5 Create the right marketing messages tailored to the right audiences
Who should take this Digital Marketing course?
Anyone who is looking to further his or her career in digital marketing should take this course, especially those seeking leadership positions. Any of these roles can benefit from Digital Marketing Specialist training:
1. Marketing Managers
2. Digital Marketing Specialists
3. Marketing or Sales Professionals
4. Management, Engineering, Business, or Communication Graduates
5. Entrepreneurs or Business Owners
6. Marketing Consultant
Learn more at https://www.simplilearn.com/digital-marketing/digital-marketing-certified-associate-training
This is a simple brief regarding google tag manager(GTM) and it points how GTM will be useful in your Digital Marketing life. Google Tag Manager will ease your work as a SEO.
an outline of the differences between the new google analytics 4 and the old universal analytics and my recommendation for next steps. It's mainly for shopify stores, but it can be applied to all businesses.
URL shorteners like bit.ly, goo.gl, or t.co are ubiquitous on today’s Web and serve a purpose, which, as the title suggests, is to shorten URLs. However, there is a lot more that URL shorteners can do. For example, learn how to create bit.ly bundles, use goo.gl to generate QR codes that link to anything on the web, see how Twitter automatically shortens URLs using t.co, and discover valuable analytic data on who is clicking on and sharing your links.
Google have release Google Analytics 4. The biggest differences in that Google Analytics 4 includes a new data model that changes the way data is collected, stored and filtered. Google has promised plenty of new features over coming months, but here some of the big new things you'll find in GA4. Read the full post at https://bit.ly/Google-Analytics-4
Digital Analytics with the Google Tag Manager (GTM)Yourposition AG
This presentations points out the characteristics and advantages of using the Google Tag Manager as part of a Digital Analytics Setup, including an E-Commerce Use Case - from Enhanced E-Commerce, over UserID Tracking, to SEO.
Language: English
__
This was presented by Jonas Wendler at the Analytics Summit, at Google Switzerland, January 25th, 2016.
Advanced Google Analytics 4.0 by Aviso DigitalSumeet Mayor
Advanced Google Analytics facilitates Data Collection and processes it into readable reports. Custom Dimensions, Custom Metrics, and Event Tracking help collect data that's specific to your business. It demonstrates more advanced analysis techniques using segmentation, channel reports, audience reports, and custom reports, as well as marketing strategies like remarketing and Dynamic Remarketing that show ads to customers who have visited your website.
• Data Collection and Processing
o Google Analytics data collection
o Categorizing into users and sessions
o Applying configuration settings
o Storing data and generating reports
o Creating a measurement plan
• Setting Up Data Collection and Configuration
o Organize your Analytics account
o Set up advanced filters on views
o Create your own Custom Dimensions
o Create your own Custom Metrics
o Understand user behavior with Event Tracking
o More useful configurations
• Advanced Analysis Tools and Techniques
o Segment data for insight
o Analyze data by channel
o Analyze data by audience
o Analyze data with Custom Reports
• Advanced Marketing Tools
o Remarketing
o Better targeting with Dynamic Remarketing
How to Accurately Track Marketing Campaigns + Free Campaign Tagging ToolIn Marketing We Trust
Learn How to Accurately Track Marketing Campaigns with Tracking Guru Ben Weber, Head of Analytics at In Marketing We Trust (Travel Massive LIVE sponsor).
We'll be answering:
*Why do we need campaign tracking?
*What are UTM parameters?
*Where to find campaigns in Google Analytics?
And you'll learn how to use UTM for:
*Email
*Google ads and other paid campaigns
*Social media campaigns
*Offline campaigns
I delivered this presentation to MSc Digital Marketing class of "The UCD Michael Smurfit Graduate Business School - University College Dublin" in February 2015.
The presentation covers some basics and fundamental information about Google Analytics.
Seo is the best process of promote your business . SEO stands for Search Engine Optimization . it is following these steps Web Analysis, client requirements, Keyword Research ,content Writing, Web Optimization, seo summations, Links Building , Reporting or Ranking .
This presentation will give you a quick high-level overview on how to set up Google Analytics 4, setting filters and conversion events, and how to read standard GA4 reports — all with a view to helping you see the importance of having this in your school's marketing toolkit.
Amazon product listings can be optimised to reach their relevant audience. All we need to do is follow the guidelines listed in the presentation and by adding necessary key elements correctly.
Highly quality images, product identifiers, specifications, benefits all need to be clearly filled.
Pro tip: The old method of keyword stuffing does not really work anymore!
Basic information about Google Tag Manager. How you can create a tag, a trigger or a variable. Also in this presentation you have some information about the Data Layer
Advanced Remarketing in Google Analytics Using CRM Datametricmogul
Learn how to use Universal Analytics and dimension widening to import CRM data into Google Analytics, and then remarket to those segments.
I also share my tips for organising a large Google Analytics implementation, plus a trick to simplifying your reporting with Custom Metrics.
This talk was given at MeasureCamp London on 20th September 2014.
The organisation document referenced in this presentation will be uploaded separately.
Find out more at:
www.metricmogul.co.uk
@edbrocklebank
URL shorteners like bit.ly, goo.gl, or t.co are ubiquitous on today’s Web and serve a purpose, which, as the title suggests, is to shorten URLs. However, there is a lot more that URL shorteners can do. For example, learn how to create bit.ly bundles, use goo.gl to generate QR codes that link to anything on the web, see how Twitter automatically shortens URLs using t.co, and discover valuable analytic data on who is clicking on and sharing your links.
Google have release Google Analytics 4. The biggest differences in that Google Analytics 4 includes a new data model that changes the way data is collected, stored and filtered. Google has promised plenty of new features over coming months, but here some of the big new things you'll find in GA4. Read the full post at https://bit.ly/Google-Analytics-4
Digital Analytics with the Google Tag Manager (GTM)Yourposition AG
This presentations points out the characteristics and advantages of using the Google Tag Manager as part of a Digital Analytics Setup, including an E-Commerce Use Case - from Enhanced E-Commerce, over UserID Tracking, to SEO.
Language: English
__
This was presented by Jonas Wendler at the Analytics Summit, at Google Switzerland, January 25th, 2016.
Advanced Google Analytics 4.0 by Aviso DigitalSumeet Mayor
Advanced Google Analytics facilitates Data Collection and processes it into readable reports. Custom Dimensions, Custom Metrics, and Event Tracking help collect data that's specific to your business. It demonstrates more advanced analysis techniques using segmentation, channel reports, audience reports, and custom reports, as well as marketing strategies like remarketing and Dynamic Remarketing that show ads to customers who have visited your website.
• Data Collection and Processing
o Google Analytics data collection
o Categorizing into users and sessions
o Applying configuration settings
o Storing data and generating reports
o Creating a measurement plan
• Setting Up Data Collection and Configuration
o Organize your Analytics account
o Set up advanced filters on views
o Create your own Custom Dimensions
o Create your own Custom Metrics
o Understand user behavior with Event Tracking
o More useful configurations
• Advanced Analysis Tools and Techniques
o Segment data for insight
o Analyze data by channel
o Analyze data by audience
o Analyze data with Custom Reports
• Advanced Marketing Tools
o Remarketing
o Better targeting with Dynamic Remarketing
How to Accurately Track Marketing Campaigns + Free Campaign Tagging ToolIn Marketing We Trust
Learn How to Accurately Track Marketing Campaigns with Tracking Guru Ben Weber, Head of Analytics at In Marketing We Trust (Travel Massive LIVE sponsor).
We'll be answering:
*Why do we need campaign tracking?
*What are UTM parameters?
*Where to find campaigns in Google Analytics?
And you'll learn how to use UTM for:
*Email
*Google ads and other paid campaigns
*Social media campaigns
*Offline campaigns
I delivered this presentation to MSc Digital Marketing class of "The UCD Michael Smurfit Graduate Business School - University College Dublin" in February 2015.
The presentation covers some basics and fundamental information about Google Analytics.
Seo is the best process of promote your business . SEO stands for Search Engine Optimization . it is following these steps Web Analysis, client requirements, Keyword Research ,content Writing, Web Optimization, seo summations, Links Building , Reporting or Ranking .
This presentation will give you a quick high-level overview on how to set up Google Analytics 4, setting filters and conversion events, and how to read standard GA4 reports — all with a view to helping you see the importance of having this in your school's marketing toolkit.
Amazon product listings can be optimised to reach their relevant audience. All we need to do is follow the guidelines listed in the presentation and by adding necessary key elements correctly.
Highly quality images, product identifiers, specifications, benefits all need to be clearly filled.
Pro tip: The old method of keyword stuffing does not really work anymore!
Basic information about Google Tag Manager. How you can create a tag, a trigger or a variable. Also in this presentation you have some information about the Data Layer
Advanced Remarketing in Google Analytics Using CRM Datametricmogul
Learn how to use Universal Analytics and dimension widening to import CRM data into Google Analytics, and then remarket to those segments.
I also share my tips for organising a large Google Analytics implementation, plus a trick to simplifying your reporting with Custom Metrics.
This talk was given at MeasureCamp London on 20th September 2014.
The organisation document referenced in this presentation will be uploaded separately.
Find out more at:
www.metricmogul.co.uk
@edbrocklebank
MeasureCamp IX (London) - 10 JavaScript Concepts for web analystsSimo Ahava
Here's my list of 10 JavaScript (related) concepts that I think all web analysts should understand at least on a basic level. A solid grasp of JavaScript is a base requirement for anyone working with the web browser.
Search Marketer's Toolkit for Google Tag Manager and Google AnalyticsSimo Ahava
My slides from the Searchlove Boston conference in May 2016. The presentation covers actionable tips and tricks for working with Google Tag Manager and Google Analytics.
Tricks and tweaks for Google Analytics and Google Tag ManagerSimo Ahava
Slides from my talk at Google Analytics User Conference in Amsterdam.
Some preaching about data collection and then a list of my favorite ways to make GTM and GA data more meaningful to your organization and your unique business goals.
Be Critical: Going Beyond The Defaults With GA And GTM (SMX Munich 2015)Simo Ahava
Slides from my first talk at SMX München on March 17, 2015. The talk was about inspiring a critical approach to the metrics and dimensions we access through tools like Google Analytics. Sometimes we have to tweak the data collection mechanism to get more relevant results in our tools. In fact, I want to say that the quality of data in these platforms is directly proportional to your understanding of how the data is collected and aggregated.
So be critical! Make the most of the metrics and dimensions, and ensure that the data you're using to grow your business is relevant.
My slides from MeasureCamp VI. I gave a talk about the most common misconceptions and preconceptions surrounding tag management and, more generally, measuring the stateless web. Most of the examples are using Google Tag Manager, but many of them should be generic enough to extend to other solutions and platforms as well.
Meaningful Data - Reaktor Breakpoint 2015Simo Ahava
Slides from my talk at Reaktor Breakpoint 2015 in Helsinki, Finland. The topic is Meaningful Data, and I use content engagement as an example of how to utilize Google Analytics reports to provide amazing insights with just a little customization.
Tag Management Solutions - Best Data Ever (Marketing Festival 2014)Simo Ahava
Tag Management Solutions can really change things for your organization. Their biggest asset is the fact that they'll help you turn your processes around. In this talk I gave at Marketing Festival (CZ) 2014, I go over six of the most commonly asked questions around TMSs, and I explain the ways you can use the answers to improve the way your organization collects and uses data.
Content Analytics - The Whys And Hows For Google AnalyticsSimo Ahava
These are my slides from SMX München 2016. Content engagement is a tricky thing to measure, especially how it changes over time, but in this article I give some ideas for how to enhance your content measurement process within your organization.
SuperWeek 2016 - Garbage In Garbage Out: Data Quality in a TMS WorldSimo Ahava
Slides from my talk at the SuperWeek analytics conference. The focus was on organization transformation necessary to improve data quality, especially when using a tag management solution like Google Tag Manager.
Content Engagement with Google Analytics (Emerce Conversion 2015)Simo Ahava
My slides from the Emerce Conversion 2015 conference. Here's a nice method of reconfiguring a data collection platform such as Google Analytics so it gives you best possible data for YOUR business alone.
Slides from my talk at MeasureCamp VII (London) in September 2015. Some key findings about Data Layers and how they are integrated with tag management solutions and organisations.
Deep Q-Learning in recent years has shown great promise for solving general purpose problems. One area that DQN and its variant have been successful is playing Atari games. This presentation provides a gentle introduction to Reinforcement and Q-Learning. Additionally the presentation describes a series of improvement on Q-Learning by describing Deep Q-Learning, Deep Double Q-Learning, and Deep Bayesian Q-Learning as well providing implementation references of the models using MXNet.
Talk by Sangeetha Krishnan, MTS at Adobe on the topic "Build, train and deploy your ML models with Amazon Sage Maker" at AWS Community Day, Bangalore 2018
Morphing GA into an Affiliate Analytics MonsterPhil Pearce
How to hack GA's native campaign tracking, leverage 1st party cookie power and align GA's sessionisation logic more closely with 30 day affiliate systems.
Refactoring can either completely disrupt your project or make you go faster. This presentation will help you to avoid some pitfalls.
It also demonstrates refactorings that you could apply straight away to make your code better.
Build, Train & Deploy Your ML Application on Amazon SageMakerAmazon Web Services
This session covers a step by step walk through of a typical Machine Learning (ML) process: From asking the right questions, collecting the data, looking at the data, picking the right algorithms, training and evaluating ML models with Amazon SageMaker and bringing them live into production. A series of hands-on demos is included to illustrate these steps so that you can start building your first Machine Learning application right after this session.
My talk from Digital Elite Day 2020 (Conversion Elite track).
I go over the main changes in browser tracking protections since as early as 2003 (Safari version 1). Then I discuss the impact these tracking protections have on digital analytics, advertising, and experimentation.
Server-side Tagging in Google Tag Manager - MeasureSummit 2020Simo Ahava
My presentation from MeasureSummit 2020.
I walk you through the key benefits and concerns of Server-side Tagging in Google Tag Manager, before wrapping up with an example of how SST lets you reduce client-side bloat.
For more details about Server-side Tagging, see this resource: https://www.simoahava.com/analytics/server-side-tagging-google-tag-manager/
My presentation titled "Browsers eat data quality for breakfast" from SuperWeek 2020.
The presentation introduces the "tracking protection / prevention / blocking" mechanisms implemented in the major browsers.
The information comes from the www.cookiestatus.com service.
You can't spell MEASURE without CUSTOMIZATIONSimo Ahava
My presentation from the Superweek 2019 conference.
In the presentation, I discuss how critical healthy communication structures are in any project. I talk about customization and how customization can be used to overcome problems that emerge from broken communication structures AND how customization can be used to actually fix relationships and break down silos in any company.
Essential Search Marketing Tweaks For Google Analytics And Google Tag ManagerSimo Ahava
Slides from my SMX Munich 2018 talk.
How to measure engagement with the web analytics tools at our disposal?
How to turn reports more meaningful for our particular organizational idiosyncracies and goals?
How to become more critical about the data that is spoon-fed to us by the default installations of our favorite tools?
Google Tag Manager - 5 years. What have we learned?Simo Ahava
Looking back on five years of Google Tag Manager. Has the tool changed? Have we? What's coming up in the next 5 years?
My talk at MeasureCamp #11 (London).
Meaningful Data - Best Internet Conference 2015 (Lithuania)Simo Ahava
Here are the slides from my talk titled "Meaningful Data", which I presented at the Best Internet Conference in Vilnius, Lithuania.
I share some of my favorite Google Analytics / Google Tag Manager tweaks, along with a healthy dose of criticism towards the default configuration of our favorite analytics platforms (a phenomenon I call Plug-and-play Analytics).
Key Insights From Funnels - Enhanced Ecommerce For Google AnalyticsSimo Ahava
The slides from my talk at GPeC Summit, Romania, on 11 May 2015.
I introduce the Enhanced Ecommerce reports for Google Analytics, but before I do, I outline my ideology for using Enhanced Ecommerce. It's not just a flashy set of reports, it's an optimization tool and a hypothesis machine. I'm less interested in successful transactions and more in things like abandonment and lack of engagement. Enhanced Ecommerce lets us expand the somewhat broken concept of a session-based conversion rate, and granularly investigate its components and particles. This way we can analyze not only transactions, visits, and visitors, but the products themselves, too.
Enhanced Ecommerce For Content (SMX München 2015)Simo Ahava
The slides from my second talk at SMX München (18 March 2015).
I've used Enhanced Ecommerce, implemented via Google Tag Manager, to analyze the content and user funnels on my website, and how people interact with different pieces of content.
In these slides, I explain the methodology and the reasoning for such an unconventional approach.
It's such a fun experiment, but it also leads to a lot of new insights for content optimization.
Here's my presentation on Google Analytics development (via Google Tag Manager) that I gave at SuperWeek 2015, in January.
The presentation goes through two interesting use cases for making data more meaningful: Page Visibility as a requirement for Page Views, and Enhanced Ecommerce for Content Tracking.
APNIC Foundation, presented by Ellisha Heppner at the PNG DNS Forum 2024APNIC
Ellisha Heppner, Grant Management Lead, presented an update on APNIC Foundation to the PNG DNS Forum held from 6 to 10 May, 2024 in Port Moresby, Papua New Guinea.
This 7-second Brain Wave Ritual Attracts Money To You.!nirahealhty
Discover the power of a simple 7-second brain wave ritual that can attract wealth and abundance into your life. By tapping into specific brain frequencies, this technique helps you manifest financial success effortlessly. Ready to transform your financial future? Try this powerful ritual and start attracting money today!
Italy Agriculture Equipment Market Outlook to 2027harveenkaur52
Agriculture and Animal Care
Ken Research has an expertise in Agriculture and Animal Care sector and offer vast collection of information related to all major aspects such as Agriculture equipment, Crop Protection, Seed, Agriculture Chemical, Fertilizers, Protected Cultivators, Palm Oil, Hybrid Seed, Animal Feed additives and many more.
Our continuous study and findings in agriculture sector provide better insights to companies dealing with related product and services, government and agriculture associations, researchers and students to well understand the present and expected scenario.
Our Animal care category provides solutions on Animal Healthcare and related products and services, including, animal feed additives, vaccination
1.Wireless Communication System_Wireless communication is a broad term that i...JeyaPerumal1
Wireless communication involves the transmission of information over a distance without the help of wires, cables or any other forms of electrical conductors.
Wireless communication is a broad term that incorporates all procedures and forms of connecting and communicating between two or more devices using a wireless signal through wireless communication technologies and devices.
Features of Wireless Communication
The evolution of wireless technology has brought many advancements with its effective features.
The transmitted distance can be anywhere between a few meters (for example, a television's remote control) and thousands of kilometers (for example, radio communication).
Wireless communication can be used for cellular telephony, wireless access to the internet, wireless home networking, and so on.
Meet up Milano 14 _ Axpo Italia_ Migration from Mule3 (On-prem) to.pdfFlorence Consulting
Quattordicesimo Meetup di Milano, tenutosi a Milano il 23 Maggio 2024 dalle ore 17:00 alle ore 18:30 in presenza e da remoto.
Abbiamo parlato di come Axpo Italia S.p.A. ha ridotto il technical debt migrando le proprie APIs da Mule 3.9 a Mule 4.4 passando anche da on-premises a CloudHub 1.0.
2. GTM For Nerds
MeasureCamp V – 20 September 2014
function MeasureCampV() { this.awesome = awesome; }
3. GTM For Nerds
MeasureCamp V – 20 September 2014
@SimoAhava
function MeasureCampV() { this.awesome = awesome; }
http://google.me/+SimoAhava
simo@simoahava.com
www.simoahava.com
4. MASTERED by desire impulsive,
By a mighty inward urging,
I am ready now for singing,
Ready to begin the coding --
A. Gallen-Kallela: The Boat’s Lament
6. What is dataLayer
A JavaScript Array
dataLayer = [];
@SimoAhava | MeasureCamp V
7. What is dataLayer
A JavaScript Array
dataLayer = [];
dataLayer.push('item1'); // dataLayer[0] => 'item1’
@SimoAhava | MeasureCamp V
8. What is dataLayer
A JavaScript Array
dataLayer = [];
dataLayer.push('item1'); // dataLayer[0] => 'item1'
dataLayer.push({'item2' : [{'data1' : true},{'data2' : 'Peter'}]});
// dataLayer[1] => 'item2' : Array[2]
@SimoAhava | MeasureCamp V
9. What is dataLayer
A JavaScript Array
dataLayer = [];
dataLayer.push('item1'); // dataLayer[0] => 'item1'
dataLayer.push({'item2' : [{'data1' : true},{'data2' : 'Peter'}]});
// dataLayer[1] => 'item2' : Array[2]
var item2 = dataLayer.pop(); // item2 => Array[2], dataLayer[1] =>
@SimoAhava | MeasureCamp V
undefined
10. What is dataLayer
A JavaScript Array
dataLayer = [];
dataLayer.push('item1'); // dataLayer[0] => 'item1'
dataLayer.push({'item2' : [{'data1' : true},{'data2' : 'Peter'}]});
// dataLayer[1] => 'item2' : Array[2]
var item2 = dataLayer.pop(); // item2 => Array[2], dataLayer[1] =>
@SimoAhava | MeasureCamp V
undefined
dataLayer.push({'event' : 'gtm.js'}); // No special effects
11. What is dataLayer
A JavaScript Array
dataLayer = [];
dataLayer.push('item1'); // dataLayer[0] => 'item1'
dataLayer.push({'item2' : [{'data1' : true},{'data2' : 'Peter'}]});
// dataLayer[1] => 'item2' : Array[2]
var item2 = dataLayer.pop(); // item2 => Array[2], dataLayer[1] =>
@SimoAhava | MeasureCamp V
undefined
dataLayer.push({'event' : 'gtm.js'}); // No special effects
There is absolutely nothing special about dataLayer ... or is there?
12. What is dataLayer
A JavaScript Array
dataLayer = [];
dataLayer.push('item1'); // dataLayer[0] => 'item1'
dataLayer.push({'item2' : [{'data1' : true},{'data2' : 'Peter'}]});
// dataLayer[1] => 'item2' : Array[2]
var item2 = dataLayer.pop(); // item2 => Array[2], dataLayer[1] =>
@SimoAhava | MeasureCamp V
undefined
dataLayer.push({'event' : 'gtm.js'}); // No special effects
There is absolutely nothing special about dataLayer ... or is there?
It’s the default name of the data structure that Google Tag Manager uses
13. What is dataLayer
…but it looks like GTM overrides the default push() method:
@SimoAhava | MeasureCamp V
14. What is dataLayer
…but it looks like GTM overrides the default push() method:
This does three (visible) things:
@SimoAhava | MeasureCamp V
15. What is dataLayer
…but it looks like GTM overrides the default push() method:
This does three (visible) things:
1. Initiates a listener which processes the new state of dataLayer after each push()
2. Sets the maximum length of dataLayer to 300
3. Instead of returning the length of the Array, a push() returns true if no tags were fired and
false if tags were fired – synchronous operation for ”Wait for Tags”!
@SimoAhava | MeasureCamp V
16. What is dataLayer
…but it looks like GTM overrides the default push() method:
This does three (visible) things:
1. Initiates a listener which processes the new state of dataLayer after each push()
2. Sets the maximum length of dataLayer to 300
3. Instead of returning the length of the Array, a push() returns true if no tags were fired and
false if tags were fired – synchronous operation for ”Wait for Tags”!
These will all be part of the specification that vendors need to adhere to
Memory management such as setting the maximum length of the Array will
eventually be configurable
@SimoAhava | MeasureCamp V
17. A. Gallen-Kallela: Lemminkainen’s Mother
THERE the blood-stained data model,
There Google's son and hero,
Cuts in pieces dataLayer,
Chops it with his mighty hatchet --
18. What is Google Tag Manager’s data model
An abstract data model, which passes and processes data from dataLayer to
Google Tag Manager
@SimoAhava | MeasureCamp V
19. What is Google Tag Manager’s data model
An abstract data model, which passes and processes data from dataLayer to
Google Tag Manager
dataLayer Data model
Tool-agnostic Tool-specific
Generic Unique
Accessed directly Accessed via helper
Structured Abstract
@SimoAhava | MeasureCamp V
20. What is Google Tag Manager’s data model
In GTM, the interface exposes two methods:
google_tag_manager["GTM-XXXX"].dataLayer.get('key')
google_tag_manager["GTM-XXXX"].dataLayer.set('key','value')
@SimoAhava | MeasureCamp V
21. What is Google Tag Manager’s data model
In GTM, the interface exposes two methods:
google_tag_manager["GTM-XXXX"].dataLayer.get('key')
google_tag_manager["GTM-XXXX"].dataLayer.set('key','value')
These are used to access the data stored in the data model, and should not be
used directly
@SimoAhava | MeasureCamp V
22. What is Google Tag Manager’s data model
In GTM, the interface exposes two methods:
google_tag_manager["GTM-XXXX"].dataLayer.get('key')
google_tag_manager["GTM-XXXX"].dataLayer.set('key','value')
These are used to access the data stored in the data model, and should not be
used directly
Using get() retrieves the most recent value for ’key’
dataLayer.push({'key1' : 'value1'}); // dataLayer[0]
google_tag_manager["GTM-XXXX"].dataLayer.get('key1'); // 'value1'
dataLayer.push({'key1' : 'value2'}); // dataLayer[1]!
google_tag_manager["GTM-XXXX"].dataLayer.get('key1'); // 'value2'
@SimoAhava | MeasureCamp V
23. What is Google Tag Manager’s data model
Cool, get() works nicely with dotted names and nested objects
dataLayer.push({'key1.id' : '123'});
google_tag_manager["GTM-XXXX"].dataLayer.get('key1.id'); // '123'
dataLayer.push({'key2' : {'id' : '234'}});
google_tag_manager["GTM-XXXX"].dataLayer.get('key2.id'); // '234’
@SimoAhava | MeasureCamp V
24. What is Google Tag Manager’s data model
Cool, get() works nicely with dotted names and nested objects
dataLayer.push({'key1.id' : '123'});
google_tag_manager["GTM-XXXX"].dataLayer.get('key1.id'); // '123'
dataLayer.push({'key2' : {'id' : '234'}});
google_tag_manager["GTM-XXXX"].dataLayer.get('key2.id'); // '234’
Yes, get() is the method that is called by your Data Layer Variable Macros
@SimoAhava | MeasureCamp V
25. What is Google Tag Manager’s data model
Cool, get() works nicely with dotted names and nested objects
dataLayer.push({'key1.id' : '123'});
google_tag_manager["GTM-XXXX"].dataLayer.get('key1.id'); // '123'
dataLayer.push({'key2' : {'id' : '234'}});
google_tag_manager["GTM-XXXX"].dataLayer.get('key2.id'); // '234’
Yes, get() is the method that is called by your Data Layer Variable Macros
So…
When a dataLayer.push() occurs, the arguments are copied to the data
model
@SimoAhava | MeasureCamp V
26. What is Google Tag Manager’s data model
Cool, get() works nicely with dotted names and nested objects
dataLayer.push({'key1.id' : '123'});
google_tag_manager["GTM-XXXX"].dataLayer.get('key1.id'); // '123'
dataLayer.push({'key2' : {'id' : '234'}});
google_tag_manager["GTM-XXXX"].dataLayer.get('key2.id'); // '234’
Yes, get() is the method that is called by your Data Layer Variable Macros
So…
When a dataLayer.push() occurs, the arguments are copied to the data
model
The get() method can be used to retrieve data from the data model
@SimoAhava | MeasureCamp V
27. A. Gallen-Kallela: The Forging Of The Sampo
dataLayer, worthy brother,
Thou, my faithful indexed Array,
Come and see this wondrous beauty,
Abstract structure, awesome methods --
28. Peculiarities of the data model
Changing value type overwrites the previous value
dataLayer.push({'key1' : [1, 2, 3]});
google_tag_manager["GTM-XXXX"].dataLayer.get('key1'); // Array[3]
dataLayer.push({'key1' : 'cool'});
google_tag_manager["GTM-XXXX"].dataLayer.get('key1'); // 'cool'
@SimoAhava | MeasureCamp V
29. Peculiarities of the data model
Changing value type overwrites the previous value
dataLayer.push({'key1' : [1, 2, 3]});
google_tag_manager["GTM-XXXX"].dataLayer.get('key1'); // Array[3]
dataLayer.push({'key1' : 'cool'});
google_tag_manager["GTM-XXXX"].dataLayer.get('key1'); // 'cool'
Array to Array and plain object to plain object behave a bit differently
dataLayer.push({'key1' : [1, 2, 3]});
google_tag_manager["GTM-XXXX"].dataLayer.get('key1'); // [1, 2, 3]
dataLayer.push({'key1' : [4, 5]});
google_tag_manager["GTM-XXXX"].dataLayer.get('key1'); // [4, 5, 3]!
@SimoAhava | MeasureCamp V
30. Peculiarities of the data model
Updating an Array in the data model is clumsy (and not a good idea)
dataLayer.push({'key1' : [1, 2, 3]});
var k = google_tag_manager["GTM-XXXX"].dataLayer.get('key1'); // [1, 2, 3]
k.push(4, 5);
google_tag_manager["GTM-XXXX"].dataLayer.get('key1'); // [1, 2, 3, 4, 5]
@SimoAhava | MeasureCamp V
31. Peculiarities of the data model
Updating an Array in the data model is clumsy (and not a good idea)
dataLayer.push({'key1' : [1, 2, 3]});
var k = google_tag_manager["GTM-XXXX"].dataLayer.get('key1'); // [1, 2, 3]
k.push(4, 5);
google_tag_manager["GTM-XXXX"].dataLayer.get('key1'); // [1, 2, 3, 4, 5]
So there’s a special ’command array’ you can use, which accesses all supported
methods of the value
dataLayer.push({'key1' : [1, 2, 3]});
dataLayer.push(['key1.push', 4, 5]); // Note the square brackets!
google_tag_manager["GTM-XXXX"].dataLayer.get('key1'); // [1, 2, 3, 4, 5]
@SimoAhava | MeasureCamp V
32. Peculiarities of the data model
Plain object to plain object is more straightforward
dataLayer.push({'key1' : {'one' : 1}});
google_tag_manager["GTM-XXXX"].dataLayer.get('key1'); // {one: 1}
@SimoAhava | MeasureCamp V
33. Peculiarities of the data model
Plain object to plain object is more straightforward
dataLayer.push({'key1' : {'one' : 1}});
google_tag_manager["GTM-XXXX"].dataLayer.get('key1'); // {one: 1}
dataLayer.push({'key1' : {'two' : 2}});
google_tag_manager["GTM-XXXX"].dataLayer.get('key1'); // {one: 1}, {two: 2}
@SimoAhava | MeasureCamp V
34. Peculiarities of the data model
Plain object to plain object is more straightforward
dataLayer.push({'key1' : {'one' : 1}});
google_tag_manager["GTM-XXXX"].dataLayer.get('key1'); // {one: 1}
dataLayer.push({'key1' : {'two' : 2}});
google_tag_manager["GTM-XXXX"].dataLayer.get('key1'); // {one: 1}, {two: 2}
dataLayer.push({'key1' : {'one' : {'two' : 3}}});
google_tag_manager["GTM-XXXX"].dataLayer.get('key1'); // {one: {two: 3}},
@SimoAhava | MeasureCamp V
{two: 2}
35. Peculiarities of the data model
You can also run your own functions on values in the data model
dataLayer.push({'key1' : {'one' : 1}});
dataLayer.push(function() {
var key1 = this.get('key1');
if(key1.hasOwnProperty('one') {
this.set('key1', {'one' : 2});
}
});
google_tag_manager["GTM-XXXX"].dataLayer.get('key1'); // {one: 2}
@SimoAhava | MeasureCamp V
36. @SimoAhava | MeasureCamp V
Thank you
www.simoahava.com/analytics/data-layer/
www.simoahava.com/analytics/google-tag-manager-data-model/
#GTMtips
http://google.me/+SimoAhava @SimoAhava