10.5 Accounts
This is where you manage your authentication to different analytics services. However, currently only Google Analytics is supported.
Using Google Tag Manager?
If you have already integrated Google Analytics with your Google Tag Manager account, you do not need to connect Analytics to Beehive; the Tag Manager container you connect will handle that for you.
Google Account
To display your Google Analytics statistics in your site admin, you will need to connect with one of the two API methods:
- Connect with Google – A shared API with multiple users.
- Set up API project (Recommended) – Creates a custom API connection for a specific site or network of sites.
If you are unfamiliar with Google APIs, we recommend reviewing the To Share or Not to Share section before proceeding.
Regardless of the option selected to connect to Google Analytics, you can reset the connection by clicking the gear icon once connected, then clicking the Logout option. You can then connect to a different account. Or if you connect once again to the same account, the same data will appear as before.
10.5.1 Connect with Google
If you do not have a custom API project set up, you can use Google’s shared API instead. Click the Connect with Google button to get started. Note that this is the same process if you click the same button in the Quick Setup modal.
Choose the Google account you wish to use to connect Beehive to Google Analytics.
Check the box to allow Beehive to See and download your Google Analytics data.
Then click the Continue button at the bottom.
Beehive is now connected to your Google Analytics account. You can configure the Universal Analytics view and/or Google Analytics 4 data stream you wish to use for this connection under the Google Analytics > Account tab.
10.5.2 Google API Project
To connect Beehive to Google Analytics using a custom API project you created in the Google Developers Console, click Set up API project and enter the Client ID and Client Secret into the fields provided. Then click Authorize.
NOTE
If you have not yet created an API project or don’t have the required credentials, see the detailed instructions in the Set up API project section of this guide.
When you click Authorize, you will be asked to log in to the API project and grant permission for Google Analytics to collect data from this site. Log in with the Google account used to create the project.
Click Allow in the pop up to confirm the connection between Beehive and Google Analytics.
At this point, you have created an API project and given permission for Beehive to pass data to that project. You can configure the view (profile) you wish to use for this connection under the Google Analytics tab.
PRO TIP
You can create multiple Views for each property (domain/site/network) in Google Analytics. Multiple Views allow you to create more narrowly tailored reports, which has the added benefit of cleaning up the data as Google separates it from the rest.