Skip to content
AffiliateWP

AffiliateWP

Join 30,000+ Smart Business Owners who use AffiliateWP to Grow Their Revenue, FASTER!

Get AffiliateWP
See all Features
  • Features
    • Advanced Affiliate Tracking
    • 1-Click Payouts
    • Affiliate Growth Tools
    • Custom Affiliate Dashboard
    • Smart Commission Rules
    • Easy Setup
    • See all Features →
  • Integrations
    • WooCommerce
    • Easy Digital Downloads
    • PayPal
    • WPForms
    • MemberPress
    • GiveWP
    • See all Integrations →
  • Pricing
  • Help Center
    • Documentation
    • Support
  • Testimonials
  • Blog
  • Log In
  • Get AffiliateWP

Sending affiliate emails with MailChimp

Last updated on March 19, 2015 by Andrew Munro
FacebookTweetLinkedInEmail

MailChimp is a fantastic tool for emailing affiliates and informing them of upcoming promotions. In this tutorial we’re going to cover:

  1. Exporting affiliate data from your current affiliate system
  2. Importing affiliate data into MailChimp
  3. Creating a merge tag in MailChimp so any referral URL used inside the email can have the affiliate’s own ID appended

Exporting affiliate data from your affiliate system

The first thing you’ll need to do is export a list of your affiliates. Most affiliate systems should allow you to export a CSV file which contains useful information about the affiliate such as their email address and affiliate ID.

Once you have the exported file, save it to your computer so we can import it into MailChimp. AffiliateWP makes this easy by providing an export tool on the Affiliates → Tools page.

Exporting affiliate data as a CSV file in AffiliateWP
Exporting affiliate data as a CSV file in AffiliateWP


Importing affiliate data into MailChimp

Next we need to import the affiliate data into MailChimp so we can build a list of affiliates to email. If you happen to import an affiliate who already exists, you’ll get the option to update them.

  1. Log in to MailChimp and click lists to go to the main lists page
  2. Select the list that you’d like to import the affiliates into or click Create list to make a new one
  3. On your list, click Add subscribers → Import subscribers

    Importing subscribers into your list
    Importing subscribers into your list
  4. On the Import subscribers page click Import from a CSV or TXT File

    Importing a CSV or TXT file
    Importing a CSV or TXT file
  5. Next to the Upload a file input field click Browse to select your CSV file you saved earlier, and then click Open

    Uploading a CSV file
    Uploading a CSV file
  6. Click Upload List
  7. Once you have successfully imported your CSV file you may be prompted to match the columns in the uploaded CSV file to the MailChimp list. If you have any unwanted columns you’ll also get the opportunity to skip them as shown in the screenshots below.
    Click the Save button on the column containing the Affiliate ID. Once you click save, it will then highlight the next column.
    19494-import-subscribers-columns-1
  8. Click the Save button on the column containing the Email Address
  9. Click the Skip button on any remaining columns that you don’t need

    Columns that aren't needed can be skipped
    Columns that aren’t needed can be skipped
  10. Once you have both the affiliate ID and email address columns saved click Complete Import

The imported list showing our new subscribers along with their affiliate ID.
The imported list showing our new subscribers along with their affiliate ID.

Hooray! You should now see a list of subscribers containing their Email Address and also an Affiliate ID column.


Creating a merge tag

As defined on the MailChimp website, “Merge tags allow you to dynamically add content to your email”.

The following steps will show you how you can create a merge tag for the Affiliate’s ID. This will allow you to add referral URLs inside the email and have the affiliate’s ID appended to the URLs.

  1. Click Settings and then List fields and *|MERGE|* tags

    Navigate to List fields and *|MERGE|* tags
    Navigate to List fields and *|MERGE|* tags
  2. Find the Affiliate ID Field Label and if it’s not already set, change it’s merge tag to something that makes more sense. Here I’ve used AFFID.
    19494-list-fields-and-merge-tags
  3. Click Save Changes

Using the merge tag

Inside the MailChimp editor you can now use your new merge tag. You’ll first need to construct the URL, adding everything but the affiliate ID.

  1. Add the URL that you’d like your affiliates to promote, followed by the referral variable. Here are a couple of examples of what this URL might look like:
    http://yoursite.com/?ref=
    http://yoursite.com/ref/

    19494-editor-1

  2. Click Merge tags and then Affiliate ID

    Adding the merge tag
    Adding the merge tag
  3. The *|AFFID|* merge tag will now be inserted

    The inserted merge tag which will dynamically add the affiliate's ID
    The inserted merge tag which will dynamically add the affiliate’s ID
  4. That’s it! When your campaign is sent out to affiliates they will receive an email with their own unique affiliate ID added to the URL.

    19494-email-with-referral-link

Add a Comment Cancel Reply

We're glad you have chosen to leave a comment. Please keep in mind that all comments are moderated according to our privacy policy, and all links are nofollow. Do NOT use keywords in the name field. Let's have a personal and meaningful conversation.

10 comments on “Sending affiliate emails with MailChimp”

  1. Pingback: Weekly Roundup: March 20, 2015 – Sell with WP
  2. Chris R says:
    March 20, 2015 at 10:21 am

    Thanks for the excellent walk-through!

    The syncing of affiliates and the contact list would be a handy feature of the MailChimp addon.

    Reply
    1. Andrew Munro says:
      March 20, 2015 at 10:42 am

      You’re welcome Chris!

      Are you referring to the following plugin? https://wordpress.org/plugins/affiliatewp-mailchimp-add-on/

      Currently it only allows an affiliate to opt-in to MailChimp on the AffiliateWP registration form but it would be superb if it could automatically sync affiliate accounts with MailChimp! (as long as there’s a note in the TOS).

      Reply
      1. Chris R says:
        March 20, 2015 at 1:48 pm

        Yes, that is the plugin I was referring to.

        I’m not sure if the MailChimp API would allow for this type of integration, but it is at least a thought.

        Reply
  3. Pingback: Case Study: Using AffiliateWP with WooCommerce
  4. Simon Skilling says:
    April 21, 2015 at 8:47 pm

    Thanks for the tutorial. I have two client sites that I’m building AWP into and both of them unfortunately use Aweber for their email marketing. So I don’t have an add-on to make this easier.
    Is there any plans to release one for Aweber?

    The above method could be easily adapted for Aweber, but manual process if obviously not ideal. Plus it would be great to be able to send an automatic welcome email to affiliates, which would only work if they were added at the point of sign up.

    (Am less concerned about passing through the ID, just being able to email them easily!)

    Reply
    1. Andrew Munro says:
      April 22, 2015 at 9:40 am

      You’re welcome Simon! We don’t have any current plans to build an AWeber add-on but perhaps you could reach out to the developer who built both the MailChimp and GetResponse add-ons we have?

      Do you use Ninja Forms at all? We have a pro add-on being released very shortly which allows you to build your own affiliate registration form using Ninja Forms. You’ll then be able to use their AWeber extension to send affiliates to your mailing list.

      Reply
      1. Simon Skilling says:
        April 22, 2015 at 7:42 pm

        Thanks for the reply! Sorry yes I just realised the Mailchimp/GR addons are third party, so makes sense to enquire with the developer. Will do!
        But great to hear about the Ninja Forms add-on – that would be another great way round things. Thanks again.

        Reply
        1. Andrew Munro says:
          April 22, 2015 at 8:00 pm

          Happy to help! Integrating with form plugins is going to open up a lot of possibilities.

          Reply
  5. Collins Agbonghama says:
    August 22, 2017 at 5:21 am

    Just what I was looking for. We are evaluating using AffiliateWP to replace our shareasale powered affiliate system.

    Reply
AffiliateWP

Get the #1 Most Powerful WordPress Affiliate Plugin Today

Join 30,000+ Smart Business Owners Who Use AffiliateWP to Grow Their Revenue, FASTER!

Get AffiliateWP Now
  • 5 Proven Ways to Stop Form Spam in WordPress
  • Affiliate Marketing vs Lead Generation, What’s the Difference?
  • 5 Best Affiliate Fraud Detection Software for WordPress
  • How to Enable Google Analytics Video Play Tracking in WordPress?
  • How to Set Up Referral Tracking On WPForms

Connect with us:

  • Facebook
  • Twitter

Start Getting More Sales Today with AffiliateWP

Launch your affiliate program today and unlock a new revenue channel to grow your business faster.

Get AffiliateWP Now

Company

  • About
  • Press
  • Testimonials
  • Blog
  • Contact
  • Affiliates
  • Careers
  • Twitter
  • Facebook

Powerful Affiliate Features

  • Easy Setup
  • Advanced Affiliate Tracking
  • Smart Fraud Detection
  • Powerful Affiliate Management
  • Detailed Affiliate Reports
  • 1-Click Payouts
  • Custom Affiliate Dashboard
  • Smart Commission Rules
  • Unlimited Creatives
  • Affiliate Growth Tools
  • Fully Internationalized
  • Fully Customizable

Helpful Links

  • Support
  • Documentation
  • Integrations
  • WordPress Hosting
  • Start a Blog
  • Make a Website
  • Start a Store

Use Cases Section

Ecommerce Affiliate Software for:

  • WooCommerce
  • PayPal
  • WP Simple Pay
  • Easy Digital Downloads

Membership Affiliate Software for:

  • MemberPress
  • Paid Memberships Pro
  • LifterLMS
  • Restrict Content Pro
  • MemberMouse

Form Referral Tracking Software for:

  • WPForms
  • Formidable Forms
  • Gravity Forms
  • Ninja Forms
  • Contact Form 7

Our Brands

Connect with us

  • Twitter
  • Facebook
  • YouTube

Awesome Products Start with an Awesome Team.

Over 20 million sites use our software. We believe in creating awesome user experiences. Whatever the market conditions or current trends, you will always find Awesome Motive leading the way to help our customers gain competitive business advantage and stay ahead of the curve.

  • WPForms
  • OptinMonster
  • MonsterInsights
  • WP Mail SMTP
  • RafflePress
  • SeedProd
  • TrustPulse
  • AIOSEO
  • Smash Balloon
  • Easy Digital Downloads
  • WP Simple Pay
  • PushEngage
  • SearchWP
  • WPBeginner

Copyright ©  Sandhills Development, LLC.

Terms of Service
Privacy Policy
FTC Disclosure
Sitemap
AffiliateWP Coupon
wpbeginner verified

Share this ArticleLike this article? Email it to a friend!

Email sent!