6 Considerations Before Starting A Home Gym
09 December 2019
Top 7 Strategies For Getting More Comments On Your Blog
09 December 2019
14 Safety Tips To Secure Your Driveway
08 December 2019
14 Types of Burglar Bars For Your Home
07 December 2019
Trending Music Hashtags To Get Your Posts Noticed
24 August 2018
Trending Fashion Hashtags To Get Your Posts Noticed
05 April 2018
Trending Beauty Hashtags To Get Your Posts Noticed
05 July 2018
Trending Wedding Hashtags To Get Your Posts Noticed
18 September 2018
How To Track On Screen Notifications With GTM
Websites come in all types, shapes, sizes and perform different tasks from catalogue sites, e-commerce sites, SAAS sites, blogs and more. While they all have their many differences, there are certain UX practices that are universal and should be practised. One of these universal practices is on screen notifications, which help guide the user during any sort of process from signing up to create an account, adding a product to their basket, completing a contact form and the list goes on.
Benefits of on-screen notifications
On-screen notifications are important for the conversion process by immediately acting as a push to help users by flagging certain actions for example not completing a form field or using the incorrect email format. Without these notifications, the conversation rate of your sites primary actions would be much lower than they are today.
The problem with on-site notifications is that since its a staple to many sites its taken for granted, its set up and never looked at again. Site owners are hardly proactive in using this tool, and many don't even collect data on how it performs. Which is a practice I aim to eliminate with the help of this article, so let us
Tracking your on-site notifications
Note: You will need to have Google Analytics and Google Tag Manager (GTM) installed before using this method
Firstly you will need to know the HTML ID or CSS called for your site notifications you want to track. This can be found in your CSS or you can inspect the page elements when the notification is fired to find the ID. Once you have all the ID's you would like to track its time to set it up.
Note: If you don't have the relevant HTML markups you will need to get a developer to update this for you.
GTM - Trigger
- Open your Google Tag manager account
- Create a trigger
- Select ID
- Add the HTML ID class that is called for the notification
- When to fire: Set this to every time the element appears on screen
- Check the observe DOM change box
- Select the page path with the URL where your notifications would fire
GTM - Tag
- Create a new tag
- Select universal analytics tag
- Provide a tag name - OSN - Error
- Select track type event
- Set category to OSN (On Screen Notifications)
- Set the action to explain what notification is displayed
- Set tag to fire on the trigger we created previously
- Save and submit
You can then test your tag using the preview and debug mode.
If you have more than one on-screen notification you would like to track you can either create multiple tags for each notification or you can create a dynamic variable which will populate the action field in your event tracking configuration.
More than just tracking
While this data may be used for statistical purposes and for user experience improvements it's more just a nice to have when you're putting together your monthly reports or fancy powerpoint slides to present to management. You can actually take this data and go on the offensive, as a digital marketer you need to be able to look at data and say to yourself:
"How can I turn this into a positive?"
By tracking users who receive an error message, you could easily fire a retargeting pixel on that event and start building remarketing lists. Once you've created your lists, you can then create remarketing campaigns that speak directly to that error in order to contextually bring back the customer and flip a negative experience into a possible positive one.
You can also combine this with customer acquisition and let certain users know that by creating an account or signing up for your newsletter you'll automatically get tips and advice on how to solve problems or easy access to your contact centre.
If you want to know more about tracking options for your site, don’t be shy we’re happy to assist. Simply contact us