After you have connected your store to your Mailchimp account, you can configure the basic Mailсhimp Integration with eCommerce Support add-on settings in the Mailchimp settings tab.

The settings you need to configure are as follows:

Mailchimp API key: The API key used to connect your X-Cart store to your Mailchimp account. If, for some reason, you need to switch to a different Mailchimp account or update the API key, use the “Reset Mailchimp connection” link.

Enable E-commerce analytics: This option enables eCommerce analytics by Mailchimp for your X-Cart store. For details, see the article Use Mailchimp for E-Commerce in the Mailchimp Knowledge Base.

eCommerce analytics is the core component of the integration functionality; the setting is enabled by default, and we recommend keeping it that way. For eCommerce analytics related features to function properly, you will need to upload your store data (your store catalog and orders) to Mailchimp via the E-Commerce Features Setup tab of the add-on settings page. (This section appears on the page after you update Mailchimp lists). Be sure to visit the E-Commerce Features Setup page and specify the lists for which eCommerce Stores need to be created on the Mailchimp end. For detailed guidance, see Uploading Store Data to Mailchimp.


Don't forget to enable E-Commerce Link Tracking for your campaigns and automations in your Mailchimp admin.


Enable Abandoned Carts: This option enables the Abandoned Carts feature. For more info on this feature, see the Mailchimp site.

Default list for automatic campaigns: Specify the default list for automatic campaigns. This is required for the abandoned carts and order notifications features to function properly for all your customers. (If a list is not specified here, Mailchimp abandoned carts and order notifications will work only for those customers who are already Mailchimp subscribers for this store).

Enable single opt-in for customers: This setting defines whether customers who opt in to subscribe to your news lists should be asked to confirm the subscription via email or not. When this option is disabled, new subscribers get an email with a subscription confirmation link that they need to click to be added to your list (Double opt-in). When this option is enabled, new subscribers are added to your list as soon as they opted in without confirming the subscription by email (Single opt-in). Remember that abusing the single opt-in option may get your account banned by Mailchimp.

Subscription select element type (Type: checkbox or Type: select box): This setting defines how your customers select a subscription. If the select box option is enabled here, your customers can subscribe to only one mail list; if the checkbox option is enabled, your customers can select and subscribe to a single or multiple lists.

Update Mailchimp lists every (Never, 1 minute, 10 minutes, etc.): Select the time interval for the periodical list updates.


For automatic periodical updates, make sure your server is configured to run scheduled tasks.


Type of discount coupons that should be uploaded to Mailchimp: Adjust this setting to specify the type of coupons that Mailchimp should be able to pull from your store to use in your campaigns via promo code content blocks.


This setting is available only if the Coupons add-on is installed and active.


The available options are:

  • All discount coupons: Select this option if you want to use any coupons created in your X-Cart store in Mailchimp.
  • Only the discount coupons that match the Mailchimp promo rules: Select this option if you need Mailchimp to be able to import only the coupons that have been configured with the following fields defined (all the four of them, or just some of them):

Code;

Discount amount;

Active from;

Active till.

Discount coupons configured using any fields on top of this set (for example, a coupon for which a product category or a product class has been specified) will not be imported into Mailchimp.

Site connection code: This is the field where your mc.js connection code snippet needs to be added.

Once added via this field, the snippet is installed on your store website so that Mailchimp can insert javascript for features. Namely, mc.js is needed so your store website can display this block: https://mailchimp.com/features/custom-forms/. In most cases, you will not have to add the mc.js code snippet via this field manually: the snippet will automatically appear in this field as soon as your store has been fully connected to Mailchimp. The connection process is considered fully completed after your store data has been uploaded to Mailchimp. After the completion of the connection process, you see your connected store in your Mailchimp account and can access the respective settings:

xc5_mailchimp_store_connected.png


By this point, the field “Site connection code” on the Mailchimp add-on settings page in your X-Cart store should already contain the mc.js code snippet you require. All you need to do is to make sure it is there.


Attention the users upgrading from an older Mailchimp integration version without the “Site connection code” field to a newer version with this field:

After the upgrade, the Mailchimp add-on settings page in your X-Cart store Admin area will have the new field, but the snippet will not be there as you have already completed the store connection process before the upgrade. To get the snippet in place, you will need to update your store data using the button Update store data in the E-Commerce Features Setup section. After that, the mc.js code snippet should appear in the “Site connection code” field automatically.

An alternative method will be to add the code snippet in the “Site connection code” manually. The code snippet can be found in your Mailchimp account via your connected store settings:

xc5_mailchimp_code.png

When all the settings have been specified, click the Submit button at the bottom of the page to make them active.

After that, you need to update the Mailchimp lists by clicking the Update Mailchimp Lists button. This is required to make the E-Commerce Features Setup tab visible.

By clicking the Update Mailchimp Lists button, you will be automatically redirected to the “Mailchimp Lists” page (Marketing -> Mailchimp lists). Don’t forget to return to the Mailchimp addons settings page to complete the addon configuration in the E-Commerce Features Setup tab.

Did this answer your question?