2 Ways To Install Google Tag Manager In Wordpress Without A Plugin

  Рет қаралды 14,247

WordPress Tutorials - WPLearningLab

WordPress Tutorials - WPLearningLab

Күн бұрын

Пікірлер: 33
@wplearninglab
@wplearninglab 4 жыл бұрын
This tutorial is part of the Plugin Killer series on my channel. In that series, you will learn how to replace popular plugins with simple pieces of code. Fewer plugins = happier websites. Here's the full playlist: kzbin.info/www/bejne/fZfNfKZnm6h1pqs
@Badmetal305
@Badmetal305 4 жыл бұрын
Which are the only "necessary" plugins, that need to be kept? Make a video on that, if you could. Have you made a video on generating good backlinks?
@jamielee630
@jamielee630 2 жыл бұрын
I found this video when i was trying to speed up my website by removing plugins. The best explanation yet👍
@analyticsm2bc613
@analyticsm2bc613 2 жыл бұрын
This video helped me to add the GTM snippets to my WP website. I've chosen the 2nd way simply because it's how it's also mentioned in the GTM: "add this below head...", so it was less confusing for me and for any future interactions.
@twinqlez1
@twinqlez1 3 жыл бұрын
Hi, does this work with the Astra Pro theme as well? I don't think it has a child theme and I really appreciate that you teach this without using a plugin...
@MoozPack
@MoozPack 15 күн бұрын
you done a good job. Apprecited Sir!
@GrahamHoffman1
@GrahamHoffman1 4 жыл бұрын
Love this series idea! Looking forward to what else you’ve got planned to kill/remove :)
@leslieintriago3809
@leslieintriago3809 11 ай бұрын
Can you add directly to wordpress stream in header.php file and avoid hosting site?
@MauricioDanzas
@MauricioDanzas 3 жыл бұрын
Hello Bjorn! Only you can save me! When I build an "elementor canvas" page, the GTM code does not load on the page. I'm getting crazy, I called google, I have tested in different WP installations, domains...but all from the same host. Could it be a host issue? or is it normal when using an "elementor canvas" page? Please help me! (using astra pro+elementor pro)
@vetosite8797
@vetosite8797 2 жыл бұрын
Nice video man !
@twinqlez1
@twinqlez1 3 жыл бұрын
HAD to sub!!! I watched your video already previously and finally realized you give some super videos, clean clear Love it thanks!
@Od4n
@Od4n 3 жыл бұрын
Thank you. I was stuck for days trying to figure this out. My SEO course pointed me to DuracelliTomiTagManager plugin and the plugin requires a decision on where to place the noscript part of the GTM container. The only viable option is custom, meaning tweak the template by adding a line of code directly beneath the tag. I use a child theme, everybody recommends that, then all the other videos don't address how to add code to when using a child theme. I have this issue on 2 different themes, paid premium themes, and the support only points to the "add snippet to header" way. Ignoring the question. You are the only one making sense. Now I have learned how to place the code. It appeared that you preferred the 2nd option, e.g copy the file and I understand the optimisation point, but is there no danger that a theme update changes something in the header.php? What is the point of DuracelliTomiTagManager if you still have to place code? Oh, I said viable option, ...the other options have all remarks a) not recommended, b) could break your frontend, c) off-nothing-no function.
@fabiodias7878
@fabiodias7878 3 жыл бұрын
Can I do this having the most simple WordPress plan (i. e., personal)?
@charlybtube
@charlybtube 2 жыл бұрын
Amazing content and pedagogy. Thanks a lot! 👍👍👍
@azahinnordin2771
@azahinnordin2771 4 жыл бұрын
Does it work with Woocommerce ? Like e-commerce data also being tracked.
@wplearninglab
@wplearninglab 4 жыл бұрын
Hi Azahin, Yep, it does. GTM is just an easier way to add tracking code to your websites. So if you have ecommerce tracking enabled in Google Analytics it will work as usual. And you can use GTM to easily create events based on user actions in your store and other data that you will then see in your GA reports. I'll be publishing a video showing how to do that soon.
@bySterling
@bySterling 4 жыл бұрын
I’ll def give this a full watch tomm Bjorn!
@greengrass1970
@greengrass1970 3 жыл бұрын
Thanks for the video! The installation worked beautifully :)
@increst
@increst 2 жыл бұрын
Thank you, it was a great and easy tutorial!
@vandanasharmadesigningden
@vandanasharmadesigningden 3 жыл бұрын
Thank you for posting this video. I really like you videos. I cannot see the body tag code. I can only see the header tag on view source. I followed all the steps you have done.
@setgraphi
@setgraphi Жыл бұрын
Great_vid!_Thaks_very_much!
@oneplacedigital
@oneplacedigital 4 жыл бұрын
Very well explained!👍
@inventoryoptimizationpro7352
@inventoryoptimizationpro7352 3 жыл бұрын
I can not see where I should pate the code inside the function php.
@VintageHeavyMetal
@VintageHeavyMetal 3 жыл бұрын
Hello Bjorn, followed this tutorial to have Google Auto Place Ads on my site. Of course it worked really well, thanks! But: Now I've found myself "in a pickle", my theme developer has "hooked" the code I have added and I when I remove the code, yep you guessed it, all hell breaks lose! Is there a way to comment out my AdSense code added to my functions.php?
@VintageHeavyMetal
@VintageHeavyMetal 3 жыл бұрын
Disregard, I have it sorted, was extremely tired yesterday.
@studiojpeg
@studiojpeg 4 жыл бұрын
Could you do a video showing how to use Google Tag Manager to setup google analytics and pixel tracking from facebook and pinterest?
@scottsabo3816
@scottsabo3816 3 жыл бұрын
Hello, thank you for sharing your knowledge. I like the idea of controlling how high up in the header you can paste the code, however, I do not use a child theme. How do I hardcode GTM into the highest section of my header without it being overwritten when my Avada theme is updated? After following your other video on whether or not I need a child theme, it appears that I do not. And I don't really trust a plugin to put the script as high in the header as possible. Surprisingly, it is very hard to get info on how to paste the script as high in the header and body as possible without a plugin or child's theme. And I feel that any global theme changes in the header and body are just subject to be deleted with a new update. However, this too isn't quite clear. It seems the plugin does override the theme though. So I am likely to use this as a last resort. I am not a developer but I have access to our cPanel and was thinking that would be the easiest way to ensure proper placement. Thank you for reading my post. Any info or resources are greatly appreciated.
@wplearninglab
@wplearninglab 3 жыл бұрын
Hey Scott, You're right that you're GTM code could be overwritten in future Avada updates if you put it directly into theme header.php file. But that is the ONLY way to get it reliably to the very top of the header file. You can add GTM code via your functions.php file. I have a video for adding Javascript to a theme via the functions.php. It would work the same way for GTM. You can check it out here: kzbin.info/www/bejne/fKiZh3eFj76kqK8 I hope that helps :) Let me know if you have any further questions. Thanks for watching!
@jjasminchang
@jjasminchang 3 жыл бұрын
Thanks a lot!
@Electronzap
@Electronzap 4 жыл бұрын
Pretty cool :)
@wplearninglab
@wplearninglab 4 жыл бұрын
Yep, it is. Thanks for watching!
@robertdiana3944
@robertdiana3944 3 жыл бұрын
Grazie! funziona.
@BrianLewis-ct8jm
@BrianLewis-ct8jm 2 жыл бұрын
He needs to talk faster and use more terms that people who would need to watch this dont know. That way it can be a even bigger waste to time to watch.. lol
How To Use Code Snippets Without A Plugin In Wordpress
16:54
WordPress Tutorials - WPLearningLab
Рет қаралды 11 М.
So Cute 🥰 who is better?
00:15
dednahype
Рет қаралды 19 МЛН
Гениальное изобретение из обычного стаканчика!
00:31
Лютая физика | Олимпиадная физика
Рет қаралды 4,8 МЛН
Что-что Мурсдей говорит? 💭 #симбочка #симба #мурсдей
00:19
How To Add Live Chat To WordPress Free - Best FREE Live Chat Service For Websites
32:32
WordPress Tutorials - WPLearningLab
Рет қаралды 57 М.
How to Upgrade to Google Analytics 4? (and when should you do it)
17:58
Analytics Mania - Google Analytics & Tag Manager
Рет қаралды 52 М.
NitroPack Setup & Settings To Go From 15 To 98 On Mobile On Google Pagespeed Insights
13:15
WordPress Tutorials - WPLearningLab
Рет қаралды 73 М.
How to Become an SEO Expert
8:30
Ahrefs
Рет қаралды 75 М.
How to Speed Up Your WordPress Website (Simple Guide)
14:03
Asset Cleanup Elementor Speeds Elementor Sites Even More - Asset Cleanup Plugin Settings
20:00
WordPress Tutorials - WPLearningLab
Рет қаралды 40 М.
How to Deliver a Wordpress Website to a Client in 8 steps
21:10
Rino de Boer
Рет қаралды 396 М.
How to Track Events with Google Analytics 4 and Google Tag Manager // Google Analytics 4 Events
50:33
Analytics Mania - Google Analytics & Tag Manager
Рет қаралды 212 М.
Create A Custom Login Page, Custom Registration Page & An Edit Profile Page In WordPress
19:03
WordPress Tutorials - WPLearningLab
Рет қаралды 198 М.
So Cute 🥰 who is better?
00:15
dednahype
Рет қаралды 19 МЛН