Search.../

onTagUpdated( )

Triggered when a marketing tag is updated.

Syntax

function onTagUpdated(event: TagUpdated): void

onTagUpdated Parameters

NAME
TYPE
DESCRIPTION
event
Optional
TagUpdated

Information about the marketing tag that was updated.

Returns

This function does not return anything.

Return Type:

void

Was this helpful?

onTagUpdated example

Copy Code
1
2 export function wixMarketing_onTagUpdated(event) {
3 const eventId = event.metadata.id
4 const entityId = event.entity._id;
5 }
6
7