https://api.clakta.com/v1/projects/{idOrSlug}/scripts/{sourceId}Update a tracking script. Requires an API key with `projects.write`. Send only the fields you want to change. Sending `domains: []` allows events from any domain.
Send your API key as a bearer token in the Authorization header.
See Authentication for how to create and scope an API key.
idOrSlugThe project ID (with the proj_ prefix) or slug.
sourceIdThe script ID returned on creation.
namedomainstrackPageViewstrackClickstrackScrollstrackFormSubmissionsThe updated script
idThe script's data-clakta-id.
namedomainstypeAllowed values:webiosandroid
trackPageViewstrackClickstrackScrollstrackFormSubmissionslastEventAtcreatedAtupdatedAt