Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix pixel not appending properly with Gravity Forms redirect confirma…
…tions (#3) Summary: ### Description This PR fixes an issue where Gravity Forms confirmations do not process properly when the Facebook Pixel is added to a redirect type confirmation. When a redirect type confirmation is used, the confirmation is updated to return the Facebook Pixel along with a Javascript based redirect rather than using Gravity Forms' header based redirect. (Related Issue: #2) ### Testing Instructions 1. Create a Gravity Forms form. 1. Set the default confirmation to the Text type. 1. Submit the form. 1. Confirm the Facebook Pixel is properly included and event was registered. 1. Change the default confirmation to the Page type. 1. Submit the form. 1. Confirm the Facebook Pixel is properly included, the event was registered and user was redirected to selected page. 1. Change the default confirmation to the Redirect type. 1. Submit the form. 1. Confirm the Facebook Pixel is properly included, the event was registered and user was redirected to the defined redirect URL. Pull Request resolved: #3 Differential Revision: D18713432 Pulled By: vinothsa fbshipit-source-id: b869218d5454b5d26915edc012f3ce4c1afbdff1
- Loading branch information