PageAssist basic tracking lets you track the number of times a visitor has opened the PageAssist add-on and used it to view their website analytics.
These are the requirements that must be met before you can install and use PageAssist basic tracking:
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:
For instructions from Google on how to install Tag Manager, see:
If this content did not answer your questions, try searching or contacting our support team for further assistance.
Fri Jan 10 2025 19:48:14 GMT+0000 (Coordinated Universal Time)