The blog series is developed and co-written by Eaknath Manoj Kumar Jammula
SAP JAM is a social collaboration platform that helps organizations to share content to their customers, partners, and employees. SAP JAM provides an ability to create “Groups” to collaborate with your team. Administrators who maintain such groups will find value in the usage tracking data. It can help them understand how active the group is, and how is the published information consumed.
With the help of SAP Web Analytics, SAP JAM can provide usage analytics of end users by collecting behavior data from user’s browser.
Every JAM Instance has important two roles:
- JAM Instance Administrator
- JAM Group Administrator
This series of blog explains how SAP JAM instance administrators can enable usage tracking for their JAM Instance. Later, the instance administrator can let the group administrators to consume the tracking data of their respective groups.
- You must be a JAM Instance Administrator
- You’ve created a Space in SAP Web Analytics. You’ll need Customer Admin role in SAP Web Analytics. To get started with SAP Web Analytics, see https://developers.sap.com/mission.cp-web-analytics-get-started.html.
- You have Space Admin role in SAP Web Analytics.
Let’s get started:
For a JAM instance admin, this is how the home page would look like. For the purpose of this blog, we have created a JAM developer instance. Follow these steps to integrate your JAM Instance with SAP Web Analytics and start tracking your pages.
Copy the URL of your JAM Instance domain.
Note: Don’t include the protocol (http:// or https://)
Open the SAP Web Analytics application and go to Site Management. Click on “Add Site”.
Enter the copied domain name in the “Website” field and give an appropriate “Name” to your site. Leave the rest of the fields as is. Click “Save” and agree to the message that appears. You’ll be redirected to “Site Management” view.
In Site Management view, under “Actions”, click on the “Snippet” icon against the site you’ve added.
You’ll now see the “Tracking snippet” dialog. Click on “Copy Snippet” to copy the tracking snippet to the clipboard.
Go to your JAM Page. From the Header tab, click “Settings” –> “Admin”.
In the Admin View, from the side navigation panel, click “Branding” –> “Web”.
In the Branding and Support view, under the “Custom Header” section, check the “Enable custom header” option. This will enable the input fields for Custom Header code.
In the first input box, paste the copied tracking snippet at the end of the HTML and click on “Save changes” at the end of the page.
You should now be able to see SAP Web Analytics consent banner at the top of the page.
Click “Allow” to give consent to track your page.
To validate the tracking, generate a few clicks and re-load the page. Open the SAP Web Analytics cockpit to see the tracked data. See SAP Web Analytics Dashboards to familiarize with the reports.
The next blog in this series will help you implement individual tracking for JAM groups and then letting the JAM group admins to consume the tracking data for their groups.