Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong IP Address In Mautic #2

Open
bradycargle opened this issue Nov 8, 2021 · 5 comments
Open

Wrong IP Address In Mautic #2

bradycargle opened this issue Nov 8, 2021 · 5 comments
Assignees

Comments

@bradycargle
Copy link

Hey there, how are you?

When I use this plugin with an Elementor form and send the data to a Mautic form, the Mautic form result always has the IP address of the Elementor server instead of the user's IP address.

I can work on fixing this now but any help or tips would be appreciated as I've tried a few things with no luck. I'm following these steps to get the results: https://docs.friendly.ch/Integrate-Friendly-Automate-with-Elementor-Form-4cf8d07f78a140a5a4f246587e2525ee

I'll keep working on this on my end and will submit a pull request if I figure it out :)

@AlexLimaX
Copy link
Contributor

Hey there, how are you?

When I use this plugin with an Elementor form and send the data to a Mautic form, the Mautic form result always has the IP address of the Elementor server instead of the user's IP address.

I can work on fixing this now but any help or tips would be appreciated as I've tried a few things with no luck. I'm following these steps to get the results: https://docs.friendly.ch/Integrate-Friendly-Automate-with-Elementor-Form-4cf8d07f78a140a5a4f246587e2525ee

I'll keep working on this on my end and will submit a pull request if I figure it out :)

Change headers' => [ 'client_ip' => $_SERVER[ "REMOTE_ADDR" ]] to headers' => [ 'Client-Ip' => $_SERVER[ "REMOTE_ADDR" ]]

@alexalxs
Copy link

Thanks for the great work. How to do it as above?

@gabcarvalhogama
Copy link
Owner

Thanks for the great work. How to do it as above?

Hey man, I approved a pull request that fix this problem. Just update your plugin downloading the code again and enjoy.

@alexalxs
Copy link

alexalxs commented Oct 23, 2023

I tried and checked the ips but doesn't work. Same ip for all contacts added. I am using cloudflare and all ips are from cloudflare ip.

@gabcarvalhogama
Copy link
Owner

Damn it. I gonna check it out asap

@gabcarvalhogama gabcarvalhogama self-assigned this Mar 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants