Support » Plugin: MC4WP: Mailchimp for WordPress » Language not detected

  • Resolved fmsgroup

    (@fmsgroup)


    Hello,

    I need this feature to be able to segment subscribers by language, im using WPML, but using this plugin it does not collect subscriber browser language or location, so this data is missing, does the API not support this feature? i tried with mailchimp empedded form and it did collect this data, but not your plugin?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor Harish Chouhan

    (@hchouhan)

    Hey @fmsgroup,

    The IP/location would only be shared if you have enabled “Double Opt-in” where the user will also have to go to MailChimp.com to confirm their subscription. Have you enabled this in the settings of our plugin?

    Secondly, we offer variables that you can use to send IP and language to MailChimp.

    {language}
    {ip}

    You can create a hidden text field and add use the above to set the value.

    Thread Starter fmsgroup

    (@fmsgroup)

    Hello,

    Didnt understand how to use these variables to send the data to maichimp.

    if i include them in the “form code” they will be visible on front end, so how do i include them in a text field?

    Plugin Contributor Lap

    (@lapzor)

    In your form fields code you can add vale=”{ip}” to a (hidden) field and it will send in that value. So for example if you would have a field with the Mailchimp merge tag “USERIP” the code could be:

    <input type-“hidden” name=”USERIP” value=”{ip}”>

    When using WPML you can also add our MC4WP WPML addon. Under Mailchimp for WP > WPML don’t select any list per language, just only check the box “send in wpml language” and it will set the default Mailchimp language field to the WPML language of the subscriber.

    Hope that helps. If you have any questions, please let me know!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Language not detected’ is closed to new replies.