Follow us on Twitter

Tracking Your Shopify Products With Voluum


Shopify is a leading commerce platform that allows anyone to set up their online store presence and sell their products. Thanks to integration with Voluum, you can track various events from your Shopify store in Voluum with ease.

Using Voluum with Shopify enables marketers or ecommerce store owners to connect all their advertising efforts in one place. With it, they can see how their ads are doing and how it translates to selling numbers.

The following article covers the setup for tracking visits and tracking conversions.

Before you start

You require several things to be able to track your Shopify-powered store products with Voluum:

  • An active Shopify account with:

    • A valid payment provider added,
    • A store created and products added,
    • Optionally, a custom domain set up.
    • Optionally, Shopify Plus subscription
  • An active Voluum account, with a tracking domain that has an SSL certificate enabled.

    Voluum Note: Using an encrypted connection is a requirement in Shopify. If you do not have an SSL certificate enabled on your either dedicated or custom domain, conversion tracking will not work.

Once you have everything ready, proceed to the next step.

Visit tracking

Shopify allows you to use many sales channels, which include:

  • Online Store
  • Facebook
  • Google Shopping
  • Other

In order for the tracking to work, you need to direct your visitors to your store through a Voluum campaign URL. If you fail to do so, no click ID value will be assigned, and no conversion tracking will be possible. You can submit this campaign URL manually to any source of traffic, such as various ad networks. Activation of this campaign URL will be counted as a visit in Voluum.

There are two methods you can use to track your Shopify store:

  • A direct one, where you put Voluum tracking script directly on your store's page (main or product). This requires having Shopify Plus, as it allows adding codes to store pages. Create a campaign with just a Shopify offer and direct link to it. Put the offer tracking script on your store's page.
  • An indirect one, where you direct your visitors from your sales channel to an external landing page with Voluum script in it and then from this landing page to your Shopify store's page. This does not require having Shopify Plus. Add a lander to Voluum and create a campaign with a lander. Put a lander tracking script on your landing page and then redirect visitors to your store's page.

Add Shopify products as offers in Voluum

To be able to create a complete campaign funnel in Voluum, you need to have offer elements added to Voluum, with links to product pages submitted as offer URLs.

Voluum Note: If you run the following campaign funnels:
* Offers Only + Redirect
* Landers & Offers + Organic
* Landers & Offers + Direct
* Landers & Offers + Redirect
you should also add the following parameters to the offer URL after the ? character: cpid={campaign.id}&cid={clickid}. This will allow Voluum app in Shopify to recognize, which campaign is responsible for a conversion and will avoid generating a new click id (duplicating a visit).
If you run a campaign funnel with an offer only and a direct method, you don't need to add anything to an offer URL.

  1. In Voluum, go to Offers.
  2. Click the Create button and select the Offer option from the drop-down menu.

  3. In the New offer form, provide a name for the offer in the Offer name text field.
  4. Paste a link to the product page in the Offer URL text field.
  5. Click the Save button.

Repeat the steps above until you add all products as offer elements to Voluum.

Track conversions with integration

Voluum Note: Due to open nature of Shopify infrastructure, we're unable to ensure that our app works in all configurations. Certain themes, apps or modifications might disrupt our integration.

Thanks to Voluum and Shopify integration, user can now:

  • Map their Voluum offers with the specific Shopify products (with a use of Offer IDs)
  • See 'add to cart' results for specific products in Voluum
  • Track the purchases and the revenue.

In order to set up integration, follow the steps below:

  1. Go to Shopify App Store and install Voluum app.
  2. Go to Themes.
  3. Click Customize.
  4. Go to App embeds.
  5. Enable Voluum app extension.
  6. Go to Products tab and add offer IDs to your products. You can grab them from Voluum after enabling the 'Offer ID' column.
  7. Now you have to create custom conversions for ‘Purchase’ and ‘AddToCart’ events in Voluum.The parameters for custom conversions are
    • purchase
    and
    • add_to_cart
  8. Please also consider:
    • It is recommended for ‘AddToCart’ custom event to leave “Include in conversions” column option disabled - the column for ‘AddToCart’ will be added anyway in reports, but these won’t be included in overall conversions column (and overall conversions column will contain only actual purchases).
    • Note that each ‘AddToCart’ action will be firing a separate ‘add to cart’ conversion to Voluum.

Track Conversions without integration

In Voluum's understanding, each product page is treated as a separate offer. When a visitor completes an order, a Voluum conversion tracking pixel that you have submitted on your Shopify account settings page will run. This pixel will then fetch a click ID from the visitor's cookie and pass it to Voluum, along with some additional information, such as product price or order ID.

Voluum Note: In order to use a conversion tracking pixel feature, a visitor must have cookies enabled in his or her web browser. Without cookies enabled, conversion tracking will not work. Additionally, the same domain and protocol have to be used in all campaign funnel

I. Get and Modify a Conversion Tracking Pixel from Voluum

In the first step, we describe where to obtain a conversion tracking pixel. In order to get it, perform the following steps:

  1. In Voluum, click the button to go to the Settings page.
  2. Go to the Tracking URLs tab.
  3.  

    In the CONVERSION TRACKING PIXEL section, click the Copy button next to the conversion tracking pixel to copy it to the clipboard.

    Your conversion tracking pixel should look as follows:

    <img src="https://voluum_dedicated_domain.com/conversion.gif?cid=OPTIONAL&payout=OPTIONAL&txid=OPTIONAL" width="1" height="1"/>

    You need to modify this pixel to include Shopify tracking tokens:

    • Delete the cid=OPTIONAL part of the script
    • Replace the OPTIONAL next to the payout parameter name with the {{ total_price | money_without_currency }} Liquid tag.
    • Replace the OPTIONAL next to the txid parameter name with the {{ order_number }} Liquid tag.

    The modified pixel should look like this:

    <img src="https://voluum_dedicated_domain.com/conversion.gif?payout={{ total_price | money_without_currency }}&txid={{ order_number }}" width="1" height="1"/>

Back to top

II. Submit a Conversion Tracking Pixel to Shopify

Shopify offers an option to include an additional tracking script on a product order page. You need to submit the Voluum conversion tracking pixel as this additional script to enable conversion tracking. Follow the steps below:

  1. In Shopify, go to the Settings page.

  2. Go to the Checkout view.
  3. In the Order processing section, paste the modified conversion tracking pixel in the Additional scripts text field.

  4. Click the Save button.

Track & optimize
your campaigns with ease!