WordPress.org

Forums

MailChimp for WordPress
[resolved] How to add Merge tags for subscriber counts (8 posts)

  1. kylesalonga
    Member
    Posted 1 year ago #

  2. Danny van Kooten
    Member
    Plugin Author

    Posted 1 year ago #

    Hi there,

    You can use the subscriber chiclet provided by MailChimp.

    http://blog.mailchimp.com/mailchimp-subscriber-chiclet/

    Just copy the JavaScript snippet and paste it into your form mark-up.

    Will look into offering this from inside the plugin as well! :)

  3. Danny van Kooten
    Member
    Plugin Author

    Posted 1 year ago #

    So I did some more research and as it turns out MailChimp removed the chiclet feature when they implemented their new design. (tweet)

    I'll add a form variable to the plugin. So if you use something like {subscriber_count} in your form mark-up it will be replaced by the actual number of subscribers. Good enough? :-)

  4. kylesalonga
    Member
    Posted 1 year ago #

    terrific thanks Danny!

  5. Danny van Kooten
    Member
    Plugin Author

    Posted 1 year ago #

    Hi, you can now use {subscriber_count} in your form mark-up to show the actual subscriber count.

    A few notes on this.

    • The number of subscribers is cached for 30 minutes by default, to reduce (slow) round-trips to the MailChimp server.
    • If you select multiple lists, the sum of subscribers for all the selected lists will be shown

    If you like this functionality, would you be so kind to leave a review? Thanks!

  6. Majklas
    Member
    Posted 1 year ago #

    any way this widget will be implemented? Maybe there's a code for custom insert in let's say text widget ?

  7. Danny van Kooten
    Member
    Plugin Author

    Posted 1 year ago #

    Hi Majklas,

    You can use {subscriber_count} in your MailChimp for WP form mark-up to show the count of your list its subscribers.

  8. Majklas
    Member
    Posted 1 year ago #

    Thank You Danny for quick answer. But if I insert {subscriber_count} in my post, it shows as it is: "{subscriber_count}"
    Do I need to do_shortcode({subscriber_count}) ?
    Sorry for this kind a questions.. :)

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • MailChimp for WordPress
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic