- Google Analytics Overview
- Adding Analytics to your Site Dashboard
- Register for the Google OAuth Client
- Add to the Google Analytics Site Setting to your Website Admin Dashboard
- Add the OAuth details to your website
- Adding Analytics Tracking to your site
- Editing the Analytics code on your site
- Adding Google Analytics Tracking Code into your Master Template
- Managing your Analytics Account
- Setup Automated Google Analytics Reports
Add the OAuth details to your website
STEP-BY-STEP
-
1Now browse the URL https://developers.google.com/oauthplayground/.
-
2On the right side of the window, click the Settings icon
-
3Tick the box for Use your own OAuth credentials
-
4In the pop-up window which appears, enter your project name as desired and click on Create button. Let this process run, it may take a few seconds
-
5Enter the copied Client ID and Client Secret in the corresponding fields, then click Close at the bottom
Step 1: Select & authorize APIs
- Search for "Google Analytics API v3" using the scroll. Click all the options under it, then click on the Authorize APIs button after the selection
- Accept all the permissions asked by Google
- If you get any Authorisation Errors, please make sure your Gmail account has been added to Test users
Step 2: Exchange Authorization code for tokens
- Now in Step 2 on the left side panel. Click "Exchange Authorization code for tokens"
- Click on Auto-refresh the token before it expires.
- Copy the Refresh token generated