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:

  • Have the script installed on the website.

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

  • Analytics or other statistics platform of choice installed, such as Google Analytics (as used as an example 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 their website analytics.


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 Google Analytics 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, you 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 articles:

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

For definitions and explanations of acronyms and abbreviations, see:

For further assistance, contact the support team or use the chat and help features inside the application on the main menu toolbar:

  • Live Support Chat (chat bubble icon).

  • Knowledge Base (Question mark icon).

  • Profile (user initials) expand the menu for the option to set up an online training session.

The location of the help center buttons on the main toolbar in line with the logo.
Did this answer your question?