Steps to create a client app and OAuth 2.0 credentials
For more information, see
Google Analytics4 API documentation
-
Create and set up your account by logging in to your Google Analytics Account
with your credentials. Then navigate to Admin > Create Account. -
Create property for the account you have created by choosing Create Property. Set up the property with required details. Once all the details provided corresponding property id will be generated.
-
Add Data Stream for the created property by choosing Data Streams > Add Stream > Web from the drop-down. Provide the website details such as URL and other required fields. After providing all details, the corresponding stream id and measurement id will be generated.
-
Set up Google Analytics in your website by copying the measurement id and add to your website's configuration.
-
Create Report from Google Analytics by navigating to Reports and generating the required report.
-
Authorize your app by navigating to console.cloud.google.com
and search for Google Analytics Data API, then enable the API. -
Navigate to the API and Services page and choose Credentials > setup OAuth 2.0 Client IDs.
-
Provide redirect URL by adding the Amazon Glue Redirect URL.
-
-
Copy the client id and client secret which will require further for creating connection.