Hey @borjamerino,
Thanks for reaching out to us.
If you want to get the user IP from CF7 form, then you need to create to set a hidden field and set the value using some other 3rd party shortcode that can get the user’s IP. I would first recommend looking into CF7 docs to see if there is a way to get the user IP.
Thanks for your answer.
CF7, uses the [_remote_ip] tag to obtain and send the client’s IP once the form is processed. What I do not know, due to ignorance, how to generate that code so that the MC4WP saves that. I’ve searched around, but didn’t find anything clear on this.
Hey @borjamerino,
You can first create a field in your MailChimp List/Audience to save the IP address then add the following to your CF7 form
<input id=”IP” type=”hidden” name=”MC4WP-IP” value=”[_remote_ip]” />
Please note that I have not tested this code. Also, please check the following link which shows how to send additional data from CF7 to MailChimp.
https://www.mc4wp.com/kb/send-cf7-fields-mailchimp/
Thanks for your guidance and help.
Unfortunately it doesn’t work, despite putting IP as the designated field is called and MERGE3, by default in MailChimp.
Confirmation emails from CF7 arrive with the correct IP, but MailChimp does not receive them.
I have changed the quotes, since it gave an error, but nothing.
<input id = “IP” type = “hidden” name = “MC4WP-IP” value = “[_ remote_ip]” />
I will continue investigating, if I find the formula, I will share it here.
<input id = “IP” type = “hidden” name = “MC4WP-IP” value = “[_ remote_ip]” />
So, just save [_remote_ip]
-
This reply was modified 5 years, 10 months ago by
NIMBADA..
-
This reply was modified 5 years, 10 months ago by
NIMBADA..
Hey @borjamerino,
Please change the name of the field from “MC4WP-IP” to MC4WP-MERGE3″. The field name needs to match or the data would not be sent.