Skip to main content
All CollectionsPageAssist
PageAssist™ Basic Tracking
PageAssist™ Basic Tracking

How to set up PageAssist basic tracking on Statistics platforms

Updated over a week ago

Article Navigation


Prerequisites

These are the requirements that must be met before the basic tracking for PageAssist™ can be installed:

  • Monsido script installed on the website.

  • Monsido PageAssist module activated, with the page icon enabled.

  • Analytics or other statistics platform of choice such as Google Analytics (as used in this document).


Introduction

It is now possible to track the number of times a visitor has opened the PageAssist™ add-on and used it to view website analytics.


Video Setup Tutorial


Setup

Set up the tracking feature inside the HTML page head tags. See the script below for an example.

<script> 
window.addEventListener('mon-pageassist-open', function() {
console.log('open pa');

window.monsido_functions.trackEvent(eventCategory, eventAction, eventName, eventValue?); });
</script>

See the script below for an example of how this looks in Google Analytics.


Head tag (Global HTML)

<script> 
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());

gtag('config', 'G-XXXXXXXXX');
</script>

<script>
window.addEventListener('mon-pageassist-open', function() {
console.log('open pa');
gtag('event', 'PageAssist', {
'event_category': 'open'
});
});
</script>

This script listens for the event "mo-pageassist-open", which registers the count for each time a visitor opens the PageAssist add-on.

The action is logged in GoogleAnalytics as an event. In the example above, it has the name "PageAssist".

Data begins to arrive at Google Analytics when the script is added, and within 30 minutes the accumulated data should provide some insight on how the site is being used by visitors.

With this setup, Monsido users can:

  • View the pages where the visitor clicks the PageAssist button.

  • See the number of times the add-on is used in each session.


Additional Resources

For more information, see the User Guide chapters:

For instructions from Google on how to install Tag Manager, see:

For definitions and explanations of acronyms and abbreviations used in the Monsido User Guide, see:

For further assistance, contact the Monsido support team at support@monsido.com or use the Monsido chat and help features inside the application.

Image of the toolbar with the Help Center buttons highlighted.

Did this answer your question?