Codegen
Send Track Events to Pendo with Codegen
Avo generates a type-safe function for each event in your plan. You connect Pendo through the destination interface: callbacks you fill in to pass each event to the Pendo SDK.
You can leave any callback empty when Pendo doesn’t use that feature, and the same interface works for your other event-based tools.
Docs: Destinations in Avo CodegenSet it up
- In Avo, create a destination and set its mode to Destination Interface in your source’s Codegen setup.
- Pull the generated code with the Avo CLI.
- Initialize Avo with your destination and fill in the callbacks that send to Pendo.