Google Analytics Setup

Want Your Google Analytics to Display Conveniently on your Dashboard?

Follow the instructions and steps that follow below to integrate Google Analytics to your Best Way Websites Dashboard and then you will have the stats conveniently, automatically load for you whenever you login to the CMS (website editor).

If You Don't Have to Have them on Your Dashboard ...

Having the google analytics on your dashboard is convenient, but you can get to them directly from google.

Step by Step Instructions with Screenshots are Below

There are a total of about 30 steps including sub-steps.  Be prepared to spend a few hours completing this

Want a Pro to Do it For You?

If you don't want to do this yourself, or it is too complex for you to follow, you may submit a ticket with this request and we will do it all for you for a one-time $100 webmaster fee.

Follow the Steps Below


Step 1. Ensure that Your Website Has a Published Privacy Policy

Before you start ...  your website must have a privacy policy.  A terms of service page is optional.

We suggest that you combine your policies into one page and simply call it "Website Policies".

Step 2. Login to Google Analytics: https://analytics.google.com

  • Link is here: https://analytics.google.com 
  • You are creating a new account
  • Make sure you select the Website button
  • Fill in account name, website name, url
  • See the screenshot below
Step 2. Login to Google Analytics: https://analytics.google.com

Step 3. Tap on Admin tab in Google Analytics

  • Tap on the admin tab
  • You'll have to scroll down the page a bit to see it
  • See the screenshot below
Step 3. Tap on Admin tab in Google Analytics

Step 4. Tap View Settings

  • Staying on Admin Section
  • Under All Web Site Data
  • Tap view settings (right side of page on screen unless using pad or smartphone)
  • See screenshot below
Step 4. Tap on View Settings

Step 5 - Copy the View ID

  • Still in Admin section
  • After having selected View Settings menu will be on left
  • Look for View ID (numeral) on right side
  • Copy this ID (you will need to paste this ID in the webstats of the CMS
  • See screenshot below
Step 5 - Copy the View ID

Step 6. Paste the View ID into the CMS

  • If you are not logged in to the CMS, login
  • Go to Stats > Webstats > Setup Google Analytics
  • You'll also see a link to "Setup Google Analytics" on the CMS home page dashboard and also on Webstats
  • Paste the View ID
  • See the screenshot below
Step 6. Paste the View ID into the CMS

Step 7. Copy the Global Site Tag CMS Webstats

  • You will see the Tracking ID at top of page
  • Then Website Tracking
  • Your Global Site Tag is below it (gtag.js)
  • You will need to copy this code and paste it into the CMS webstats
  • See screenshot below
Step 7. Copy the Global Site Tag CMS Webstats

Step 8. Paste the Global Site Tag into CMS Webstats

  • If you are not logged in to the CMS, login
  • Go to Stats > Webstats > Setup Google Analytics
  • You'll also see a link to "Setup Google Analytics" on the CMS home page dashboard and also on Webstats
  • Paste the Global Site Tag
  • See the screenshot below
Step 8. Paste the Global Site Tag into CMS Webstats

Step 9. Go to https://console.developers.google.com/

Step 9. Go to https://console.developers.google.com/

Step 10. Tap on NEW PROJECT

  • From the previous step, you will have a popup window open for Select a project'
  • See in the upper-right a button labeled NEW PROJECT
  • IGNORE the default "My First Project" - just create a new one
  • See screenshot below
Step 10. Tap on NEW PROJECT

Step 11. Name your New Project

  • You are now on the New Project section
  • You should see a field for Project name*
  • Name the project (using your business or website's name is typical)
  • You may IGNORE the Location* field that is below the Project name :-)
  • See screenshot below
Step 11. Name your New Project

Step 12. Tap on Enable APIs and Services

  • Click on Enable API and Services
  • See screenshot below
Step 12. Tap on Enable APIs and Services

Step 13. Scroll down

Initial screen

Step 13. Scroll down

Step 14. Scroll down and Click on Google Analytics API

 Scroll down and Click on Google Analytics API

Step 14. Scroll down and Click on Google Analytics API

Step 15. Tap on Enable (or Manage) if already enabled

  • You should now be on the page for Analytics API
  • You'll see a "ENABLE" button (or this button could say "MANAGE" as well if it has already been enabled ...
  • Tap on it
  • See screenshot below
Step 15. Tap on Enable (or Manage) if already enabled

Step 16. Click on Create Credentials

 Click on Create Credentials

See the screenshot below

Step 16. Click on Create Credentials

Step 17. Add Credentials

Select Google Analytics API

Select Other UI (e.g. Windows, CLI tool)

Select User data

Click on What credentials do I need?

See screenshot below

Step 17. Add Credentials

Step 18. Click on Set up consent screen

Click on Set up consent screen

See the screenshot below

Step 18. Click on Set up consent screen

Step 19. Select External

Select External

Click on Create

See the screenshot below

Step 19. Select External

Step 20. Fill out the OAuth consent screen information with your business information

  • The form to complete your OAuth consent should now be open
  • Enter your own business information into this form to complete it
  • There is more on this screen, but you will see in next step
  • See screenshot below
Step 20. Fill out the OAuth consent screen information with your business information

Step 21. Fill out the OAuth consent screen with your domain and links to pages

  • Provide your domain name
  • Your home page URL
  • Your privacy policy URL
  • Your terms of service URL (if you have one)
Step 21. Fill out the OAuth consent screen with your domain and links to pages

Step 22. Go to create credentials

Go to https://console.developers.google.com/apis/credentials and click on create credentials.

Give name to your OAuth client ID

See the screenshot below

Step 22. Go to create credentials

Step 23. Create Oath ID and name the application

Give name to your OAuth client ID

See the screenshot below

Step 23. Create Oath ID and name the application

Step 23 1. Oath client created confirmation

Click ok.

See the screenshot below

Step 23 1. Oath client created confirmation

Step 24. Download your credentials (.json file)

  • You should now see a line with your Client ID in it
  • Look to the far-right and find the download icon (a down arrow)
  • Tap on this arrow to download the file and pay attention where this is saved because you will need to upload it later
  • See the screenshot below
Step 24.  Download your credentials (.json file)

Step 25. Open CMS and go to Webstats to Edit Code and Upload Your .json File

  • Go to Stats > Webstats > Setup Google Analytics
  • Tap the green edit icon on right
  • It will open popup so you can enter code (next step)
  • See screenshot below
Step 25. Open CMS and go to Webstats to Edit Code and Upload Your .json File

Step 26. Upload your .json File that you Saved to Your Computer in Previous Step

Step 26. Upload your .json File that you Saved to Your Computer in Previous Step
  • You should still be on Stats > Webstats > Setup Google Analytics in the CMS
  • A popup window should now be open

Step 27. In CMS, tap the Get Code Button

  • After you have uploaded your .json file, you will see your Google Analytics Code: box automatically populate with your data
  • Now, you can get your Google Authentication Code
  • Tap on the Get Code button
  • See screenshot below
Step 27.  In CMS, tap the Get Code Button

Step 28. Login to your Google account

Step 28. Login to your Google account

Step 28. Login to your Google account

Step 29. Allow the application

Step 29. Allow the application

Step 29. Allow the application

Step 30. Grant application Permission

Step 30. Grant application Permission

Step 30. Grant application Permission

Step 31. Confirm your choices

Step 31. Confirm Your choices

Step 31. Confirm Your choices

Step 32. Copy Code

Stp 32. Copy Code

Step 32. Copy Code

Step 33. Paste Code in CMS

Step 33. Paste Code in CMS

Step 33. Paste Code in CMS

Step 34. Enable Analytics Reporting API

Step 34. Enable Analytics Reporting API

Step 34. Enable Analytics Reporting API
Step 35. Paste Link an enable API

Business Lines

Your work is going to fill a large part of your life, and the only way to be truly satisfied is to do what you believe is great work. And the only way to do great work is to love what you do.

Steve Jobs

Best Way Websites is an Easy Website Building and CMS (Content Management System) created for small businesses,
enabling them to easily, effectively and affordably manage their websites.

fb Google My Business twitter youtube linkedin instagram Search
fb Google My Business twitter youtube linkedin instagram cancel
Close

Search