Update the Google Analytics Connection in a Project

A Google Analytics API resource has been deprecated.

Create a New Google Analytics API project

If your ETL process fails, update the Google Analytics connection in your GoodData project. You must have administrator access to perform this procedure.

  1. Go to https://console.developers.google.com/project.

  2. Create a new Google Analytics API project.

  3. When prompted to enter the Authorized redirect URI, enter the following address with the default server name secure.gooddata.com.

    https://secure.gooddata.com/gdc/dataload/googleanalytics/tokens/redirect
    
  4. Make copies of the information of the client ID and client secret fields.  Alternatively, you can download a JSON file.

 

If you use a different server name to connect from CloudConnect to your platform project, replace secure.gooddata.com with your server name. To find out your server name:

  1. CloudConnect, click Server → Sign In as Different User.
  2. Copy the server name in the Server field. 

 

Update the Google Analytics Connection in a CloudConnect Project

When you created your new Google Analytics API project and have the required information, return to CloudConnect and open the graph that needs to be updated.

  1. In the Outline pane on the left, expand the Connection branch, and open the existing Google Analytics connection. The dialog with the connection settings opens.

  2. In the Client Id field, enter the client ID value.

  3. In the Client Secret field, enter the client secret value. 

  4. Click the Get refresh token link. The GoodData Resource page opens. 

  5. In the GoodData Resource page, fill in the ClientId and ClientSecret fields with the client Id value and client secret value, and click Get the token.

  6. When prompted to allow CloudConnect to use the provided dataClick, click Accept. You are returned to the GoodData Resource page with the refreshed token generated.

  7. Note and copy the refreshToken value inside the double quotes. Token example: 1/Hr1l8sYcRS8D3SrRuwFBg-6GnC3K9CjncVDt7I17j-w 

  8. Go back to CloudConnect, and paste the refreshToken value to the Refresh Token field in the connection setting dialog.

  9. Click Test Connection. CloudConnect verifies the connection, and the message ‘Connection valid.’ appears. 

  10. Click OK. The connection setting dialog closes. You are ready to redeploy the graph from CloudConnect to the platform.