Stickers

Sticker Event

Along with all standard Analytics Event properties, a Sticker Event includes the following additional properties:

Schema

interface StickerEvent extends Omit<
  AnalyticsEvent,
  'eventType'
> {
  eventType:
    | 'lsc:sticker:click'
    | 'lsc:sticker:impression'
    | 'lsc:sticker:poll:vote'
    | 'lsc:sticker:voucher:claim';

  // Event-specific fields

  /**
   * The length of the activation timer, represented in seconds.
   * If no activation timer is set for the sticker, the value is `0`.
   */
  stickerActivationTimerDurationInSec: number;

  /**
   * The length of the expiry timer, represented in seconds.
   * If no expiry timer is set for the sticker, the value is `0`.
   */
  stickerExpiryTimerDurationInSec: number;

  /**
   * Universally unique sticker identifier, in UUID v4 format.
   */
  stickerId: string;

  /**
   * The distinct sticker type.
   */
  stickerType:
    | 'alert'
    | 'poll'
    | 'product'
    | 'voucher';
}

Alias Mapping Table

Alias (contextData key)
Meaning / Use Case
Suggested Adobe Target (placeholder)
Friendly Label Example

lsc.stickerActivationTimerDurationInSec

Sticker performance analysis

prop{SHARE_TIMER}

Sticker Timer (sec)

lsc.stickerExpiryTimerDurationInSec

Sticker performance analysis

prop{STICKER_EXPIRY}

Sticker Expiry (sec)

lsc.stickerId

Sticker ID

prop{STICKER_ID}

Sticker ID

lsc.stickerType

Sticker segmentation

prop{SHARE_TARGET}

Sticker Type

lsc:sticker:click

Visitor clicked a sticker.

Schema

export interface StickerClickEvent extends Omit<
  StickerEvent,
  'eventType'
> {
  eventType: 'lsc:sticker:click';

  // Event-specific fields

  /**
   * Indicates, whether this is the first click on this sticker
   * for the current media item.
   */
  firstOccurrence: boolean;
}

Alias Mapping Table

Alias (contextData key)
Meaning / Use Case
Suggested Adobe Target (placeholder)
Friendly Label Example

lsc.firstOccurrence

Filtering

prop{FIRST_OCCURRENCE}

First Occurrence

lsc:sticker:impression

Visitor clicked a social sharing target CTA.

Schema

export interface StickerImpressionEvent extends Omit<
  StickerEvent,
  'eventType'
> {
  eventType: 'lsc:sticker:impression';

  // Event-specific fields

  /**
   * Indicates, whether this is the first impression of this sticker
   * for the current media item.
   */
  firstOccurrence: boolean;
}

Alias Mapping Table

Alias (contextData key)
Meaning / Use Case
Suggested Adobe Target (placeholder)
Friendly Label Example

lsc.firstOccurrence

Filtering

prop{FIRST_OCCURRENCE}

First Occurrence

lsc:sticker:poll:vote

Visitor submitted their vote on a poll sticker.

Schema

export interface StickerPollVoteEvent extends Omit<
  StickerEvent,
  'eventType'
> {
  eventType: 'lsc:sticker:poll:vote';
}

lsc:sticker:voucher:claim

Visitor claimed the voucher code from a voucher sticker.

Schema

export interface StickerVoucherClaimEvent extends Omit<
  StickerEvent,
  'eventType'
> {
  eventType: 'lsc:sticker:voucher:claim';

  // Event-specific fields

  /**
   * Voucher sticker details.
   */
  stickerDetails: {
    /**
     * The voucher code.
     */
    voucherCode: string;
  };
}

Alias Mapping Table

Alias (contextData key)
Meaning / Use Case
Suggested Adobe Target (placeholder)
Friendly Label Example

lsc.stickerDetails.voucherCode

Discount computation downstream

prop{VOUCHER_CODE}

Voucher Code

Last updated