[July 2018] Convert Support Stories: All About Shopify

Dionysia Kontotasiou
August 1, 2018 ·
Convert Support Stories: All About Shopify

The Convert support team gets lots of questions about Shopify – all year round. But the month of July saw an upsurge in the volume of queries.

Since we learn as we resolve, this month our support story is a comprehensive compilation of the most asked Qs that we found ourselves giving the As to!

If you use Convert Experiences as your preferred testing tool and have to work within Shopify, this will be of immense value. If you’re considering A/B testing tools for your Shopify set-up, you’ll walk away with some things to consider when picking your optimization solution.

Before moving on to the actual questions, spare a few minutes and read our Shopify Deep Dive integration article here.

We Hear You:

These are some topics that seem to make their way to the tickets time and again.

Yes, we do have articles in our database to address the queries.

But a blog is a better way to get conversational and elaborate on the little things we pick up from every support request we handle.

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:

install the 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";

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

shopify additional scripts

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.

custom javascript area

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.

Google Tag Assistant

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.

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.

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 setup 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!

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.

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.

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']);

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: https://convert.zendesk.com/hc/en-us/articles/204506359-Reading-Triggered-Experiment-Data-for-Using-it-in-Third-Party-Systems.

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.

new audience

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.

add Revenue Tracking to your Shopify checkout pages and a Convert Experiences report

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.

How Did Convert Serve You in July?

Chat Support:
5 min Response Time

Email Support:
1.76 hrs Response Time

NPS Score:

Originally published August 01, 2018 - Updated April 01, 2024
Mobile reading? Scan this QR code and take this blog with you, wherever you go.
Dionysia Kontotasiou
Dionysia Kontotasiou Convert's Head of Integration and Privacy, helping customers with technical queries.

Start Your 15-Day Free Trial Right Now.
No Credit Card Required

You can always change your preferences later.
You're Almost Done.
I manage a marketing team
I manage a tech team
I research and/or hypothesize experiments
I code & QA experiments
Convert is committed to protecting your privacy.

Important. Please Read.

  • Check your inbox for the password to Convert’s trial account.
  • Log in using the link provided in that email.

This sign up flow is built for maximum security. You’re worth it!