LOG IN OR SIGN UP
Log in to your account
Sign up

How To Track On Screen Notifications With GTM

27 March 2018 | 0 comments | Posted by Che Kohler in nichemarket Advice

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 begin.

Tracking your on-site notifications

Note: You will need to have Google Analytics and Google Tag Manager (GTM) installed before using this method

On-site

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

  1. Open your Google Tag manager account
  2. Create a trigger
  3. Select ID
  4. Add the HTML ID class that is called for the notification
  5. When to fire: Set this to every time the element appears on screen
  6. Check the observe DOM change box
  7. Select the page path with the URL where your notifications would fire

GTM - Tag

  1. Create a new tag
  2. Select universal analytics tag
  3. Provide a tag name - OSN - Error
  4. Select track type event
  5. Set category to OSN (On Screen Notifications)
  6. Set the action to explain what notification is displayed
  7. Set tag to fire on the trigger we created previously
  8. Save and submit

You can then test your tag using the preview and debug mode.

Note:

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.

Contact us

If you want to know more about tracking options for your site, don’t be shy we’re happy to assist. Simply contact us

Tags: google analytics, google tag manager, tracking, User Experience

Previous: {{ previousBlog.sTitle }}

Posted {{ previousBlog.dtDatePosting }}

Next: {{ nextBlog.sTitle }}

Posted {{ nextBlog.dtDatePosting }}

You might also like

Comp shopping tips

How To Do Fashion Comp Shopping in South Africa

17 July 2024

Posted by Inna Makovska in Fashionista


All items are on your device: now you can easily create a look with a few clicks. Learn how to maximize the benefits of online shopping and save time...

Read more
Hotel bookings ensure comfortable travel

Hotel Bookings: The Key to Comfortable Traveling

22 July 2024

Posted by Lisa Frank in Hit the Road


A good hotel reservation and some proper travel planning can determine whether the trip will be successful or filled with unpleasant or costly surpri...

Read more

Leave us a comment


{{comment.sUserName}}

{{comment.iDayLastEdit}} day ago

{{comment.iDayLastEdit}} days ago

{{comment.sComment}}

Sign up for our newsletter