execute zoho page sense custom tracking event from zapier

execute zoho page sense custom tracking event from zapier

I have a tracking pixel and a custom event fire. I cannot seem to get it to work in zapier javascript code. The pixek needs to load, (i dont know if i should use the syncronous or asyncronous version) then the 2 lines of custom event code need to run. I dont know how to format/syntax this to work in zapier code. unionwells switches

Page sense custom events
// pixel-syncronous

// pixel-asyncronous

// custom event
window.pagesense = window.pagesense || [];
window.pagesense.push(['trackEvent', 'Video Played']);

          Zoho Pagesense Resources

            Zoho SalesIQ Resources

                  Zoho TeamInbox Resources

                    Zoho DataPrep Resources

                      Zoho CRM Plus Resources

                        Zoho Books Resources

                          Zoho Subscriptions Resources

                            Zoho Desk Resources

                              Zoho Projects Resources

                                Zoho Sprints Resources

                                  Qntrl Resources

                                    Zoho Creator Resources

                                      Zoho WorkDrive Resources

                                          Zoho Campaigns Resources

                                            Zoho CRM Resources

                                                    Design. Discuss. Deliver.

                                                    Create visually engaging stories with Zoho Show.

                                                    Get Started Now

                                                      Zoho Show Resources