Setup

To use the MarketingTags API, install the @wix/marketing-tags package using npm or Yarn:

Copy
1
npm install @wix/marketing-tags

or

Copy
1
yarn add @wix/marketing-tags

Then import { marketingTags } from @wix/marketing-tags:

Copy
1
import { marketingTags } from '@wix/marketing-tags'
Was this helpful?
Yes
No

deleteMarketingTag( )

Developer Preview

This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.

Deletes a marketing tag.

Permission Scopes

For app development, you must have one of the following permission scopes:
Manage Marketing Tags
Learn more about permission scopes.
Params
optionsDeleteMarketingTagOptions
Options to use when deleting a marketing tag.
Response Object
void
Was this helpful?
Yes
No

listMarketingTags( )

Developer Preview

This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.

Retrieves marketing tags given the provided filter.

Permission Scopes

For app development, you must have one of the following permission scopes:
Read Marketing Tags
Learn more about permission scopes.
Params
optionsListMarketingTagsOptions
Information about the marketing tags to retrieve.
Response Object
ListMarketingTagsResponse
Was this helpful?
Yes
No

upsertMarketingTag( )

Developer Preview

This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.

Creates or updates a marketing tag.

Permission Scopes

For app development, you must have one of the following permission scopes:
Manage Marketing Tags
Learn more about permission scopes.
Params
tagMarketingTagRequired
Marketing tag to create or update.
Response Object
UpsertMarketingTagResponse
Was this helpful?
Yes
No