to the tippy ↑

MailChimp Goal and Wistia

Warning: You are heading into developer territory!

Our APIs are designed for programmers. If our APIs were a ski trail, they'd be a nice blue cruiser - anyone can do it, but expect to fall a few times if you don't know what you're doing!

If you're new to web development, we recommend taking a lesson before you hit our slopes. Try a class from Frontend Masters or Skillshare!

So you've got a killer autoresponder setup in MailChimp, and you want to trigger it based on video viewing behavior? Well, you've come to the right place!

Setting it up

Before we get into the details, make sure you have already followed these instructions from the helpful guys at MailChimp.

At this point you should:

  • Have the Goal integration enabled in your MailChimp account
  • Have the the Goal JavaScript snippet on your site
  • Have an autoresponder set up

Triggering the responder

Let's say that you want to trigger the autoresponder when someone finishes a product demo video. You'd do something like this:

wistiaEmbed.bind('end', function() {
  return this.unbind;

Then in your autoresponder, you'll want to set it to trigger on the finished-product-demo-video event like so:

Take a look at the player API for more info on how to attach to player events.