Setup
To use the MarketingTags API, install the @wix/marketing-tags
package using npm or Yarn:
1npm install @wix/marketing-tags
or
1yarn add @wix/marketing-tags
Then import { marketingTags }
from @wix/marketing-tags
:
1import { marketingTags } from '@wix/marketing-tags'
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:function deleteMarketingTag(options: DeleteMarketingTagOptions): Promise<void>
Options to use when deleting a marketing tag.
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:function listMarketingTags(options: ListMarketingTagsOptions): Promise<ListMarketingTagsResponse>
Information about the marketing tags to retrieve.
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:function upsertMarketingTag(tag: MarketingTag): Promise<UpsertMarketingTagResponse>
Marketing tag to create or update.