Section Topics
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 header 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>
Set up the tracking feature inside the HTML page header tags. See the script below for an example of how this looks in Google Analytics.
Example script for 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 information
For more information, see the User Guide chapters:
For instructions from Google on how to install Tag Manager, see:
See Monsido for Developers for documentation and advanced help files for developers.
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