facebook-for-woocommerce
facebook-for-woocommerce copied to clipboard
Wrong IP sent to Conversion API when site behind proxy
π Isolate the bug
- [x] I have confirmed this occurs in the most recent version of WordPress, WooCommerce, and Facebook for WooCommerce.
- [x] I have confirmed this occurs when only WooCommerce and Facebook for WooCommerce are active and when using a default WordPress or WooCommerce theme.
βοΈ Describe the bug
My site runs behind CloudFlare. Facebook is complaining that the Conversion API is receiving wrong IP addresses, so I am guessing that the plugin doesn't correctly detect that the site is running behind a proxy and actually sends CloudFlare's IP instead of the client's.
πΆββοΈ Steps to reproduce
- Install plugin
- Set up a free CloudFlare account
- Set the DNS to CF
- Trigger some FB events
- Check the FB pixel dashboard
βοΈ Expected behavior
Client's IP should be sent / FB shouldn't complain about wrong IPs
Another report in 4200192-zen
This issue seems to have been fixed by https://github.com/woocommerce/woocommerce/issues/16319. Closing