Tracking
extends PlatformUtility
in package
Provides access to tracking-related utility functions.
Tags
Table of Contents
- getFacebookEventId() : string
- Get the Facebook event ID to help prevent duplicated events
- isPurchaseEventDispatched() : bool
- Check if a purchase event has already been dispatched from GTM / Meta Pixel
Methods
getFacebookEventId()
Get the Facebook event ID to help prevent duplicated events
public
getFacebookEventId() :
string
Tags
Return values
string —isPurchaseEventDispatched()
Check if a purchase event has already been dispatched from GTM / Meta Pixel
public
isPurchaseEventDispatched(int $orderId) :
bool
Parameters
- $orderId : int