Hey! You need Admin permissions to do this.
Google Analytics (GA) is the most widely-used web analytics service on the internet. Implementing GA on your website allows you to track how visitors use your site, what content is attractive, where visitors exit, and more. Analyzing these metrics in Magento BI, alongisde other pieces of data, will improve your site's overall health and usability.
Let's get started by entering our GA credentials into Magento BI:
- Go to the Connections page under Admin > Connections.
- Click the Add a New Source button, located on the right side of the screen above the Data Sources table.
- Click the Google Analytics icon. This will open the Google Analytics credentials page.
- Enter your GA credentials. Upon completion of the authorization process, you will be redirected back to Magento BI.
- A list of profile IDs will display. Check the profiles you want to connect to Magento BI. If you have multiple profiles and need some help identifying which is which, refer to the Connecting Multiple GA profiles section below.
- Changes are saved automatically, so click the Back to Connections button when you're done.
Connecting multiple Google Analytics profiles
You may have multiple websites connected to a single Google Analytics account, identified by their own GA profile ID. In this case, you will have the option of including all your profile IDs in Magento BI. Just check the profile IDs you'd like to include during the profile selection step.
To identify a particular website's Google Analytics Profile ID:
- Log into Google Analytics
- Go to the particular website's GA dashboard
- Look at the URL - the Profile ID corresponds to the 8 numbers following "p" at the end of the line: e.g. www.google.com/analytics/web/#home/a11345062w43527078pXXXXXXXX/
Disconnecting Google Analytics from Magento BI
- Visit your Google account settings page.
- Under the Security section, and click the 'edit' link next to Authorizing applications and sites.
- Click the 'revoke access' link next to Magento BI.