Add custom properties to the auto-tracked events
set
method.
Imagine for example that I want to send a custom property with my Added To Cart
event.
I would then call the following function before the Added To Cart
event is fired.
Added To Cart
event fires, it will now include the custom hello -> world
property mapping.
You can modify profile properties in the same way, a full example of the function would be: