Implementation of Google Analytics for Salesforce Communities
Introduction to Google Analytics:
- The Google Analytics for Salesforce Communities package contains pre-configured reports that track search activity within a community.
- Integrating Google Analytics with Salesforce Communities helps us to search track activities such as how many views do you have on an article, page and object.
There are certain steps to be followed to integrate Google Analytics with Salesforce Communities:
Step 1: Before integrating with Google Analytics, you first need to create Communities into your org.
Step 2: In Experience Builder, go to Settings, click on Advanced and enter your Google Analytics ID.
Step 3: For Google Analytics ID you need to sign in to your Google Analytics account which you will easily find on Google how to do that.
Don't forget to check out: 5 Essential Skills That You Need To Survive In The Salesforce Community
Step 4: After creating your Google Analytics, click on admin (left most bottom).You will see three things Account, Property and View.
Step 5: Under Property, click Tracking Info, then click Tracking Code. You will find Tracking ID which is our Google Analytics ID.
Step 6: Put this ID in step 2.
Step 7: In Experience Builder, under Settings, click on Advanced. Let Google Analytics access your Salesforce data for deeper insights into search activity and if want to enable the masking of IP addresses on the Google server side to help with privacy compliance and concerns, you can tick that too.
Step 8: Whatever you set the custom dimensions in Google Analytics, set the same Custom Dimension in Experience Builder in similar orderas in Google Analytics.
Step 9: Most important thing your community should be published to enable the service of Google Analytics.
- In addition to Google Analytics, you can implement Google Tag Manager with your Salesforce Community, not only this but you can also enable the marketing team to manage the deployment of marketing tags and tracking pixels, without relying on a developer to modify any code.
- Google Tag Manager allows you to track artifacts such as events, scrolling, form inputs, video views, and several other factors that paint a picture of what your users are doing in your community and how they are interacting with the functionality you’ve provided them with.
- The insights that you learn can prove to be very valuable in how you tweak the functionality in your community to better serve your users, and make completing the actions that they login to your community to complete much quicker and easier.
- Proper configuration of Content Security Policy settings on the Salesforce side is one of the common challenges in setting up such an integration, in addition to other configuration that is required on both the Google Tag Manager side as well as on the Salesforce side to tie things together.
Check out another amazing blog by Deepak here: Email Templates in Salesforce Classic and How To Send Them For a Particular Record
I have discussed the brief introduction of Google Tag Manager for Salesforce Community. I will discuss the details in my next blog.
I have discussed the whole about Google Analytics and you can do much more as work on Google Analytics for the Salesforce Community.
That’s all! Thanks for reading the blog.
Looking forward to your next article, and example of tracking screenflow/LWC events within same URL page in community
You covered up all the points & I am impressed by reading this article. Keep writing and sharing educational articles like this which can help us to grow our knowledge.
Thanks
FexleServices