This is a function to authorize the R package to access the Google Analytics API. If no client.id and client.secret is provided, the package would provide predefined values.
1 2 |
client.id |
OAuth client ID. This is obtained from Google API Credentials |
client.secret |
OAuth client secret. This is obtained from Google API Credentials |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.