Hey raylinanthony,
Could you explain a little more on what you mean by ‘callback’? Do you need a piece of code, or would you like to receive a notification when someone successfully subscribes?
Hello Ines, thanks for answering.
I am implementing a call to action, to download an ebook when users belonging to register. So what I’m doing with the “Mailchimp for WordPress” plugin.
What I need it is that once the user signs … I return some code or something that tells me that was signed and then I do the script to download the ebook.
Hey Raylin Anthony,
There are various ways you can go about this.
1) Setting the “Redirect URL’ which redirects the user to a page where they can download the ebook after they sign-up using your forms.
2) Include a download link in your final confirmation email in MailChimp.
3) Setup a webhook in your MailChimp account which pings your website based on various actions a subscriber takes. You’d have to implement some code that “listens” to these hooks though, this is not something our plugin currently does.
4) Use the Download Monitor – MailChimp lock add-on which lets you protect your downloadable files so that users have to be subscribed to access them. This can be used with any of the previous methods.
Does that help? If not, let us know please!