![]() Next to the name of the website you have configured you will see a string starting with UA- and then a number. You will be presented with a listing of website profiles. You can find this id by logging into Google Analytics and viewing the account information by clicking the name of the account in the account listing. ![]() It is sent to Google Analytics as part of the tracking request whenever a user requests a page on your site. The account id is used by the tracking code. Make sure you also allow access to the generated service account (email address) through the admin panel.Īfter this, you can verify your account settings by visiting: Configure the Account IDĪssuming you have successfully set up a Google Analytics account and Google Analytics API OAuth 2.0 access service account, the first thing you need to do is to configure the account id in the repository. Note: you only get this key file once, so safeguard it properly, or else you will need to generate a new one. ![]() We'll need this file to authenticate with Google Analytics API from the Bloomreach Experience Manager application. You'll also need to enable OAuth 2.0 access to Google Analytics API, for which you should follow the Java quickstart for service accountsĪfter finishing Google Analytics API setup, a new service account will be created and you'll also be presented with an option to generate a new P12 key file. You will probably want to create a dedicated Google account for this. If you haven't set up a Google Analytics account yet you will need to do that first. Set up Google Analytics Tracking for your Site To use this functionality specify the following dependencies in your poms:
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |