If you have white labelled analyticsseo.com with your own branding, you will need to go through the steps described below in order to allow for your white label users to configure Google Analytics and Google Search Console in the platform.
- Create a developer account with Google at this address: https://developers.google.com (and ensure you’re signed in).
- Then navigate to this URL: https://console.developers.google.com/project
- Create the project (this can often take some minutes).
- You should then see your project listed. Make a note of the Project ID here (as you’ll need it later). Click on the project you have created.
- In the left-hand sidebar, you should a link to ‘API’ under ‘APIs & auth’. Click on this link.
- You should then see a list of Google APIs.
- You’ll need to add the 'Google Analytics API'. Click on the tab ‘API library’.
- Start typing ‘Analytics’ in the search box and it will automatically filter the results for you.
- Click on the link to ‘Analytics API’ and then click on the blue button labelled ‘Enable API’.
- Click on ‘Credentials’.
- You need to click on ‘Add credentials’ and then select the ‘OAuth 2.0 client ID’ option.
- On the next screen, select ‘Web application’ and click on ‘Configure consent screen’.
- Configure your application, by giving your product a name (e.g. “Acme Agency white label”) and adding an email address (all the other information is optional, but we would recommend adding a product logo).
- On the next screen, where it says example.com, you will need to replace this with the address of your white label domain (e.g. seo.acmeagency.com or agency.authoritas.com), so the authorised callback URL should read like the following: http://agency.authoritas.com/oauth2/callback.
- If you then click on the blue ‘Create’ button, you should be presented with a screen which gives you your Client ID and Secret ID.
- Go back to app.authoritas.com and navigate to the branding/white label section (https://app.authoritas.com/us/seotools/settings/branding), open up the white label section and scroll down until you see this section (‘Google Analytics Integration – OAuth Authentication’).
- Enter the ID details you copied from the Google developers’ site (Project ID - see Step 4 - Client ID and Client Secret). Scroll down and save.
You should now be good to go! When a user now logs into your white label domain and tries to configure Google Analytics or Google Search Console, they will need be connecting to their Google accounts via OAuth (they will simply need to connect the relevant Google account, then choose a profile and save – NB, there is one small additional step for configuring Google Search Console which is explained to the user at the time).
(If you're having trouble understanding these instructions, a PDF version with screenshots can be downloaded from the link below.