All logs will be written in the same file.
Path to folder on Drive where to send logs.
A list that can be used in
See the gargle package to manage authentication, and especially this vignette from gargle package to manage the process.
1 2 3 4 5 6 7 8 9 10 11 12 13
## Not run: # In your global, manage Google Drive access drive_auth(path = "/path/to/your/service-account-token.json") # see https://gargle.r-lib.org/articles/articles/managing-tokens-securely.html # to manage your token securely # Then in server, use: track_usage(storage_mode = store_googledrive(path = "my-logs/")) # you may have to share my-logs/ folder with your service account ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.