BrilliantPlugins / salesforce-wordpress-to-lead

github home of http://wordpress.org/extend/plugins/salesforce-wordpress-to-lead/
16 stars 25 forks source link

Set a cookie for leads upon redirect #96

Open jimpdx opened 5 years ago

jimpdx commented 5 years ago

I am trying to restrict access to a WP page to only people who have filled out the lead form. With SSL and TLS I can't not rely on the HTTP referrer. Any thoughts on how to do that, or might it be considered a feature request? :)

nciske commented 5 years ago

You’d need to drop a cookie in the post submit hook to reliably track that — so it can be done today with a few lines of PHP.

Not sure if this fits as a core feature or addon.