How can I successfully implement a pixel to track webform submissions on my website?

Our website (alwaystoast.com) uses the FreshSales CRM, and we are currently using their landing page functionality to power a couple of pages, with the landing page being loaded as an iFrame through a standard Shopify Page. One of those pages is our “weddings and events” page, which loads using the following iFrame:

On that page is a “request samples” button. The “request samples” button loads a Freshworks Webform through a link to the following URL: https://alwaystoast-org.myfreshworks.com/crm/sales/web_forms/d440e77ee025b4f3581ace40ec2fa61a5bfed79b54e5dfa99a74e97762c76b69/form.html

We are currently trying to finalize a CPL campaign where we will compensate our advertising partners for every lead they send that fills out that form. However, we have been unable to figure out a way to implement a pixel into either the landing page or the form to track when leads are submitted. Our workaround to this issue was to create a new “confirmation page” with the pixel implemented therein, and to have the form redirect to that “confirmation page” once the form was submitted, as this is an option for Freshworks Webforms. Unfortunately, this is also not working as we are currently getting errors stating that the site is not allowing the redirect.

We cannot determine how to overcome this issue. Even though the landing page and webform are both loaded from URLs through the iFrame, it appears that the redirect is not allowed. Does anyone have a potential solution to how we can get this redirect to work, or how we can otherwise get a pixel implemented so that we can properly track these webform submissions?

1 Like