Organizes the arguments into a json string and then structures the data after the internal function makes the api call. Only runs a single dimension with as many metrics as you want.
1 2 3 4 5 6 | aw_report(
req_body = "",
company_id = Sys.getenv("AW_COMPANY_ID"),
client_id = Sys.getenv("AW_CLIENT_ID"),
client_secret = Sys.getenv("AW_CLIENT_SECRET")
)
|
req_body |
The json string copied from Workspace |
company_id |
Company Id. Taken from the global environment by default if not provided. |
client_id |
Set in environment args, or pass directly here |
client_secret |
Set in environment args, or pass directly here |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.