Selaa dokumentaatiota
How to edit a GTM service: variables and webhook
Install the web container on your site, change container variables and set up the webhook of a Wascer Store GTM service.
Each GTM service created by an integration has its own page. There you get the install code, change the containers' variables and, for some integrations, set up the webhook.
Open the service
- In the sidebar, click Wascer Store, pick the Integration category and click Open on the integration.
- In the GTM Services list, click the service row.
The GTM Service page shows the status (Active, Provisioning, Error, Suspended, Deleting or Deleted) and refreshes on its own.
Install the web container on your site
- On the WEB card, click Install code.
- In the Install Google Tag Manager window, copy both snippets with Copy.
- Paste the snippets on every page of your site: the first one as high as possible in the head section, the second one right after the opening body tag.
The SERVER card shows the server container ID and a link to the GTM server address. Both cards have a button to copy the ID.
Change variables
You can only edit variables while the service is Active.
- Under Variables, open the container's tab. Some integrations have a single tab, and the variables apply to all of the service's containers.
- Hover over the variable and click the pencil icon.
- Type the new value and press Enter to save. Esc cancels.
A message confirms when the variable is updated. If you see Timeout syncing, try again. A variable with no value shows as empty.
Set up the webhook
Some integrations have a Webhook tab next to the variables.
- Open the Webhook tab. If the webhook is already set up, click Edit.
- Fill in Webhook URL and External ID, the user's identifier on the external platform. It's sent in the events delivered to the webhook.
- If needed, fill in Custom headers (optional) in JSON. When editing, leave the field empty to keep the current headers.
- Click Save.
Example headers:
{"x-api-key": "your-key"}The dashboard only saves when the URL and ID are filled in and the headers are valid JSON.
Delete the service
When the service is Active or in Error, click Delete and confirm. This can't be undone and removes all of the service's containers.
Was this article helpful?
Still stuck? Talk to support.
Comments