Integrate with Volusion

Overview

This article will walk you through integrating Volusion with Klaviyo. After completing the steps outlined in this guide, you'll be able to personalize and target emails based on synced order data and customer properties.

From Volusion, we track Ordered Product and Placed Order metrics; with some extra code additions we can also track Abandoned Cart information as well.

Add the Volusion Integration

To enable Klaviyo's Volusion integration, navigate to your account's Integrations tab.

Clicking over to All Integrations, find Volusion on this list. Integrations will be listed in alphabetical order, so you should find Volusion near the bottom of the page.

Click Add Integration and you will be brought to a page where you can enter your Store URL, Login Email, and Volusion API Key.

647846After filling out the information above, you will see a checkbox for Subscribe customers who opt in to a Klaviyo listIf you check this box, you can pick one of your lists in Klaviyo to which future customers will be added when they place an order.

Finally, click Connect to Volusion and you should see your integration show a sync status.

Disable Email to Web Tracking

The "email to web tracking" feature in Klaviyo uses click tracking to identify a user who arrives to your website through a Klaviyo email before we would originally be able to identify them (such as when they make a purchase or subscribe to your newsletter).

Volusion does not support the URL format that our click tracking uses and produces an error when a user tries to visit your store through one of these links, so this feature will have to be disabled in Klaviyo to make sure links in your email follow through to your Volusion store correctly. 

You can disable this tracking in your account settings under Email Settings Email to Website Tracking.

The only functionality lost with disabling this feature is the ability to track a new profile on your website through an email they clicked. As long as you have the Klaviyo web tracking analytics on your website, we will still be able to track users as soon as we get their email address through either a purchase in your store or when they sign up for a newsletter.

Abandoned Cart Reminders in Volusion

Volusion does not provide an out-of-the-box way to track abandoned carts through our integration, but we have created a custom script you can add to your Volusion store which will allow you to use this feature in Klaviyo. This will require some knowledge of adding code to your shop's template so if you have a developer, you can send him/her this doc to walk through adding the code.

The Abandoned Cart feature will only work for Volusion stores using the one page checkout feature, and stores that do not require a user to have an account before making a purchase.

You will need to add the snippet of code below to your store's template page in Volusion's File Editor, which you can find by clicking Design > File Editor.

647854

Make sure to replace API_KEY in the code below with your own Klaviyo API Key; you can find your API Key here:

<script>
 var _learnq = _learnq || [];
 // Get your six digit public API from https://www.klaviyo.com/account#api-keys and replace API_KEY with it
 _learnq.push(['account', 'API_KEY']);
 (function () {
 var b = document.createElement('script'); b.type = 'text/javascript'; b.async = true;
 b.src = ('https:' == document.location.protocol ? 'https://' : 'http://') + 'a.klaviyo.com/media/js/analytics/analytics.js';
 var a = document.getElementsByTagName('script')[0]; a.parentNode.insertBefore(b, a);
 })();
</script>
<script>
 // Check to see if the customer is on the checkout page before executing code.
 if (window.location.pathname == "/one-page-checkout.asp") {
 var _learnq = _learnq || [];
 // Function to track when a checkout is started.
 var trackStartedCheckout = function () {
 $.post('/AjaxCart.asp', function (data) {
 if (!data || !data.Products || !data.Products.length) {
 return;
 }
 var items = [],
 names = [],
 skus = [];
 // Grab each product and its SKU/Name/Quantity/Price/Total price/Image url
 $.each(data.Products, function (i, record) {
 var item_price = +(record.ProductPrice.replace(/[\$,]+/g, '')) / record.Quantity;
 items.push({
 SKU: record.ProductCode,
 Name: record.ProductName,
 Quantity: +record.Quantity,
 ItemPrice: item_price,
 RowTotal: item_price * record.Quantity,
 ImageURL: record.ImageSource
 });
 names.push(record.ProductName);
 skus.push(record.ProductCode);
 });
 // Push Started Checkout metric to Klaviyo with the customers data.
 _learnq.push(['track', 'Started Checkout', {
 $value: +(data.Totals[0].CartTotal.replace(/[\$,]+/g,"")),
 Items: items,
 ProductNames: names,
 SKUs: skus
 }]);
 }, 'json');
 };
 $(function () {
 // Grab the email form to get your customers email and tie the event to that email in Klaviyo.
 $('[name="OnePageCheckoutForm"] [name="Email"]').change(function (e) {
 var email = $(this).val();
 // Do some light validation. Klaviyo will do more validation when the data is received.
 if (email && /@/.test(email)) {
 _learnq.push(['identify', { $email: email }]);
 trackStartedCheckout();
 }
 });
 });
 }
</script>

This code will only be able to track checkout events going forward ,and you will not be able to back-populate abandoned cart flows inside Klaviyo. 

After saving this code to your store, Klaviyo will automatically begin tracking a Started Checkout metric from which you can trigger an Abandoned Cart flow.

Monitor the Klaviyo Sync

Once integrated with Volusion, Klaviyo will need time to sync your data before it is ready to be used. You can check the status of this sync by navigating back to the Integrations page and looking for your Volusion integration on the list of Enabled Integrations.

If there is a gray outline, this means the integration is still syncing. The bigger your store, the longer a sync can take. When your integration is shown with a green border, you're ready to go!

Klaviyo imports all of your historic Volusion data when you first enable the integration. To verify this, you can compare the number of orders on a particular day with what's in the Volusion interface and confirm they match. 

For example, when exploring the Placed Order metric in your Klaviyo account's Metrics tab, you can mouse over yesterday's data point or look at the table of data below the chart to see how many orders were reported yesterday. Compare that number to what's stored in Volusion from yesterday and you should see they match exactly. If they don't, the issue is most likely that your Klaviyo account's timezone doesn't match your Volusion timezone. To check your timezone setting in Klaviyo, go your Account Settings and navigate to Contact Information > Organization. At the button, you will see an area to set timezone.

Review & Understand your Data

Navigate to our account's Metrics tab and you will find all of the metrics in your account. The metrics with a Volusion icon are synced from your Volusion integration. Metrics and profile properties from Volusion are synced within the hour of someone placing an order.

647859

Placed Order

This event is tracked when a customer completes the checkout process and creates an order in your Volusion store. The Placed Order event Klaviyo tracks includes all relevant information about the items someone purchased including product names, product codes, images, and price information so you can use that information in purchase follow up emails.

Ordered Product

This event is also tracked when a customer places an order, but one event is tracked for each item in the order. For example, if someone buys a t-shirt and a pair of pants, one Placed Order event is tracked and two Ordered Product events -- one event for the t-shirt and one event for the pants.

The Ordered Product event Klaviyo tracks includes detailed information about each product purchased. This is useful when creating behavorial segments based on product variant options and other detailed information that's not available in the Placed Order event. You can filter and target Ordered Product events based on the following criteria:

  • Name: The name or title of the product in Volusion, e.g., t-shirt
  • Product Code: The product code for your product inside of Volusion
  • Quantity: The quantity of the item purchased in an order

Customer Data Synced from Volusion

In addition to the above metrics Klaviyo syncs from Volusion, there are also customer properties that are added to each Klaviyo profile. You can use these properties in segments and in flows. Here are the properties that are automatically synched from Volusion:

  • Email, First Name, Last Name, City, State/Region, Zip Code, Country, Phone Number:these built-in Klaviyo fields are automatically synced
  • Source: Klaviyo will track customers from Volusion with a Source property on their profile set to "Volusion"
Was this article helpful?
0 out of 0 found this helpful