Section Topics
Introduction
In the Statistics module, it is possible to track events on your website. The Event Tracking feature lets users monitor and track the number of clicks on each button or link and use this data to improve the browsing experience for your website visitors.
Note: One Click = One Event. For example, if the same user interacts with the item 10 times, it is counted as 10 events.
Prerequisites
The Monsido customer needs to have the Monsido script installed on their website.
For more information, see the User Guide chapter:
The Statistics module needs to be activated on the domain.
For more information, see the User Guide chapter:
Setup
Add the following code snippet to each page element where you wish to track user interactions.
onclick="window.monsido_functions.trackEvent('Category', 'Action', 'Event', 1);"
For more information, see the User Guide chapter:
Instructions
This section gives instructions on how to navigate to Event Tracking in the Statistics module.
From the Monsido Domain Overview, click Select Domain. The Domain Overview page opens.
Click on the domain name. The Dashboard for the domain opens.
Locate the Statistics section and click to open it, or click Statistics (the broken pie chart icon) on the page menu bar. The Statistics landing page opens.
From the menu on the left, click Content.
The menu expands.
From the expanded menu, click Events.
The Events page opens by default to the Categories view.
Event Categories
From the options on the upper right-hand side of the window, click Categories.
The Categories view is a table with the following headers:
Category: User-assigned category. This can be, for example: Contact.
Action: This is the element that is assigned to be tracked, for example, a Contact Us button.
Events: This column tracks and shows the number of times that users interact with the element, for example clicks on the Contact Us button.
Note: One Click = One Event. For example, if the same user interacts with the item 10 times, it is counted as 10 events.
Event Actions
From the options on the upper right-hand side of the window, click Actions.
The Actions view sorts the chart per tracked item, for example a link or button. The Actions view table has the following headers:
Action: This is the element that is assigned to be tracked, for example, a Contact Us button.
Name: This category is defined by the user. It usually defines the element further if needed.
Events: This column tracks and shows the number of times that users interact with the element, for example the number of clicks on the Contact Us button.
Note: One Click = One Event. For example, if the same user interacts with the item 10 times, it is counted as 10 events.
Event Export
Export the Events statistics.
Click Export.
A dialog opens. Select the export from the list.
Monsido sends the export to the email on the account.
Event Names
From the options on the upper right side of the window, click Names.
The Names view is a table with the following headers:
Name: This category is defined by the user. It usually defines the element further if needed.
Action: This is the element that is assigned to be tracked, for example, a Contact Us button.
Events: This column tracks and shows the number of times that users interact with the element, for example number of clicks on the Contact Us button.
Note: One Click = One Event. For example, if the same user interacts with the item 10 times, it is counted as 10 events.
How to set up onclick Events with Google Tag Manager
The onclick event executes a certain functionality when, for example, the user clicks on any button.
This event lets website owners monitor and track the number of clicks on each button or link, and use this data to improve the browsing experience for website visitors.
Make sure that the Monsido script is already deployed on Tag Manager, so that the statistics are ready to collect data.
For more information, see the user guide chapter:Click Tags, from the menu on the left.
Click New, on the top right of the page.
Create a new tag with the type should be Custom HTML.
Note: The event is set with Javascript.Rename the tag. That option is on the top left corner of the window.
Add the event onclick script.
1<a class="b-btn-t" href="#">Click me</a> 2<script type="text/javascript"> 3function trackEvent() { 4 return window.monsido_functions.trackEvent('Category', 'Action', 'Event', 1); 5} 6document.querySelector('a.b-btn-t').addEventListener("click", trackEvent); 7</script>
Note: Make sure to adjust the script, since it is set to trigger on a specific button.
Select the tag to be triggered on one or several pages.
Note: The trigger configuration might need to be adjusted.Save the changes.
Publish to the website.
For more information, see the Google document:
Additional Information
It is important to remember that One Click = One Event. For example, if the same user interacts with the item 10 times, it is counted as 10 events.
For more information, see the User Guide chapter:
For further assistance, contact the Monsido support team at support@monsido.com or via the Monsido chat and help features inside the application.
Contact us:
Monsido, Powered by CivicPlus
San Diego, CA, USA
5880 Oberlin Dr,
San Diego, CA 92121, USA
Australia & New Zealand
Suite 2.04
80 Cooper St
Surry Hills, NSW 2010
Copenhagen, Denmark
Borupvang 3
2750 Ballerup, Denmark
London, UK
14 New Street
London, EC2M 4HE