Set options(googleAuthR.scopes.selected = c(https://www.googleapis.com/auth/tagmanager.edit.containers, https://www.googleapis.com/auth/tagmanager.manage.accounts, https://www.googleapis.com/auth/tagmanager.readonly)
Then run googleAuthR::gar_auth()
to authenticate.
See gar_auth
for details.
1 | gtm_account(accountId)
|
accountId |
accountId to request |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.