The integration between Sky Pilot and Mailchimp provides a powerful tool to improve your digital product sales and delivery.
The integration includes two key pieces of data:
- Product tags to track when customers make an order that includes a digital item (at product or variant level)
- Events to track when customers have downloaded or viewed their digital item 'order_delivered'
This will allow you to create specific campaigns to notify customers when they have made an order and to remind them to view their content.
How to set it up:
1. Find your API Key and Region in Mailchimp and copy it
2. In Sky Pilot find Settings > Checkout and Integration > Mailchimp integration and paste the copied key in the designated area
3. Disable Sky Pilot emails
4. Add a download link to your Mailchimp emails:
{% assign with_digital_files = false %}
{% for line_item in line_items %}
{% assign variant = line_item.variant %}
{% assign product = variant.product %}
{% assign variant_tag = "variant-<variant-id>-has-digital-downloads" | replace: "<variant-id>", variant.id %}
{% if product.tags contains variant_tag %}
{% assign with_digital_files = true %}
{% endif %}
{% endfor %}
{% if with_digital_files %}
<a href="http://{{shop.domain}}/apps/downloads/orders/view/{{email}}/{{id}}" class="btn">
Download My Purchases
</a>
{% endif %}