![]() Alternatively, you may feel that the time taken to learn this tool could be better spent elsewhere in your business and you may choose to outsource the set-up of your GTM account and tags to an agency or freelancer who is familiar with the tool. These should be checked by a developer before they are implemented. For example, you may find some ready-made scripts online that claim to help you with a complex tracking implementation, and require custom HTML to be added to your site. We recommend seeking expert help from a developer before implementing anyĬustom HTML or custom JavaScript to your site, as incorrect code could break your site’s functionality. You may also require help from a developer if you need to create any complex tracking tags, or if the functionality you want to track requires additional HTML elements to be added to your site to be able to be tracked. Initially you will need support in adding the GTM container script to your site’s back-end, unless you know how to code this in yourself or your web-builder tool offers built-in or simple integration. GTM does this by creating the tracking code needed for these tags based on parameters that you input.Īlthough you can create and implement tags yourself with a relatively small amount of technical knowledge, you will probably still require expert help from a developer with some elements, particularly if you cannot code yourself. In the interface, you can also create custom tracking tags yourself - such as Google Analytics event tags - to track specific functionality within your website (which would traditionally have had to be created by a developer). Think of it as an access hatch directly to the backend of your site! GTM is a tag management tool that allows you to add these platforms’ tracking code to your site, to enable you to use the Google Analytics or Google Ads reporting features.Įssentially, GTM enables you to add tags by adding an empty tracking ‘container’ to the back-end of your website, which can then be filled with the tags and pixels of your choice. GTM is not the same as Google Analytics (which is a reporting tool measuring how people interact with your site) or Google Ads (which is an advertising platform that allows you to run PPC ads). However, it can also be used to add tracking scripts and tags from a range of other platforms, including Search Console verification, heatmap trackers such as Hotjar, and many more. It is most commonly used in tandem with tools like Google Analytics, Google Ads and Facebook Ads to add their tracking scripts to your site. It is a free online tool which allows you to create tracking tags and add them directly to your website from its online interface. It is only able to pick up the initial data layer content.With Google Tag Manager, website owners and marketers can more easily create, add and update tracking tags themselves, without the need for each one to be ‘hard-coded’ into your website. The Matomo data layer will also not be updated when you push changes to the GTM data layer afterwards. Please note we do not support any renamed data layer variable. The variable needs to be defined before the container is loaded. Instead of window._mtm.push( you will be happy to hear that we are supporting this as long as you have configured the data layer variable as early as possible within your website. When you define a variable, you should always enclose it in quotes as otherwise JavaScript errors may occur. ![]() ![]() Ensure the casing for the variable is correct as the data layer is case-sensitive.If you want to use the same container logic for example for different ecommerce systems, you may want to go for a more general prefix like ecommerce.orderTotal. For example woocommerce.orderTotal to avoid any potential collision with other systems. Prefix your variable names with your company or application name.You can now assign this trigger to a tag to ensure a tag will be fired or blocked whenever this event is being triggered from your website or app.Īssuming you created a variable "Order Total" for the orderTotal data layer variable, you could even configure a condition along the trigger to for example only trigger when Order Total is greater than 100. To create a trigger that is listening to this event in Matomo Tag Manager, create a new trigger of type Custom Event and configure as Event Name the value purchase. ![]() Keep in mind that this does not send an event to Matomo, but allows you to create a tag in Matomo Tag Manager that reacts based on this event. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |