gtm_environments_reauthorize | R Documentation |
This reauthorises an existing GTM environment, generating a new authrorisation Id. This is used to invalidate any existing preview GTM shared preview links and any installations of the environment. You will need to update any snippets on your site with the new authorisation Id afterwards.
gtm_environments_reauthorize( account_id, container_id, environment_id, environment )
account_id |
Account Id |
container_id |
Container Id |
environment_id |
Environment Id |
environment |
An Environment object - If you don't have one, one will be generated for you. |
Other environment functions:
gtm_environments_create()
,
gtm_environments_delete()
,
gtm_environments_get()
,
gtm_environments_list()
,
gtm_environments_update()
## Not run: accountId <- 1234567 containerId <- 7654321 environmentId <- 4 env <- gtm_environments_reauthorize(accountId, containerId, enviromentId) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.