SlideShare a Scribd company logo
1 of 11
Download to read offline
The concept of tracking
user behavior
Content
1. Why we need tracking?
2. Overview Tracking Mechanism
3. Events to listen - Triggers
4. Data destinations
5. User properties & Event properties
6. Push event methods - Google Tag Manager
7. Push event methods - HTTP API
Why we need tracking?
Get a complete
picture of user
behavior in
product
Turn user's
insights into
growth
opportunities
Identify the
personas most
likely to become
PAID users
Overview Tracking Mechanism
Events to listen - Triggers
A trigger listens to web page or mobile app for
certain types of events like form submissions, button
clicks, or page views.
The trigger tells the fowarder tools - like Google Tag
Manager, Segment or even the application itself -
push an event to data destination when the specified
event is detected.
“
Events to listen - Triggers (cont.)
it's just if
else logic
“
Data destinations
Data destinations collect events from your
web and mobile apps. Then you can
analyzing the actions your users perform,
gain a better understanding to drive
retention, engagement, and conversion.
“
User properties or Event properties
This can give you a deeper analysis
into how users are engaging with your
app. Besides, it also supports customer
segmentation according to their
attributes.
“
Default
Custom
** Google Analytics uses custom
dimensions for this purpose
Push event methods - Google Tag Manager
Push events to Google Analytics Push events to Amplitude
Step 1: Init the tool in all
pages
Step 2: Push an event
to Amplitude when
trigger matched
Step 1: Init Google
Analytics in all pages
Step 2: Push an event
to GA when trigger
matched
Push event methods - HTTP API
Push events to Google Analytics Push events to Amplitude
url --request POST 
--url
'https://www.google-analytics.com/collect?v=1&t=event&t
id=UA-xxxxxxxxx-yy&cid=555&ec=Create%20Page&ea=Create%2
0Page&el=Create%20Page&cd1=123456789&cd2=C%E1%BB%ADa%20
h%C3%A0ng%20s%E1%BB%91%201&cd4=false&cd5=ecommerce&cd6=
vietnam&cd9=1565079346' 
--header 'Accept: */*' 
--header 'Accept-Encoding: gzip, deflate' 
--header 'Cache-Control: no-cache' 
--header 'Connection: keep-alive' 
--header 'Content-Length:' 
--header 'Host: www.google-analytics.com' 
--header 'User-Agent:' 
--header 'cache-control: no-cache'
curl --data 'api_key=xxxxxxxxxxxxxxxxxxxxxxxxx'
--data-urlencode
'event=[{"user_id":"<_PAGE_ID_>","event_type":"Create
Page","user_properties":{"page_id":"<_PAGE_ID_>","page_
name":"<_PAGE_NAME_>","page_category":"<_PAGE_CATEGORY_
>","page_country":"<_PAGE_COUNTRY_>","page_created_date
":"<_UNIX_TIMESTAMP_>","page_is_pro":"<_PRO_OR_FREE_>",
"utm_campaign":"<_GET_FROM_URL_>","utm_medium":"<_GET_F
ROM_URL_>","utm_source":"<_GET_FROM_URL_>"}}]'
https://api.amplitude.com/httpapi
Thank You

More Related Content

Similar to The concept of tracking user behavior

Predictive analytics for mobile apps detailed guide
Predictive analytics for mobile apps detailed guidePredictive analytics for mobile apps detailed guide
Predictive analytics for mobile apps detailed guideFugenX
 
Event App Features Checklist for 2017
Event App Features Checklist for 2017Event App Features Checklist for 2017
Event App Features Checklist for 2017Hubilo
 
Digital media analytics: web, mobile analytics - Ahmad Abdullah - Google
Digital media analytics: web, mobile analytics - Ahmad Abdullah - GoogleDigital media analytics: web, mobile analytics - Ahmad Abdullah - Google
Digital media analytics: web, mobile analytics - Ahmad Abdullah - GoogleJigserv Digital
 
6 advance tracking features of google analytics
6 advance tracking features of google analytics6 advance tracking features of google analytics
6 advance tracking features of google analyticsRob Levish
 
Instagram Follower Extraction Made Easy A Step-by-Step Guide.pdf
Instagram Follower Extraction Made Easy A Step-by-Step Guide.pdfInstagram Follower Extraction Made Easy A Step-by-Step Guide.pdf
Instagram Follower Extraction Made Easy A Step-by-Step Guide.pdfAqsaBatool21
 
Evolution or Extinction: Survive and Thrive with New Google Analytics Features
Evolution or Extinction:Survive and Thrive with New Google Analytics FeaturesEvolution or Extinction:Survive and Thrive with New Google Analytics Features
Evolution or Extinction: Survive and Thrive with New Google Analytics Features4Ps Marketing
 
Navigating GA4 Google Analytics
Navigating GA4 Google AnalyticsNavigating GA4 Google Analytics
Navigating GA4 Google AnalyticsLaura Lee Dooley
 
Personalized Hypermedia Final Plus3
Personalized Hypermedia Final Plus3Personalized Hypermedia Final Plus3
Personalized Hypermedia Final Plus3Satyajit Das
 
Cross Device Tracking - Thomas Danniau
Cross Device Tracking - Thomas DanniauCross Device Tracking - Thomas Danniau
Cross Device Tracking - Thomas DanniauThe Reference
 
Module5 other analytics
Module5   other analyticsModule5   other analytics
Module5 other analyticsGayathri Choda
 
Detection of Behavior using Machine Learning
Detection of Behavior using Machine LearningDetection of Behavior using Machine Learning
Detection of Behavior using Machine LearningIRJET Journal
 
PPT 3 Web Analytics (1).pptx
PPT 3 Web Analytics (1).pptxPPT 3 Web Analytics (1).pptx
PPT 3 Web Analytics (1).pptxDevChaudhari15
 
Google Analytics Workshop 2013
Google Analytics Workshop 2013Google Analytics Workshop 2013
Google Analytics Workshop 2013Milad Safarzadeh
 
MAU Vegas 2016 — Conceptualizing and Implementing a Cross-Channel Segmentatio...
MAU Vegas 2016 — Conceptualizing and Implementing a Cross-Channel Segmentatio...MAU Vegas 2016 — Conceptualizing and Implementing a Cross-Channel Segmentatio...
MAU Vegas 2016 — Conceptualizing and Implementing a Cross-Channel Segmentatio...Grow.co
 
Managing and sharing customer data
Managing and sharing customer dataManaging and sharing customer data
Managing and sharing customer dataSHARATH P G
 
User behavior analysis and relevance extraction modelling
User behavior analysis and relevance extraction modellingUser behavior analysis and relevance extraction modelling
User behavior analysis and relevance extraction modellingAmbar Gupta
 

Similar to The concept of tracking user behavior (20)

Predictive analytics for mobile apps detailed guide
Predictive analytics for mobile apps detailed guidePredictive analytics for mobile apps detailed guide
Predictive analytics for mobile apps detailed guide
 
Event App Features Checklist for 2017
Event App Features Checklist for 2017Event App Features Checklist for 2017
Event App Features Checklist for 2017
 
Digital media analytics: web, mobile analytics - Ahmad Abdullah - Google
Digital media analytics: web, mobile analytics - Ahmad Abdullah - GoogleDigital media analytics: web, mobile analytics - Ahmad Abdullah - Google
Digital media analytics: web, mobile analytics - Ahmad Abdullah - Google
 
6 advance tracking features of google analytics
6 advance tracking features of google analytics6 advance tracking features of google analytics
6 advance tracking features of google analytics
 
Instagram Follower Extraction Made Easy A Step-by-Step Guide.pdf
Instagram Follower Extraction Made Easy A Step-by-Step Guide.pdfInstagram Follower Extraction Made Easy A Step-by-Step Guide.pdf
Instagram Follower Extraction Made Easy A Step-by-Step Guide.pdf
 
Evolution or Extinction: Survive and Thrive with New Google Analytics Features
Evolution or Extinction:Survive and Thrive with New Google Analytics FeaturesEvolution or Extinction:Survive and Thrive with New Google Analytics Features
Evolution or Extinction: Survive and Thrive with New Google Analytics Features
 
How Google Use Data Analytics
How Google Use Data AnalyticsHow Google Use Data Analytics
How Google Use Data Analytics
 
Navigating GA4 Google Analytics
Navigating GA4 Google AnalyticsNavigating GA4 Google Analytics
Navigating GA4 Google Analytics
 
Personalized Hypermedia Final Plus3
Personalized Hypermedia Final Plus3Personalized Hypermedia Final Plus3
Personalized Hypermedia Final Plus3
 
Cross Device Tracking - Thomas Danniau
Cross Device Tracking - Thomas DanniauCross Device Tracking - Thomas Danniau
Cross Device Tracking - Thomas Danniau
 
Module5 other analytics
Module5   other analyticsModule5   other analytics
Module5 other analytics
 
Detection of Behavior using Machine Learning
Detection of Behavior using Machine LearningDetection of Behavior using Machine Learning
Detection of Behavior using Machine Learning
 
PPT 3 Web Analytics (1).pptx
PPT 3 Web Analytics (1).pptxPPT 3 Web Analytics (1).pptx
PPT 3 Web Analytics (1).pptx
 
Google Analytics: For PR Measurement and Evaluation
Google Analytics: For PR Measurement and EvaluationGoogle Analytics: For PR Measurement and Evaluation
Google Analytics: For PR Measurement and Evaluation
 
dabblr_report_final
dabblr_report_finaldabblr_report_final
dabblr_report_final
 
Google Analytics Workshop 2013
Google Analytics Workshop 2013Google Analytics Workshop 2013
Google Analytics Workshop 2013
 
Data Driven Marketing
Data Driven MarketingData Driven Marketing
Data Driven Marketing
 
MAU Vegas 2016 — Conceptualizing and Implementing a Cross-Channel Segmentatio...
MAU Vegas 2016 — Conceptualizing and Implementing a Cross-Channel Segmentatio...MAU Vegas 2016 — Conceptualizing and Implementing a Cross-Channel Segmentatio...
MAU Vegas 2016 — Conceptualizing and Implementing a Cross-Channel Segmentatio...
 
Managing and sharing customer data
Managing and sharing customer dataManaging and sharing customer data
Managing and sharing customer data
 
User behavior analysis and relevance extraction modelling
User behavior analysis and relevance extraction modellingUser behavior analysis and relevance extraction modelling
User behavior analysis and relevance extraction modelling
 

More from Hải Trần

Programmatic advertising
Programmatic advertisingProgrammatic advertising
Programmatic advertisingHải Trần
 
Hướng dẫn sử dụng Google Tag Manager
Hướng dẫn sử dụng Google Tag ManagerHướng dẫn sử dụng Google Tag Manager
Hướng dẫn sử dụng Google Tag ManagerHải Trần
 
Câu chuyện về font chữ
Câu chuyện về font chữCâu chuyện về font chữ
Câu chuyện về font chữHải Trần
 
Photoshop in graphic design - Fundamental
Photoshop in graphic design - FundamentalPhotoshop in graphic design - Fundamental
Photoshop in graphic design - FundamentalHải Trần
 
Building Your First Email Marketing
Building Your First Email MarketingBuilding Your First Email Marketing
Building Your First Email MarketingHải Trần
 
Câu chuyện về font chữ
Câu chuyện về font chữCâu chuyện về font chữ
Câu chuyện về font chữHải Trần
 
Something you should know about UX in Wordpress
Something you should know about UX in WordpressSomething you should know about UX in Wordpress
Something you should know about UX in WordpressHải Trần
 
Approach to Responsive Web Design - Part 2
Approach to Responsive Web Design - Part 2Approach to Responsive Web Design - Part 2
Approach to Responsive Web Design - Part 2Hải Trần
 
Approach to Responsive Web Design - Part 1
Approach to Responsive Web Design - Part 1Approach to Responsive Web Design - Part 1
Approach to Responsive Web Design - Part 1Hải Trần
 
SharePoint Branding - Not look like SharePoint
SharePoint Branding - Not look like SharePointSharePoint Branding - Not look like SharePoint
SharePoint Branding - Not look like SharePointHải Trần
 

More from Hải Trần (12)

Programmatic advertising
Programmatic advertisingProgrammatic advertising
Programmatic advertising
 
Hướng dẫn sử dụng Google Tag Manager
Hướng dẫn sử dụng Google Tag ManagerHướng dẫn sử dụng Google Tag Manager
Hướng dẫn sử dụng Google Tag Manager
 
Onboarding
OnboardingOnboarding
Onboarding
 
Câu chuyện về font chữ
Câu chuyện về font chữCâu chuyện về font chữ
Câu chuyện về font chữ
 
A/B Testing Tool
A/B Testing ToolA/B Testing Tool
A/B Testing Tool
 
Photoshop in graphic design - Fundamental
Photoshop in graphic design - FundamentalPhotoshop in graphic design - Fundamental
Photoshop in graphic design - Fundamental
 
Building Your First Email Marketing
Building Your First Email MarketingBuilding Your First Email Marketing
Building Your First Email Marketing
 
Câu chuyện về font chữ
Câu chuyện về font chữCâu chuyện về font chữ
Câu chuyện về font chữ
 
Something you should know about UX in Wordpress
Something you should know about UX in WordpressSomething you should know about UX in Wordpress
Something you should know about UX in Wordpress
 
Approach to Responsive Web Design - Part 2
Approach to Responsive Web Design - Part 2Approach to Responsive Web Design - Part 2
Approach to Responsive Web Design - Part 2
 
Approach to Responsive Web Design - Part 1
Approach to Responsive Web Design - Part 1Approach to Responsive Web Design - Part 1
Approach to Responsive Web Design - Part 1
 
SharePoint Branding - Not look like SharePoint
SharePoint Branding - Not look like SharePointSharePoint Branding - Not look like SharePoint
SharePoint Branding - Not look like SharePoint
 

Recently uploaded

Stronger Together: Developing an Organizational Strategy for Accessible Desig...
Stronger Together: Developing an Organizational Strategy for Accessible Desig...Stronger Together: Developing an Organizational Strategy for Accessible Desig...
Stronger Together: Developing an Organizational Strategy for Accessible Desig...caitlingebhard1
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxRustici Software
 
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal OntologySix Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontologyjohnbeverley2021
 
Navigating Identity and Access Management in the Modern Enterprise
Navigating Identity and Access Management in the Modern EnterpriseNavigating Identity and Access Management in the Modern Enterprise
Navigating Identity and Access Management in the Modern EnterpriseWSO2
 
Introduction to use of FHIR Documents in ABDM
Introduction to use of FHIR Documents in ABDMIntroduction to use of FHIR Documents in ABDM
Introduction to use of FHIR Documents in ABDMKumar Satyam
 
The Zero-ETL Approach: Enhancing Data Agility and Insight
The Zero-ETL Approach: Enhancing Data Agility and InsightThe Zero-ETL Approach: Enhancing Data Agility and Insight
The Zero-ETL Approach: Enhancing Data Agility and InsightSafe Software
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamUiPathCommunity
 
Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Zilliz
 
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​Bhuvaneswari Subramani
 
Choreo: Empowering the Future of Enterprise Software Engineering
Choreo: Empowering the Future of Enterprise Software EngineeringChoreo: Empowering the Future of Enterprise Software Engineering
Choreo: Empowering the Future of Enterprise Software EngineeringWSO2
 
Less Is More: Utilizing Ballerina to Architect a Cloud Data Platform
Less Is More: Utilizing Ballerina to Architect a Cloud Data PlatformLess Is More: Utilizing Ballerina to Architect a Cloud Data Platform
Less Is More: Utilizing Ballerina to Architect a Cloud Data PlatformWSO2
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdfSandro Moreira
 
WSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2
 
API Governance and Monetization - The evolution of API governance
API Governance and Monetization -  The evolution of API governanceAPI Governance and Monetization -  The evolution of API governance
API Governance and Monetization - The evolution of API governanceWSO2
 
How to Check CNIC Information Online with Pakdata cf
How to Check CNIC Information Online with Pakdata cfHow to Check CNIC Information Online with Pakdata cf
How to Check CNIC Information Online with Pakdata cfdanishmna97
 
JavaScript Usage Statistics 2024 - The Ultimate Guide
JavaScript Usage Statistics 2024 - The Ultimate GuideJavaScript Usage Statistics 2024 - The Ultimate Guide
JavaScript Usage Statistics 2024 - The Ultimate GuidePixlogix Infotech
 
TEST BANK For Principles of Anatomy and Physiology, 16th Edition by Gerard J....
TEST BANK For Principles of Anatomy and Physiology, 16th Edition by Gerard J....TEST BANK For Principles of Anatomy and Physiology, 16th Edition by Gerard J....
TEST BANK For Principles of Anatomy and Physiology, 16th Edition by Gerard J....rightmanforbloodline
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusZilliz
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Victor Rentea
 

Recently uploaded (20)

Stronger Together: Developing an Organizational Strategy for Accessible Desig...
Stronger Together: Developing an Organizational Strategy for Accessible Desig...Stronger Together: Developing an Organizational Strategy for Accessible Desig...
Stronger Together: Developing an Organizational Strategy for Accessible Desig...
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal OntologySix Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontology
 
Navigating Identity and Access Management in the Modern Enterprise
Navigating Identity and Access Management in the Modern EnterpriseNavigating Identity and Access Management in the Modern Enterprise
Navigating Identity and Access Management in the Modern Enterprise
 
Introduction to use of FHIR Documents in ABDM
Introduction to use of FHIR Documents in ABDMIntroduction to use of FHIR Documents in ABDM
Introduction to use of FHIR Documents in ABDM
 
The Zero-ETL Approach: Enhancing Data Agility and Insight
The Zero-ETL Approach: Enhancing Data Agility and InsightThe Zero-ETL Approach: Enhancing Data Agility and Insight
The Zero-ETL Approach: Enhancing Data Agility and Insight
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 
Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)
 
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
 
Choreo: Empowering the Future of Enterprise Software Engineering
Choreo: Empowering the Future of Enterprise Software EngineeringChoreo: Empowering the Future of Enterprise Software Engineering
Choreo: Empowering the Future of Enterprise Software Engineering
 
Less Is More: Utilizing Ballerina to Architect a Cloud Data Platform
Less Is More: Utilizing Ballerina to Architect a Cloud Data PlatformLess Is More: Utilizing Ballerina to Architect a Cloud Data Platform
Less Is More: Utilizing Ballerina to Architect a Cloud Data Platform
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
WSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering Developers
 
Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..
 
API Governance and Monetization - The evolution of API governance
API Governance and Monetization -  The evolution of API governanceAPI Governance and Monetization -  The evolution of API governance
API Governance and Monetization - The evolution of API governance
 
How to Check CNIC Information Online with Pakdata cf
How to Check CNIC Information Online with Pakdata cfHow to Check CNIC Information Online with Pakdata cf
How to Check CNIC Information Online with Pakdata cf
 
JavaScript Usage Statistics 2024 - The Ultimate Guide
JavaScript Usage Statistics 2024 - The Ultimate GuideJavaScript Usage Statistics 2024 - The Ultimate Guide
JavaScript Usage Statistics 2024 - The Ultimate Guide
 
TEST BANK For Principles of Anatomy and Physiology, 16th Edition by Gerard J....
TEST BANK For Principles of Anatomy and Physiology, 16th Edition by Gerard J....TEST BANK For Principles of Anatomy and Physiology, 16th Edition by Gerard J....
TEST BANK For Principles of Anatomy and Physiology, 16th Edition by Gerard J....
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 

The concept of tracking user behavior

  • 1. The concept of tracking user behavior
  • 2. Content 1. Why we need tracking? 2. Overview Tracking Mechanism 3. Events to listen - Triggers 4. Data destinations 5. User properties & Event properties 6. Push event methods - Google Tag Manager 7. Push event methods - HTTP API
  • 3. Why we need tracking? Get a complete picture of user behavior in product Turn user's insights into growth opportunities Identify the personas most likely to become PAID users
  • 5. Events to listen - Triggers A trigger listens to web page or mobile app for certain types of events like form submissions, button clicks, or page views. The trigger tells the fowarder tools - like Google Tag Manager, Segment or even the application itself - push an event to data destination when the specified event is detected. “
  • 6. Events to listen - Triggers (cont.) it's just if else logic “
  • 7. Data destinations Data destinations collect events from your web and mobile apps. Then you can analyzing the actions your users perform, gain a better understanding to drive retention, engagement, and conversion. “
  • 8. User properties or Event properties This can give you a deeper analysis into how users are engaging with your app. Besides, it also supports customer segmentation according to their attributes. “ Default Custom ** Google Analytics uses custom dimensions for this purpose
  • 9. Push event methods - Google Tag Manager Push events to Google Analytics Push events to Amplitude Step 1: Init the tool in all pages Step 2: Push an event to Amplitude when trigger matched Step 1: Init Google Analytics in all pages Step 2: Push an event to GA when trigger matched
  • 10. Push event methods - HTTP API Push events to Google Analytics Push events to Amplitude url --request POST --url 'https://www.google-analytics.com/collect?v=1&t=event&t id=UA-xxxxxxxxx-yy&cid=555&ec=Create%20Page&ea=Create%2 0Page&el=Create%20Page&cd1=123456789&cd2=C%E1%BB%ADa%20 h%C3%A0ng%20s%E1%BB%91%201&cd4=false&cd5=ecommerce&cd6= vietnam&cd9=1565079346' --header 'Accept: */*' --header 'Accept-Encoding: gzip, deflate' --header 'Cache-Control: no-cache' --header 'Connection: keep-alive' --header 'Content-Length:' --header 'Host: www.google-analytics.com' --header 'User-Agent:' --header 'cache-control: no-cache' curl --data 'api_key=xxxxxxxxxxxxxxxxxxxxxxxxx' --data-urlencode 'event=[{"user_id":"<_PAGE_ID_>","event_type":"Create Page","user_properties":{"page_id":"<_PAGE_ID_>","page_ name":"<_PAGE_NAME_>","page_category":"<_PAGE_CATEGORY_ >","page_country":"<_PAGE_COUNTRY_>","page_created_date ":"<_UNIX_TIMESTAMP_>","page_is_pro":"<_PRO_OR_FREE_>", "utm_campaign":"<_GET_FROM_URL_>","utm_medium":"<_GET_F ROM_URL_>","utm_source":"<_GET_FROM_URL_>"}}]' https://api.amplitude.com/httpapi