• Resolved osherezra3363

    (@osherezra3363)


    Hey guys,
    This is not an issue just general question,

    Im using mailchimp for woocommerce to add site members to the newsletter if they tick the checkbox on register page. is it possible to do the same with the social login ?

    Cheers,

    • This topic was modified 5 years, 8 months ago by osherezra3363.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Laszlo

    (@laszloszalvak)

    Hi @osherezra3363

    I just replied to your support ticket about this topic, could you check your inbox please?

    Anyway I copy some parts of my reply here, if there would be some other users who are also interested in this answer.

    Currently we don’t have a custom integration for MailChimp, but it can be done by asking custom fields before the registration.
    As it can be seen in our Documentation:
    https://nextendweb.com/nextend-social-login-docs/backend-developer/#custom-fields
    you can ask custom fields from the user before the registration.

    MailChimp has a code for custom forms, what you can find at the WordPress side bar>MailChimp for WP>Integrations>Custom:

    <p>
    	<label>
    		<input type="checkbox" name="mc4wp-subscribe" value="1" />
    		Subscribe to our newsletter.	</label>
    </p>

    so combining this piece of code with our Custom field asking functionality, could synchronize the users registered by NSL with your MailChimp list.

    The created custom code could be added as a custom plugin:
    https://codex.www.ads-software.com/Writing_a_Plugin

    Important note:
    To make it work, you will probably need to Disable “Double opt-in” at WordPress side bar>MailChimp for WP>Integrations>Custom
    This is because users who register with Social Login rarely active their account since, the provider already verifies that the account is valid. This also means that, they can login without confirming their email address. When the “Double opt-in” setting is on, non-confirmed accounts won’t be synced.

    Plugin Support Laszlo

    (@laszloszalvak)

    If anybody else would be interested in the solution:

    The method I described above is for “MailChimp WordPress”.

    As for “Mailchimp for WooCommerce” the following HTML code and input shall be used when you ask custom field:

    <p><input id="mailchimp_woocommerce_newsletter" type="checkbox" name="mailchimp_woocommerce_newsletter" value="1" checked="checked">
    	<label for="mailchimp_woocommerce_newsletter">
    		<span>Subscribe to our newsletter</span>
    	</label>
    </p>

    If the user chooses to subscribe to your newsletter, an email will be sent to their email address, what they need to confirm. After that the account registered with Nextend Social Login will be synchronized with the Mailchimp listing.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Add to newsletter’ is closed to new replies.