Adding a new Domain to the GA account
It is important to add you new domain to the account so Google Analytics knows what sites to register the analytics on
- Open your account
- Click to go into Client ID for Web App
- Add your new domain and Auth redirect URL's
Creating a new oAuth Client ID
- go to apis/credentials : https://console.developers.google.com/apis/credentials
- Click Create Credentials
- Click to create OAuth clientID
- Select Web Application
- Add a name
- Add you url's
Adding Client ID to CMS
- Go to /admin
- Go to Site Configuration
- Click Google Analytics
- Add in ClientID and save
- When you open the page, you will be prompted for security from Google
This is the implementation https://ga-dev-tools.appspot.com/embed-api/
Comments