We want to track two things on a form submission:
- Track a Heap event “Form Submitted”
- Make a Heap identify call with the submitter’s email address to tie the submission event to a user
Adding the normal Heap event track & identify codes doesn’t seem to work inside the popups. I have a workaround for #1 (see below) but not #2. I was wondering if anyone has a solution.
I track visits to the iframe successfully & add pageview events through Heaps UI. This means that for #1, I can mark the form confirmation dialog pageview event as a “Form Submission.”