Adding the Google Analytics to your site
A video demonstrating how to add Google Analytics in Site Planner
Google Analytics provides information about traffic and visitors to your site. Please refer to this link for setting up an account with Google first..
Once you have finished setting up your account:
- Click the Site Planner component.
- Right-click on the Modules folder and click 'Add Item'.
A user right-clicking the ‘02 Modules’ folder and choosing ‘Add Item’.
- Look for the 'Google Analytics' module. You will need to ‘Save’ the module after choosing Google Analytics for more options to show.
The notification that the ‘Save’ or ‘Save and Close’ button must first be clicked to view more options
- Paste the Google Analytics Script provided in your Google account.
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-12345678-1">
</script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-12345678-1');
</script>
The ‘Analytics Code’ box.
- Click 'Save & Close'.
- Publish the item under the 'All Pages' level using the following assignment: 'Position - Load Scripts (in head)' and 'View - Default'. *The Load Scripts (in head)
The ‘Load Scripts in head’ position and ‘Default’ view assignment