Closed gananggww closed 6 years ago
Of course you need to replace my url with your one :)
where can i put my apikey and listID?
please, i need more documentation
So you take the README example, put it in your app, and replace the "action" value with your own mailchimp form url, that you can get from their interface, that should look like that
(I assume you now react, npm, webpack)
oke thx. how can i custom a textfield and submit button sir?
yeah i can styling... how can i trigered onClick after subscribed
there is no succes/error/callback at the moment but contributions are welcome.
this would involve adding a this.props.onSuccess()
here : https://github.com/revolunet/react-mailchimp-subscribe/blob/master/src/index.js#L42 and same for errors.
what xxxx? before us13
action: '//xxxx.us13.list-manage.com/subscribe/post?u=695fze434a101fd2a718afddde8&id=72al97ece5'