|Remove||Item||Quantity × Price|
|Your cart is empty|
If like most of us, you use google analytics to track website traffic then you can pull through data through to the Admin 2020 Dashboard. The following instructions will show you how to get the necessary account details.
- A google analytics account
- An up to date install of Admin 2020
OAuth Consent Screen
- Access the google API console here.
- In the top left corner click create project or if you already have a project navigate to that.
- Give the project a relevant name such as: Admin 2020 Analytics. Click Create.
- Once the project is created, navigate to that project from the drop down in the top left of the screen.
- Click on OAuth consent screen, choose User Type Internal and click create. ( If you are not a gsuite user, you can select external and the process will be the same)
- Give the OAuth screen an application name such as Admin 2020 Analytics and click create.
Creating API credentials
- Navigate to the credentials tab and click create credentials and then click OAuth Client ID.
- On the next screen, choose web application and give the credentials a name.
- Click create and you will be shown your new credentials. Take note of the client ID as we will need to enter this into the plugin settings.
Enabling the Analytics API
- From the same screen where you created your credentials, navigate to Library.
- Search for Google Analytics Reporting API, click on it and press enable.
- Navigate to your google analytics dashboard (here) and click admin in the bottom left corner.
- In the third column, click view settings and It will show your View ID.
Activating in Admin 2020
- Go back to your WordPress dashboard and under settings click Admin 2020.
- Navigate down to the google analytics section and enter your client ID and view ID.
- Save these settings and navigate to the Overview dashboard.
- Here you should see a google sign in box, click this and sign in with the relevant account.
And that’s it! Your account should now be linked to Admin 2020 dashboard and you should along the lines of the below!