Configuring a site to retrieve Google Analytics
To configure a Brightspot site to retrieve Google Analytics:
- Click > Admin > Sites & Settings.
In the Sites widget, select a site to integrate with Google Analytics.TipIf you only have one set of credentials for your Google Analytics account, you can set those credentials under the Global site and they will cascade down to all of your other sites. The value in the Credentials field is the only value that cascades down to your other sites. You must still enter the View ID and remaining settings for each site that you want to retrieve Google Analytics.
- Under Integrations, scroll to, and expand, Google Analytics.
Enter settings for the Google Analytics plugin.TipBrightspot displays a message validating whether or not the analytics integration has been configured properly.
- Click Save.
- Change to the Global site.
- Click Integrations > Google.
- Verify that the Task Host field contains the name of the host running the import from Google Analytics.
Google Analytics settings—Integrations tab
Private JSON key that was downloaded from the Google API service account as described in Creating a Google API service account. Copy the entire contents of the file into this field, including the opening and closing braces. You can set the Credentials at the Global site level and have that value cascade down to all of your other sites, or you can enter unique credentials for each site if you have per-site Google Analytics credentials. Credentials entered at the site level always supersede those entered at the Global level.
For example, you would use different credentials if your organization has different GCP Service Accounts with access to different GA Accounts/Views.
|View ID||ID of the view that was generated in your Google Analytics account as described in Creating a Google Analytics account. You can configure your account to have multiple views, each with a different set of data.|
|Import Time Zone||Set the time zone for your data import. This setting must match the time zone of the same View as specified in the View ID field above.|
Toggling on this setting allows the import of page views data, at the per-page level, from Google Analytics. In addition, the following features become available:
Type of reports to generate about traffic to your site:
|Custom Event Filter Strategy||
Filters to apply when importing from Google Analytics.
Each entry in the Filters list is an event category and associated event actions configured in your Google console. (The entries must match exactly what is configured in Google.)
|Analytics Import Task Schedule||
Times at which you want to ingest data from Google Analytics.
This setting is only available on the Global site.
|Historical Days to Import||Number of days' data to import from Google Analytics. The default value for this field is 30 (days). This setting is only available on the Global site.|