Track Single Page Applications with Google Tag Manager and Google Analytics 4 (3 methods)

  Рет қаралды 53,650

Analytics Mania - Google Analytics & Tag Manager

Analytics Mania - Google Analytics & Tag Manager

Күн бұрын

Пікірлер: 63
@nokillnina
@nokillnina 2 жыл бұрын
Thank you so much. I ran into a problem with a single page application changing history for search and not firing the search site event and so no search term was sent to GA4 - this video saved my day!
@jalajilgerinhod3383
@jalajilgerinhod3383 3 жыл бұрын
I was reading an article about that about an hour ago, and it was quite confusing, next Julius drop a timely video about it, Thanks Julius
@csrotarola
@csrotarola 10 ай бұрын
Awesome!!! I managed to finish a job that I was already frustrated with thanks to the information you gave me.
@codecontent9717
@codecontent9717 2 жыл бұрын
You're absolutely amazing. Your understanding and explainatory skills are beyond par. Thanks a ton :)
@SinaBozorgmehr-g4s
@SinaBozorgmehr-g4s 10 ай бұрын
Thank you Julius! You're da best! Question: I'm using the first method, Enhanced Measurement and have problem with tags like custom scroll depth that will be triggered on Dom ready/ contained loaded. It's working for the first 4 triggers: 25, 50, 75, 90! after that scrolls won't be fired until page is refreshed! Any solution for that?
@digitaltransformation
@digitaltransformation 2 жыл бұрын
thanks. Do you have instructions how to track adwords conversions with this type of configuration?
@leonardoperezsaenzdeheredi9049
@leonardoperezsaenzdeheredi9049 Жыл бұрын
Thank you again Julius, master, you helped me again with your so much high skill to explain 🙂
@chicane3239
@chicane3239 3 жыл бұрын
Will virtual page views work with a universal analytics GA setup?
@leonidaslainis1851
@leonidaslainis1851 2 жыл бұрын
Hi Julius, thanks for the video. I didn't use the GA4 event tag, but still I have the correct "Page Location" value, meaning that I can see the full URL. I don't have # on any URL on my website, though. Why is it important to override the page_location parameter? By the way, the GA4 configuation tag doesn't have "Event Parameters". How can we override the page_location parameter in the GA4 configuration tag?
@sidekick3rida
@sidekick3rida 2 жыл бұрын
This video is absolute gold. Thank you so much!
@tibucornio
@tibucornio 2 жыл бұрын
How to track user_id in SPA?
@bhuvangoyal3043
@bhuvangoyal3043 Жыл бұрын
Hy can you please tell how should I connect GTM with my Vue js (it has a lot of components) Regards
@JoakimGothberg
@JoakimGothberg Жыл бұрын
Hello and thanks for a great video. Can this be used with Scroll on a specific page? I want to measure when a user has scrolled only on pages that contain /blog/ in the url. I have created two triggers. trigger 1: Scroll 25,50,75,100 on "all pages" trigger 2: History Change on some pages contains "/blog/ Then added these to a trigger group and added a tag to that trigger group. What happens now is that when someone scrolls on any page and then enters the blog, this is fired. I want it to only fire if they scroll on the blog only. Thanks!
@patrickdesroches3296
@patrickdesroches3296 3 жыл бұрын
Since you can't disable page view collection in GA4 event when you turn off enhance measurement how do you prevent sending 2 page view ( 1 by default and 1 virtual ) ?
@AnalyticsMania
@AnalyticsMania 3 жыл бұрын
Disable the pageview checkbox in the GA4 config tag
@rafaelcampos7702
@rafaelcampos7702 2 жыл бұрын
Great explanation, thank you! I did not understand the "Important" messages inserted as images along the video.. why it's necessary to override page_location and page_title in all other GA4 tags as well? If a website is not full SPA (some pages loads normally, others are SPA), do I still need to override page_location and page_title at config tag and other GA4 tags? Thanks
@M1911jln
@M1911jln 3 жыл бұрын
Can you recommend a much more basic intro? I need a higher level introduction to GA4 and Google Tag Manager. I'm really confused as to whether I need to pull analytics.js out of our JavaScript, upgrade to gtag.js, just implement GA4 in the console, or GA4 + tag manager + gtag.js. A higher level introduction of the various alternatives for a single page app would be greatly appreciated.
@AnalyticsMania
@AnalyticsMania 3 жыл бұрын
If you want flexibility, then it's always GTM + built-in GA4 tag (and NOT gtag.js in the Custom HTML tag). Don't pull analytics.js to JS file. Don't ugprade to *just* gtag.js. A generic intro to GTM is here kzbin.info/www/bejne/Z5XanJKbp710odE If you still struggle, then you need a clear step-by-step course + my support. You can get that here www.analyticsmania.com/courses/google-tag-manager-course-for-beginners/
@aamazingideasnational
@aamazingideasnational Жыл бұрын
Good and descriptive video Julius, Thanks!
@chiragagarwal4879
@chiragagarwal4879 3 жыл бұрын
Thank you! One more question - Our page title does not update when switching from link to link, but it's available in a CSS div property. What would be a good way to track that as a page title on GA4?
@imgom3s
@imgom3s 3 жыл бұрын
Hi @Chirag, you can create a variable based on this div id, for example, and get innerText to send as you page title.
@Azmayenfayek
@Azmayenfayek Жыл бұрын
How to track add to cart button and purchase on SPA?
@oscarrodriguez9519
@oscarrodriguez9519 3 жыл бұрын
Very powerful explanation on real situations. Congrats¡
@ld8778
@ld8778 2 жыл бұрын
I'm grateful for the content, but holy smokes he goes fast. How do you connect your debugger ? How is GA watching your localhost to connect all this? Sooooooooooo many questions. I can't be the only one lost on how to use GA4 in SPAs
@amantanwar155
@amantanwar155 3 жыл бұрын
This is so informative. Thanks for the explanation! I've tried implementing the UET tag on all pages and UET tag assistant wasn't showing that it is firing on all pages. Is it a limitation or am I'm missing here anything? Thank you!
@muhammad_haider_pervaiz
@muhammad_haider_pervaiz 3 жыл бұрын
This is beyond fantastic man keep these videos coming fast!
@alejandrocarpio1799
@alejandrocarpio1799 2 жыл бұрын
Hi Julius! Quick question: does it matter if the Config Tag does not load in 'Container Loaded' message? My Config tag loads only in the virtualPageview step. Thanks!!
@AnalyticsMania
@AnalyticsMania 2 жыл бұрын
It does not matter
@anasansary1583
@anasansary1583 2 жыл бұрын
Thanks a lot, sir. I have followed the second one & working for me. But right now I am stuck at Google Ads conversion tracking. How can I Pass Data from Tag manager to Ads Manager for conversions? Please help!
@leea4839
@leea4839 2 жыл бұрын
Don't you just link Google Ads to GA4, then you can pass conversion data along to Google Ads?
@chiragagarwal9283
@chiragagarwal9283 3 жыл бұрын
Amazing! Just in time! Quick question - how does the tracking (second method # in URL) supposed to look on the analytics page?
@AnalyticsMania
@AnalyticsMania 3 жыл бұрын
You can check the outgoing request in the GTM's Tag Assistant and you will see
@kimvoon3742
@kimvoon3742 3 жыл бұрын
This is an amazing video dude, very much appreciated
@SilverDecor-e2h
@SilverDecor-e2h 26 күн бұрын
Helpful methods.
@turkalpkucur
@turkalpkucur Жыл бұрын
thank you! #3 solution is good!
@tiaanpersonal3458
@tiaanpersonal3458 3 жыл бұрын
Is the rogue referrer issue an problem with GA4 as it is with UA?
@AnalyticsMania
@AnalyticsMania 3 жыл бұрын
No
@flaviaestrada542
@flaviaestrada542 Жыл бұрын
Super useful , thank u ❤
@govindkarthikeyan
@govindkarthikeyan 2 жыл бұрын
Extremely useful content, Thanks for sharing your knowledge !
@3eich03
@3eich03 3 жыл бұрын
Thanks, Julius! When I enter Preview Mode, I always see more than one Preview Device but I'm definitely the only one using the Preview Mode. You know why there are several devices shown? Also, every page_view is collected by another device..
@AnalyticsMania
@AnalyticsMania 3 жыл бұрын
Other users might have ga4 debug view enabled as well www.analyticsmania.com/post/debugview-in-google-analytics-4/
@3eich03
@3eich03 3 жыл бұрын
@@AnalyticsMania hey Julius, thanks for your response. I checked it twice, I'm the only one using debug view right now. Also, for every device shown, there is exactly the same ga_session_id und ga_session_number.
@dilipkumarg9680
@dilipkumarg9680 Жыл бұрын
This is amazing
@jomarocampo1997
@jomarocampo1997 3 жыл бұрын
is it possible to change GTM Container without reloading the page? e.g. change app language
@AnalyticsMania
@AnalyticsMania 3 жыл бұрын
No. You can launch a new container, but then you will have two containers running at the same time. This might be problematic in some cases, thus I would recommend reloading the page when language is changed (devs should do that)
@jomarocampo1997
@jomarocampo1997 3 жыл бұрын
ok thanks
@sidewinder2057
@sidewinder2057 2 жыл бұрын
But there is no Enchanced Measurement option anymore. Is it gone now?
@AnalyticsMania
@AnalyticsMania 2 жыл бұрын
clear your browser
@sidewinder2057
@sidewinder2057 2 жыл бұрын
@@AnalyticsMania it helped, thanks!
@Coksaugenatbrockhausen
@Coksaugenatbrockhausen 3 жыл бұрын
can you please edit your footage? it is way too fast and confusing to watch you roam around with your mouse
@shyamthakur1201
@shyamthakur1201 2 жыл бұрын
great video 🙂
@felipellanos8666
@felipellanos8666 2 жыл бұрын
¡Great Tutorial! ¿you think this is posible for Universal Analytics?
@anphung4214
@anphung4214 3 жыл бұрын
Awesome information!
@premkumarkanmani117
@premkumarkanmani117 3 жыл бұрын
The video is very informative. It would be nice if you do a video about tracking enhanced e-commerce on the Single Page Application website. Thank you, Julius.
@AnalyticsMania
@AnalyticsMania 3 жыл бұрын
No plans for that. But I have lessons about single page applications and I have a lot of lessons about enhanced ecommerce in my GTM courses www.analyticsmania.com/courses/ Every student gets support from me and I could give you further instructions/tips.
@vivektiwari5774
@vivektiwari5774 3 жыл бұрын
good explanation
@AnujKumar-ox3jm
@AnujKumar-ox3jm 2 жыл бұрын
Where is info for app in this video dude??
@AnalyticsMania
@AnalyticsMania 2 жыл бұрын
"Single-page application" is a type of a website.
Жыл бұрын
Thanks!
@DobbinZachary-m3r
@DobbinZachary-m3r 2 ай бұрын
Davis William Walker Gary Miller Donna
@jonesienz
@jonesienz 2 жыл бұрын
Im sure you know the topic but you go far to fast for me.
@VLu22
@VLu22 2 жыл бұрын
This is horrible man
Google Tag Manager Tutorial for Beginners (2024) with New Google Tag
1:01:26
Analytics Mania - Google Analytics & Tag Manager
Рет қаралды 254 М.
5 Advanced Google Tag Manager tips
21:08
Analytics Mania - Google Analytics & Tag Manager
Рет қаралды 13 М.
Enceinte et en Bazard: Les Chroniques du Nettoyage ! 🚽✨
00:21
Two More French
Рет қаралды 42 МЛН
小丑教训坏蛋 #小丑 #天使 #shorts
00:49
好人小丑
Рет қаралды 54 МЛН
Button Click Tracking with Google Tag Manager - 3 methods
23:14
Analytics Mania - Google Analytics & Tag Manager
Рет қаралды 60 М.
Click Element Variable in Google Tag Manager (how to use it correctly)
16:12
Analytics Mania - Google Analytics & Tag Manager
Рет қаралды 46 М.
10 Google Analytics mistakes in the configuration that you should avoid
22:31
Analytics Mania - Google Analytics & Tag Manager
Рет қаралды 26 М.
Track Video with Google Analytics 4 and Google Tag Manager (Youtube, Vimeo, and more)
17:34
Analytics Mania - Google Analytics & Tag Manager
Рет қаралды 48 М.
Google Analytics 4 Audiences (how to create them and where to use them)
16:05
Analytics Mania - Google Analytics & Tag Manager
Рет қаралды 48 М.
Button click tracking with Google Tag Manager (2024) || Track clicks with GTM
15:23
Analytics Mania - Google Analytics & Tag Manager
Рет қаралды 8 М.
Data Layer in Google Tag Manager || GTM Data Layer Tutorial with examples
22:33
Analytics Mania - Google Analytics & Tag Manager
Рет қаралды 161 М.
Google’s Quantum Chip: Did We Just Tap Into Parallel Universes?
9:34
How to Build Search Terms Report in Google Analytics 4 (GA4)
5:52
Analytics Mania - Google Analytics & Tag Manager
Рет қаралды 930
Enceinte et en Bazard: Les Chroniques du Nettoyage ! 🚽✨
00:21
Two More French
Рет қаралды 42 МЛН