DiscipleTools / disciple-tools-webform

Add a lead form to any website and integrate those leads into the Disciple.Tools system. Build custom lead forms through an admin interface, assign leads to dispatcher, and tag with sources. Special security design allows for forms to be served from one system and privately transferred to the Disciple.Tools system.
https://disciple.tools/plugins/webform/
Other
2 stars 6 forks source link

Using Facebook Pixel with Webform #38

Open benmclure opened 3 years ago

benmclure commented 3 years ago

Hi guys,

Sorry to bombard you. I'm trying to integrate my facebook pixel with the webform currently. I'd like to be able to get pixel data when the webform is submitted so I can retarget seekers with a DBS plan or something of the like. As you can see in the picture below, the submit button is currently not able to be selected by the facebook pixel's event manager. I'm not sure if this is even possible to work around but it's worth a shot! Thanks friends for all your help.

Screenshot 2021-03-18 at 2 17 15 pm
corsacca commented 3 years ago

Hey @benmclure This is a great question. You could try pointing the facebook event tool directly at the webform instead of the site that has the webform iframed in. (Open the url of the iframe src directly in your browser)

I think what I would do is build a custom webform on the public side, and then from the server send the contact info to D.T using D.T's API. This gives you more control over the UI of your form but does require code.

benmclure commented 3 years ago

Hey @corsacca

How do I do this?

then from the server send the contact info to D.T using D.T's API.

I feel this is possibly the best fit for our page. I could get a friend in to help code if I knew how to make the connection.

Thanks!