- Voluum Documentation
- Integrations
- Other
- Tracking Your Shopify Products With Voluum
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. You can use Voluum to track events on your ecommerce store and connect your advertising channels in one place. Additionaly, you can use Voluum integration with Shopify to reliably pass conversion data, including conversion types.
The following article covers the setup for tracking visits and tracking conversions.
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.
Caution
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.
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. Vreate 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.
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. In order to do so, perform the following steps:
In Voluum, go to Offers.
Click the Create button and select the Offer option from a drop-down menu.
In the New offer form, provide a name for the offer in the Offer name text field.
Paste a link to the product page in the Offer URL text field.
Caution
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.
Click the Save button.
Repeat the steps above until you add all products as offer elements to Voluum.
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:
Go to Shopify App Store and install Voluum app.
Go to Themes.
Click Customize.
Go to App embeds.
Enable Voluum app extension.
Go to Products tab and add offer IDs to your products. You can grab them from Voluum after enabling the 'Offer ID' column.
Now you have to create custom conversions for ‘Purchase’ and ‘AddToCart’ events in Voluum.
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.
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.
Caution
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:
In Voluum, click the
button to go to the Settings page.
Go to the Tracking URLs tab.
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 scriptReplace 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"/>
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:
In Shopify, go to the Settings page.
Go to the Checkout view.
In the Order processing section, paste the modified conversion tracking pixel in the Additional scripts text field.
Click the Save button.