For the legacy tracker doc, check our guide here.
Custom events are events you choose to track. They are custom in the sense that you can give them any name you want.
Use them in various situations — for example, in an eCommerce shop, to track cart events. The syntax is:
Parameters:
Example event_data:
Example