When creating adobe launch rules (set variables, send beacon, clear variables) with adobe analytics extension, we can add events in the set variables action (in UI) and also in the custom code open editor based on conditions. We can also add product string in the launch rules.
When migrating to the AEP Web SDK extension, I choose 'send event' action type. How can I add custom and complex events when using SDK extension? Also, how to serialize events and add product string in the rule?