I have read from the documentation that GTM can be integrated on Shopify Plus stores. However, I have also read that from blogs that they can also integrate GTM on Shopify Standard stores.
So what is the difference between Plus and Standard in terms of GTM integration?
Another topic I want to know is how to use GTM to control the GA the hits from the Shopify GA Integration. Because I believe if I setup the GA Code in Shopify Settings and setup the GTM script, the GA code still fires hits to GA and GTM will just handle any other dataLayer and events. I cannot control the enhanced ecommerce and pageview hits with GTM.
Edited:
I just got in touch with Shopify Support, and the reason why they say that GTM is only available on Plus stores, is because Plus stores have access to the checkout.liquid which is required to integrate GTM on the checkout page for the whole site to work with GTM. Standard stores will not have GTM on checkout page.
GTM integration is the same in Plus stores as in Standar stores. Paste your code in the beginning of the head and the begging of the body.
If you add GTM in the code, I would suggest removing the GA code in the Shopify preferences and adding it to your GTM to have full control of all triggers and events.
Related
I have question regarding integration Google Analytics 4 into Prestashop. My company has setup some years ago Universal Analytics. Now that Google forces everyone to slowly migrate to Google Analytics 4 I was tasked to do it.
I have created GA4 property, inserted gtag into site's code and connected it to the existing UA tag on the site. Everything is working fine, user's data is here except for revenue. Do I need to manually add everywhere custom events as in this documentation? https://developers.google.com/analytics/devguides/collection/ga4/ecommerce?client_type=gtag
I know that they are Prestashop modules for this but they are paid and because of this aren't a option. Also current Google Analytics module don't support GA4
Yes, the url you posted describes ecommerce implementation through gtag. If that's what you're doing, then yes, to get revenue, products, transactions and the rest of EEC-related data, you'll have to implement it as described there.
Most of people choose to implement GA4 through GTM since it's much easier to manage and maintain there. But if the intention is to have tracking with the front-end team, then direct use of gtag may be justified.
Is there any way to check how much time Your tags are taking to fire on your website? i just wanted to know how to check gtm tag load time? is there any settings we can implement in Google analytics or gtm to check it?
Here's what I did,
Installed Google Analytics by MonsterInsighs plugin on WordPress
site.
Authenticated and Connected the plugin to use corresponding Google
Analytics Property
I have not manually inserted any tracking code on my site. I am under the impression that the tracking code insertion is (and should be) the task of MonsterInsights plugin. With that strong supposition, I cleared the cache on Site CDN and Site Server to check if the tracking code is inserted. The three verification methods I used are;
Verification through Google Tag Assistant Chrome Plugin
Verification through Google Analytics Debugger Chrome Plugin
Manual Verification by Viewing Page Source
Ther are no errors in the plugin page. None of the methods have indicated the presence of tracking code. You can have a look yourself at https://techmars.org
PS: All of these activities are very recent i.e. It has just been an hour. Does it usually take some waiting? I haven't encountered such a prerequisite anywhere.
MonsterInsights automatically adds the tracking script. It appears to have done so on your site. The only time it would require waiting is if you were to use some sort of page caching that needs to clear for new frontend output tags to show.
I have an old ecommerce platform that tracks what products are sold (names, price, transaction), gives us a return on Adwords spend etc. This is performed well by an old Urchin code in Google Analytics without any additional configuration.
Very surprised to see that by default in Universal Analytics when couple with OpenCart etc - even with Ecommerce switched on in Google Analytics, there is no Google Analytics ecommerce product data tracking.
Can this only be provided through Google Tag Manager by finding your product variables add then adding a datalayer with GTM?
Since Urchin was oldest version of google analytics, after that google had introduced synchronous, asynchronous and currently running version is universal.So it is recommended to upgrade google analytics code.
After upgrading analytics code it is mandatory to upgrade your google analytics ecommerce tracking code.
and if you are using google tag manager then you have to push all ecommerce details in dataLayer. And it is quite simple in case of opencart.
I worked on opencart multiple time, if you are looking to google analytics ecommerce tracking solution then follow this blog http://www.notesonclick.com/blog/ecommerce-tracking-in-opencart-2-3/
for enhance ecommerce tracking , search on google for extension
More or less. You could implement your GA code via a custom HTML tag without a proper datalayer, but even so you would have to create variables within GTM that you can pass to the GA tag. But if you want to use the Tag Template you got to have a datalayer in the format specified by Google.
Searching for "Open Cart Enhanced E-Commerce-Tracking Google" brings up several affordable extensions that promise to create an appropriate dataLayer for GTM (yoi do not usually "add a dataLayer with GTM - if at all possible you create the dataLayer on the server and pass it to GTM. You can write to the dataLayer from within GTM, but that's a bit of a hack).
I'm attempting to learn how to incorporate Google Analytics and custom event tracking on a new website. After researching into it, I can't seem to understand the difference and relationship between Google Tag Manager and just writing custom event tracking code.
Is Google Tag Manager just an easier way to track information without having to write JS?
Yes - Google Tag Manager is a "Tag Management System" wherein you can implement a lot of tags external of a typical development release cycle.
Adding tags without efficient management prompts big problems. All that code bogs down your site. Redundant or incorrectly applied tags can distort your measurement and result in duplicate costs or missing data. And it can be time-consuming for the IT department or webmaster team to add new tags, which means important marketing and measurement programs can be delayed. With Google Tag Manager, you eliminate these problems—and run your campaigns when you need them. -- source
Marketing and tracking services provide “tags” — snippets of code you’re often asked to embed right before the end of your tag — and they’re relatively easy to use, but when more than a few tags are involved, managing them can be a tedious task. This is where Google’s new Tag Manager comes in, which consolidates all of your site’s tags into a single admin panel. Now, you only have to include one automatically-updated snippet on your site. -- source
A Tag Management System (TMS) is solution that controls the deployment of externally hosted Javascript "page tags", very similar to what a Content Management System does for content. Probably the most known tag-based application known is Google Analytics, but other apps include simple social media interactions such as the Facebook Like or Tweet This buttons to more complex systems such as the Intense Debate or Disqus comments systems. -- source
So in your question, you can implement google analytics via custom event tracking code or you can install google tag manager and then code all your custom google analytics event hooks in it.
The google analytics is for user tracking and website traffic analysis and statistics.
The Tag manager is to manage plugin to website like google analytics basically they are different.
You could add google analytics to your tag manager account and the only plugin you will add to your website it the tag manager
i have tried this already.
hoping this was helpful.
thanks (=
Let me share my experience of implementing custom event tracking with Google Tag Manager.
Goggles Tag Manager (GTM) is a layer between your website and Google Analytics (GA).
We can use GA code for event tracking but in this case we have to write JavaScript in the website code. We have to look for event and need to add GA code inside that event handler. Since we have updated code, now we have to wait for the code release cycle to make it available to live site.
Using GTM it is possible to handle custom event tracking without adding code to the website and we can test our implementation with GTM inbuilt debugger before deploying to production website, at anytime.
And there is one more design pattern where we can implement generic custom event tracking for the whole website without adding JavaScript, but adding data-attributes to links, buttons or div- what ever event we want to track just add your data-attributes to the link and those attributes will go to GTM trigger and if it matches the rule, that event will be tracked. This design pattern is good for any kind of generic custom event tracking. I have implemented custom click tracking number of times using this pattern, and I am happy with it.
Google Tag Manager makes tagging easy as it has quite a few builtin dom variables and event handlers for Click, Pageview, Custom Events etc.
It also allows you to manage various external vendors and sends them the data they need. (I.e., Facebook pixel)
It really is a great eco-system for non-developers to get involved in tagging and event tracking.