Gain a comprehensive understanding of your Appspace Intranet’s performance by seamlessly integrating Google Analytics. This powerful tool empowers you to track user behavior, measure content engagement, and gather valuable data-driven insights to optimize your intranet strategy.
This article provides Administrators with an outline for embedding the Google Analytics snippet into the Appspace Intranet site collection, allowing for tracking and analyzing site traffic and user behavior within the Appspace Intranet environment.
Prerequisites
- The Global Administrator user role with Windows Server Administrator permissions.
Add Google Analytics ID
Follow the instructions below to add the Google Analytics ID.
- Log in to your Appspace Intranet account.
- Click on the User menu, and select Intranet settings.
- In the Advanced Configurations section, select External APIs.
- In the External APIs > Google Analytics ID box, add the id.
- Once done, click Save.
Embed Google Analytics Code Snippet
- Within the Style Library of the Appspace Intranet site collection, navigate to the “Beezy > js” folder.
- Open the beezy.customization.js file with an editor, and embed the Google Analytics code snippet into the file.
NoteRemember to back up the file before performing any version upgrade of the Appspace Intranet.
To properly utilize the beezy.customization.js file, all functions must be encapsulated within specific wrapper functions.
An example of this is provided below:
window.BeezyCustomizations = { init : function() { BeezyApp.define('myFunction', [], function(myFunction) { // Your code }); } }