Posts

Showing posts from August, 2017

Salesforce Google Analytics Integration

Image
A Little Background About This Post: In my recent project with one of my client , they came up with salesforce to Google Analytics integration as their challenge as  they were interested to see all page stats in salesforce itself . I worked over this piece of integration and thought of sharing this with community . Here we go for step by step guide . Part 1:  Create an oAuth ID (Other) Go to:  https://console.developers.google.com Create a new project Enable the “Analytics API”New project creation Go to credentials Create “oAuth Client ID” Configure (Other) and save Give it a name Save the client ID and client secret Download the JSON Part 2:  Compile the following URI call from the JSON  https://accounts.google.com/o/oauth2/auth?scope=https://www.googleapis.com/auth/analytics&redirect_uri=YOUR_REDIRECT_URI_HERE&response_type=code&client_id=YOUR_CLIENT_ID_HERE ·          YOUR_REDIRECT_URI_HERE: Site which need to be tracked