Hi, In order to better understand what you'd like to get out of our website, we track the URLs you visit in a session. This information is only used to customize future communications with you. Do you consent to allow this tracking?
I Agree I Disagree. Disable Tracking

Shopify Conversion Rate Optimization

Shopify

Shopify Conversion Rate Optimization: Grow the Business of Your Shopify Store with the Convert Experiences One Tag Integration.

Overview

Site-wide Shopify A/B Testing is possible through the Admin Panel with Convert Experiences.

The Convert Experiences & Shopify integration provides basic system configuration settings that can be customized on a per ­store scope basis with the intention of displaying unique information on pages across your Shopify store.

Once the code is installed, product pages will display the product name, price, and custom attributes like collection and number of items in cart. Collection pages will display the collection name and tags.

Why Use the Convert Experiences – Shopify One Tag Integration?

This convenient integration:

  • Enables marketers and Shopify store owners to create eCommerce conversion optimization tests without changing your code or requiring help from a technical team
  • Allows user to create and track the completion of granular goals that correspond to the most valuable actions prospective buyers may take on the Shopify site
  • Easily adds or removes necessary the Convert Experiences JavaScript and variables to every page on your Shopify store
  • Allows user to track different audience segments based on attributes like store areas visited, PPC campaigns clicked and more
  • Allows user to run tests based on Shopify product attributes, making it easy to target specific product types or features, such product manufacturer or cost
  • Allows user to track logged in customers and thus track the Lifetime Value of buyers for loyalty benefit and other incentive programs
  • Automatically integrates with Google Analytics Ecommerce Revenue Tracking
  • Allows user to test different prices for Shopify products
  • Allows user to run tests based on Shopify categories
  • Does not modify any other site scripts
  • Allows user to test the effectiveness of different Shopify themes
Explore the Full Power of Shopify Integration

How to Integrate Shopify with Convert Experiences?

  • 01. Add Convert Experiences Tracking Code to your Shopify theme
  • 02. Add the code to the Checkout Pages (if you want to track conversions)
  • 03. Allow the checkout page domain in your project settings
  • 04. Forward tracking cookies to the checkout domain (Optional)
  • 05. Implement Manual Revenue Tracking (Optional)

What Data is Used in the Convert Experiences & Shopify Integration:

The integration works in three steps:

Step 1

After a Shopify user is presented with the Convert experiment/variation, the pair of experiment ID-variation ID that was fired is stored in the back-end together with the user profile.

Storing experiment ID-variation ID with the user profile

Step 2

When a goal is triggered on the Shopify pages, the goal conversion is pushed into Convert Experiences, together with the experiment ID and variation ID previously stored in the user’s profile.

Pushing the goal conversion is pushed into Convert Experiences, together with the experiment ID and variation ID

Step 3

If revenue tracking is enabled, when a sale occurs in the Shopify checkout page, revenue is pushed into Convert Experiences.

Pushing revenue into Convert Experiences

What are the Integration Features You Can Access In this Set-Up?

  • Easily add or remove necessary Convert Experiences JavaScript and variables to pages of your Shopify store by adding a custom script
  • Enable the user to run experiments based on Shopify product attributes
  • The guarantee of not modifying any other site scripts
  • Enable product page, category page page tagging
  • Enable the creation of page tags for Convert Experiences Advanced Segments
  • Leverage the ability to map attribute values as custom JavaScript variables
  • Allow for up to four attributes to specifically target products for conversion testing
  • In addition to the basic JavaScript installation of the header script, this module automatically tags important Shopify page content for use within Convert.com™ suite of tools.

Ecommerce Tagging Available in the Shopify Integration:

Page Type – not used
Category ID – not used
Category Name – the Shopify collection name will be returned
Customer ID – not used
Product Name – Shopify product name will be returned
Product Price – Shopify product price will be returned
Product SKU – not used
Custom Variable 1 – Shopify Product or Collection Tags
Custom Variable 2 – Shopify Customer State/Province
Custom Variable 3 – Number of Shopify items in cart
Custom Variable 4 – Shopify Cart Value in cart

Coupon Icon
See How Ecommerce Tagging Works

Compatibility of the Convert Experiences & Shopify Integration:

The Convert Experiences – Shopify integration is compatible with all installations of Shopify.

Shopify Optimization is an Art.
Convert Has Spent Years Perfecting It.

Here is a collection of some of the best Shopify resources we have produced in the past decade:

Apps Icon

01. Choose an A/B testing strategy for your Shopify store here.

Presentation Icon

02. What are the top mistakes testers make when optimizing Shopify stores? Find out in this infographic.

Chat Icon

03. Our support sees a lot of Shopify queries from real users. Here are the best ones.

Cog Wheels Icon

04. Why is Convert Experiences so compatible with Shopify Plus? We break it down here.

Screenshots

  • Pushing revenue into Convert Experiences
  • Pushing revenue into Convert Experiences
  • Pushing revenue into Convert Experiences
  • Pushing revenue into Convert Experiences

Shopify A/B Testing Frequently Asked Questions

Question Icon

Add Convert Tracking Code to Shopify

The first and most asked question is about the Convert-Shopify installation. Here are the steps to make this happen.

In short, you have to install the Convert tracking code in the Shopify theme-liquid:

Add Convert Tracking code in the Shopify theme-liquid

And you should also add some extra code in order to allow transactions to be captured:

<script type="text/javascript">
if (typeof _conv_host == "undefined") {
window["_conv_prevent_bodyhide"] = true;
(function() {
var _conv_track = document.createElement("script");
_conv_track.src = "//cdn-3.convertexperiments.com/js/XXXXX-XXXXX.js";
document.getElementsByTagName("head")[0].appendChild(_conv_track);
})();
}
</script>

This is essential, especially if you are optimizing for revenue and checkouts.

Add some extra code in order to allow transactions to be captured in Shopify with Convert

Question Icon

Can I Conduct Cohort Analysis and LTV Evaluation with Convert Experiences

So you’re a Shopify merchant – and you know your company’s top-line revenue and customer numbers by heart.

But do your latest customers behave differently from your previous patrons? Do your May shoppers spend more or less than your April acquisitions after 6 months?

You can use cohort analysis and customer LTV to project future revenue, churn, customer engagement, and more. Get answers to questions like:

  • Is your customer retention rate going up?
  • How valuable are the customers you’ve acquired in the latest campaign?
  • Do your newest customers spend more in their first month than your previous buyers?

A cohort analysis is how many companies gain deeper insight into the behavior of their users/customers.

They can then leverage this insight to build successful growth strategies. In a cohort analysis instead of looking at users/customers individually, they are placed into related groups known as cohorts. Each person in a cohort must share a related yet distinguishable trait that separates them from the other cohorts.

The most common trait used to do this is date — specifically the date on which each user/customer started using the product.

Customer lifetime value (LTV) is the gross profit a customer will generate or has generated over their lifetime.

Shopify integrates with ChartMogul, Stripe, and other powerful analytics tools that work with these revealing metrics. But where does Convert Experiences come into the mix?

You could tag your purchases per variation they see and send the data to Stripe or ChartMogul at the time of purchase. You can extract the variation id or name by following these instructions:

Let’s see some examples of this in action.

For visitor retention rate (the thermometer of audience loyalty), you could simply use an audience in Convert Experiences where you add the “visitor type” condition and set its value to “returning visitor”.

Then to calculate the rate, you have to divide the number of returning visitors to your website by the number of total unique visitors for a given period of time. For example, if in July, if you had 10,000 total visitors and 3,000 of them were repeat traffic, your visitor retention rate is 30 percent (3000/10,000 = .30).

This rate is often a good indicator of whether your marketing communications and content marketing programs are healthy.

Though there aren’t really comprehensive benchmarks out there on the ideal VRR, we generally believe that if your rate is under 25 percent, your content strategy probably needs some refreshing.

Add new Audience in Convert

For assessing the value of customers you’ve acquired in your last campaign, you could simply use an audience in Convert Experiences where you add the “utm_campaign” condition and set its value to the specific campaign name you have. Then you will also add Revenue Tracking to your Shopify checkout pages and a Convert Experiences report will quickly present the results.

This report is not an individual or granular breakdown of who bought what. Rather it is an anonymized average of all the financial transactions that buyers attracted from a certain campaign initiate.

New Audience report in Convert

That’s it for our July Support Story.

Our team will be back with another area of interest for Convert users and the intriguing, oft-asked questions that we find in our tickets.

Here’s to closing the month with a snapshot of our support metrics.

Question Icon

How Can I Test A Range of Price Points for a Product?

Convert Experiences allows you to test different product price points using your Shopify platform. The way this is done is described below:

  1. Clone the product whose price you wish to test in your Shopify catalog. In this process of cloning the product, configure it so that the new one does not show in your product list and remains hidden for search.
  2. Create a Convert Split URL experiment with the original product URL and the cloned product URL.
  3. Add revenue goals or any other goals as you see fit to determine the winner.
  4. Start the experiment.
  5. In the end, you will see which product gathered more conversions.

Note: The checkout for the altered product will be the same as the original product.

Question Icon

Can I Add the Shopify Liquid Code to Convert?

Liquid is a template language created by Shopify and written in Ruby.

It is now available as an open source project on GitHub, and is used by many software projects and companies. Liquid is the backbone of all Shopify themes, and loads dynamic content to the pages of online stores.

So in case you want to add a snippet of liquid code e.g. {% if template ==index %} Do Something {%endif%} to Convert, you should do so in the custom javascript area.

Add liquid code in Convert App

Question Icon

I Do not Have a Standard Google Analytics Implementation

In this case, we cannot import revenue through your GA revenue setup because your website has a non-standard GA implementation.

PRO TIP: In order to verify what GA implementation you have, you can use the Google Tag Assistant. If it is recognized by GTA, then it will also be recognized by Convert.

Check Google Analytics implementation with the Google Tag Assistant

Question Icon

How can I A/B Test Different Shopify Themes?

Getting ambitious, are we? Thankfully Convert Experiences is all about ambitious. Limitless testing.

If you want to test diverse design changes in Shopify and not just specific changes to product pages, you should follow these instructions.

You can test new product page designs, and have them stick across all product pages for the duration of the experience.
Once you select the Shopify themes you want and install the Convert tracking code in the relevant places, you should be able to set up a Split URL experience and see what your visitors prefer.

Eventually, Convert Experiences will tell you which theme is performing better and you can make the required changes to please your visitors!

Question Icon

Testing the Impact of Shopify App

Yes, it is possible to use Convert Experiences to set up variants where one uses an app from the Shopify app store on a website and the other does not.

For example, if you have an app installed on a website that creates a hovering cart button, you can run A/B tests to see what performs better – the hovering button or pages without the button.

The easy way to go is to disable the app for a variant or undo the effect of the application for one of the variants.

Question Icon

How Can I Add Convert to Shopify Checkout Pages?

If you want to change the appearance of the Shopify checkout page, there is an area in Shopify to add extra scripts for this purpose.

Here is a third-party article that references where the Convert tracking code should be added.

Question Icon

Why do Conversion Numbers Differ between Convert and Shopify Reports?

Based on Shopify documentation, online store conversion rate shows the percentage of visits that lead to an order.

This is the reason behind the discrepancy because Shopify counts “visits” (sessions) for its conversion rate number while Convert counts unique visitors.

Question Icon

Is the Convert Revenue Code GDPR Compliant?

Glad you asked.

As the GDPR was enforced, we changed our revenue tracking code to be compliant. So instead of “sendRevenue” we now use “pushRevenue” which does not send through any transaction IDs since they are considered Personal Information.

{%assign products_count = 0 %}
{% for line_item in line_items %}
{% capture products_count %}{{ products_count | plus: line_item.quantity }}{% endcapture %}
{% endfor %}
<script type="text/javascript">
var _conv_q = _conv_q || [];
_conv_q.push(["pushRevenue", '{{ subtotal_price | money_without_currency }}', '{{ products_count }}','XXXXXXXX']);
</script>

Start 15-Day Free Trial Of Convert Experiences.

Watch Icon
Quick form submission.
Credit Card Icon
No credit card needed.
Headphones Icon
Support available.
You can always change your preferences later.

We've Improved Conversions for
5000+ Leading Brands

Check Icon
You're Almost Done.
Managing Marketing Team
Managing Tech Team
Hypothesizing Experiments
Coding and QA of Experiments
Convert is committed to protecting your privacy.

You've successfully submitted your details to start your Convert Experiences 15-day free trial.

We are setting up your account for you. You'll receive a welcome message to your registered email with your login access. Please explore the app on desktop for an optimal experience.