Trigger Analytics custom events with parameters - Fluid Topics - Latest

Fluid Topics Designer Guide

Category
Reference Guides
Audience
public
Version
Latest

The FluidTopicsAnalyticsServiceHelper.sendCustomTriggerEventAutoWithParameters() method allows designers to trigger an Analytics custom event with parameters in Custom components.

FluidTopicsAnalyticsServiceHelper.sendCustomTriggerEventAutoWithParameters(eventName, componentId, parameters);

It has the following properties:

Field Type Required? Description
eventName String Yes Information about the custom name of the event. The string format accepts alphanumeric characters and the following special characters: _, -, and /. The maximum length of eventName is 100 characters.
componentId String Yes Information about the component which triggered the event. The string format accepts alphanumeric characters and the following special character: -. The maximum length of componentId is 100 characters.
parameters Object Yes Additional parameters for this event. The string format for keys accepts alphanumeric characters and the following special characters: _ and - . The maximum length for keys is 100 characters. The string format for values accepts alphanumeric characters and the following special characters: -, _ ,/, and # . It is also possible to use spaces. The number of accepted parameters is 20.

Ad blockers can prevent Fluid Topics from sending custom_event.trigger Analytics events.