Share on print
Share on facebook
Share on linkedin
Share on whatsapp
Share on email
Intranet ver. 4.15
This article applies to version 4.15 and later.
For the previous version, please refer to this article: How to Embed the Google Analytics Code Snippet.

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.

  1. Log in to your Appspace Intranet account.
  2. Click on the  User menu, and select Intranet settings
  3. In the Advanced Configurations section, select External APIs.
  4. In the External APIs > Google Analytics ID box, add the id.
  5. Once done, click Save.

Embed Google Analytics Code Snippet

  1. Within the Style Library of the Appspace Intranet site collection, navigate to the “Beezy > js” folder.
  2. Open the beezy.customization.js file with an editor, and embed the Google Analytics code snippet into the file.
    Note
    Remember 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
    });
  }
}