Connecting Google Analytics to your BAO application portal
After you have set up both the Google Analytics and Google Tag Manager accounts, log into the BAO back-office portal in Salesforce to create the connections.
Log into Salesforce as an administrator.
Select Setup ().
Search for Custom Code, then select Custom Settings.
Within Custom Settings, search for BAO Custom Settings, and then select Manage.
Select Edit.
Update the Analytics Id field with the Measurement ID created for your Google Analytics account. Then, update the Tag Manager Id field with the Google Tag Manager Workspace Id found on the Workspaces page (starts with GTM).
Select Save.