Tracks a specified Facebook standard event using the Facebook Pixel. This will only call the pixel with the specified eventID.
The Facebook standard event to track.
Optionaldata: JsonObjectOptional additional data to send with the event.
OptionaleventID: stringAn optional unique identifier for the event.
Tracks a custom event using Facebook's tracking pixel. This will only call the pixel with the specified eventID.
The name of the custom event to track.
An object containing additional data to send with the event.
OptionaleventID: stringAn optional unique identifier for the event.
StaticinitInitializes the Fbq instance with the given pixel ID.
The Facebook Pixel ID to initialize the Fbq instance with.
A new instance of Fbq.
StatictrackTracks a Facebook standard event using the Facebook Pixel. This will call all initialized pixels.
The Facebook standard event to track.
Optionaldata: JsonObjectOptional additional data to send with the event.
OptionaleventID: stringAn optional unique identifier for the event.
StatictrackTracks a custom event using Facebook's tracking pixel. This will call all initialized pixels.
The name of the custom event to track.
An object containing additional data to send with the event.
OptionaleventID: stringAn optional unique identifier for the event.
Gets the instance of the Facebook Pixel (fbq).