Skip to main content
webflow.upsertGoogleTags adds or updates Google tags on a site while preserving tags omitted from the request.

Example

automations/webflow-upsert-google-tags.automation.ts

Inputs

Every input accepts a compatible signal. This action requires the sites:write OAuth scope. Each tag requires displayName and tagId; order is an optional nonnegative integer. tagId must start with G-, GT-, AW-, or DC- and continue with letters or digits. Webflow rejects legacy UA- IDs. Existing tags omitted from the request remain configured, and Webflow assigns an order to new tags when you omit it.

Output