Multi-currency support for Shopify

If your store presents prices in multiple currencies, using Shopify Payment's multi-currency feature, then Littledata's app is 100% compatible with multi-currency. Here's how it works for different parts of the data processing. We use Shopify's definition of 'presentment currency' and 'shop currency'. Storefront data layer All prices for products in the LittledataLayer and dataLayer variables will be in shop currency, regardless of the presentment currency. Cart & Checkout steps Prices are sent in presentment currency, and converted by Google Analytics (or Segment) to the target currency at current exchange rates. [note]Add-to-cart and checkout steps were sent in the correct currency from 16/8/2019 onwards, for stores using our v8 tracking script[/note] Orders & Refunds All orders and refunded items are sent to Google Analytics in the shop currency. Multiple country stores sending to one web property If you have multiple country stores, all sending data to a single web property in Google Analytics, this is also handled by our tracking script.  

2019-08-16

Working with a headless Shopify setup

If you are one of the many stores using Shopify as a core ecommerce platform, but you have rolled-your-own storefront or built pages using other tools, this guide is for you. Littledata's Shopify connection will work out the box in the following situations: If you have pages the customer must visit before checkout which are hosted by Shopify, and have Littledata's tracking script added to the page template. This is typically a cart page as a minimum. You use the ReCharge checkout for recurring billing, and have Littledata's integration with ReCharge activated. Unfortunately it will not work in the following situations Customers are directed straight to Shopify's checkout without seeing any Shopify storefront page first. We can't add a script to Shopify's checkout. Customers purchase on your own checkout, and you then send the order to Shopify via API. You use another 3rd party checkout, such as Bold Cashier, without any Shopify storefront. Bold relies on us to identify the cart the user is checking-out before their checkout page. If you're not sure which category your store is in, do ask our support team. Integrating the hard way There is a way you can still work with Littledata by sending us the Google Analytics client ID in the note_attributes of the Shopify order. Our webhook will then pick up that client ID and match the order to your customer's web session. This development work would involve. Grabbing the client ID from the _ga browser cookie set by Google Analytics. An example of how to use GA's analytics.js library to do that is: [dm_code_snippet background="yes" background-mobile="yes" bg-color="#abb8c3" theme="dark" language="javascript" wrapped="no"] ga(function(){ var tracker = ga.getAll()[0]; if (tracker) { window.googleAnalyticsClientID = tracker.get('clientId'); } }) [/dm_code_snippet] Adding that value as a hidden field of your checkout, or otherwise passing it to your server. Sending that value as the clientID field in the note_attributes property of the Shopify order.

2019-08-15

Top 4 benefits of connecting ReCharge with your Shopify store

As the most popular recurring billing solution for Shopify stores, ReCharge helps Shopify and Shopify Plus merchants sell subscriptions easily and smoothly. ReCharge's feature set also allows for a variety of subscription types, including single product, mixed cart & entire cart subscriptions. In our last post, we talked about major challenges for Shopify store owners who manage subscription orders. Today, we're outlining a major solution. Why use ReCharge? By installing ReCharge, Shopify merchants can customise subscriptions for their store (including custom promotions via Advanced Discounts API). The ReCharge and Shopify APIs allow developers to customise the checkout experience for customers and personalise how those customers manage their subscriptions. And that's not all — with access to the ReCharge API, Shopify merchants can harness the power of marketing automation. Whether you want to automate product discount codes, order cancellation processes or updated pricing on select items, you can do just that. Installing ReCharge on your store also means orders are processed faster (thanks to an increased API call limit). For Shopify Plus merchants, ReCharge has full compatibility with popular apps like Klaviyo and Smile.io. Why connect ReCharge with Shopify? As mentioned above, ReCharge helps Shopify store owners easily sell and manage subscriptions. However, without hiring expensive Google Analytics consultants, ReCharge customers don't have a way to access a complete data collection in Google Analytics — until recently. [subscribe heading="Get Littledata's ReCharge connection for your Shopify store" background_color="green" button_text="get the connection" button_link="https://www.littledata.io/connections/recharge"] Wait, why Google Analytics? Arguably the most powerful free tool available to marketers, Google Analytics is a robust data platform that allows for multi-layered tracking, buyer behaviour analysis, segmenting by user characteristics and much more. While GA offers free features and hundreds of metrics for stores of all sizes, it certainly isn't without shortcomings. However, Littledata offers a way to maximise the power of Google Analytics' powerful data platform along with the Shopify ReCharge connection: How to optimise the Shopify ReCharge connection Unfortunately, simply installing ReCharge on your Shopify or Shopify Plus store limits the full power of the connection. That's where we come in. Littledata's Shopify ReCharge connection opens the door to accurate data for recurring transactions through an automated, advanced Google Analytics integration. With Littledata's connection, merchants not only benefit from accurate data — they get more features, automated tools and ways to track their store's performance in GA: 1) Automatically track first-time payments & recurring transactions Shopify reporting is now 10x easier. With Littledata's Shopify ReCharge connection, merchants can enjoy easy tracking of the entire customer journey along with accurate marketing attribution. The best part: you won't need to lift a finger (after granting GA access, of course). 2) Get marketing attribution for subscription revenue Littledata's smart technology automatically connects your ReCharge checkout with Google Analytics for accurate subscription revenue, including first-time payments and recurring transactions. 3) Segment your performance Whether by payment source, subscription plan type or product category, connecting ReCharge with your Shopify store allows you to track performance by segment. Not only does this ensure accurate tracking of your entire ecommerce funnel, but it also frees you to take full advantage of automated Shopify reporting to grow revenue (including report packs designed for subscription analytics). 4) Benchmark your site See how you stack up against other subscription-based Shopify merchants with Littledata's powerful ecommerce benchmarking tool.  Not only will integrating ReCharge allow you to see website benchmarks by industry, but you'll also see which key metrics are succeeding and which of them have room for improvement. The ReCharge connection also offers access to professional-level subscription analytics tools. How the Shopify ReCharge integration works From marketing campaigns to first-time transactions and recurring revenue, integrating Littledata with ReCharge lets you capture the entire subscriber journey and all the crucial data it produces. With Littledata’s magic sauce, your Shopify store and ReCharge data are automatically connected and reeled into Google Analytics. Once the two are integrated, Littledata’s revenue optimisation tools pull straight from your Google Analytics data. Connect the apps you know and love In addition to the ReCharge connection, Littledata lets you loop in the subscription tools and marketing apps you rely on most — Facebook Ads, Google Ads, CartHook, Refersion, and more!. Bottom line: Littledata automates the process to ensure accurate sales data and marketing attribution for your Shopify store. You can view the data directly in Google Analytics, or in the Littledata app.

by Nico
2019-08-09

What you can track with the Littledata CartHook connection for Shopify stores

When you use Littledata's CartHook and Shopify connections, our app audits your Google Analytics setup and applies an improved tracking script to your Shopify store. This improved tracking automatically lets you: Track products through list views, adds-to-cart and purchases Segment orders by tag and product funnel Attribute sales to marketing channels and campaigns Track refunds The marketing attribution frequently goes wrong with CartHook's basic Google Analytics integration, and Shopify's native tracking is notoriously inaccurate. When customers are referred to the CartHook checkout the original source of the subscriber is often lost. Littledata has worked with CartHook to solve this problem. You can find the full list of improvements here. What happens behind the scenes? Littledata makes a server-side integration between Shopify, CartHook and Google Analytics. Every time an order is processed on Shopify we link that revenue to the customer session in Google Analytics (as measured by the GA user ID stored in a cookie). To link those two we stitch the user Client ID and CartHook session ID to the Shopify Order for correct attribution. Setup guide First, Install CartHook and Littledata for your Shopify store, then follow these steps to activate the connection.

2019-07-25

How to manually update the Littledata tracking code for Shopify

If you opted not to have our app automatically inserting the tracking code at the top of your main Shopify theme file, then you'd need to update the snippet manually. More details on how to customise the behaviour of the script using the LittledataLayer object can be found on the Shopify tracker GitHub page. Here are the steps to update: In the top of the audit page of Littledata's app, click COPY SCRIPT to copy a new version of the tracking script into the clipboard. If you don't see that notification, please contact support. Find in your Shopify store theme editor the snippet file named LittledataLayer.liquid. Select all the contents of the file, and then paste in the contents of the clipboard to overwrite it. Check {%include 'LittledataLayer' %}  is still included in the main theme layout file. If it is not included make sure to follow the instructions in this guide to add the three-line snippet to your Shopify store templates.

2019-07-25

How to add Littledata’s code snippet to your Shopify store theme

This guide shows how to add our tracking script to your Shopify store manually. [note] For most Shopify stores, the Littledata – Google Analytics reporting app automatically adds our tracking script to your shop’s template. However, if your store has a custom template/layout, there will be some cases where our app isn’t able to do this automatically. [/note] 1. To edit the code go to Shopify Admin >  Online Store > Themes > Actions > Edit code.  2. Copy the snippet. Even though our script has already been added to your store, it still needs to be inserted into each layout. [dm_code_snippet background="no" background-mobile="no" bg-color="#fff" theme="dark" language="javascript" wrapped="no"] <-- Start of Littledata - Fix Google Analytics Script --!> {% include 'LittledataLayer' %} <-- End of Littledata - Fix Google Analytics Script --!> [/dm_code_snippet] 3. Make sure you paste the snippet in every one of your store’s layouts, just above the </head> tag. In the example below, we’ll paste the snippet in row 75. 4. After you paste the code, click Save and repeat the steps above for each layout. [note] You will need to make this change for each layout when you are installing our app, but also when you create another layout for a new campaign. Anytime you create a new layout, just follow the steps above to add the code snippet. [/note] You're all done!

2019-07-25

What you can track with Littledata's Shopify app for Segment users

Below is a table of events that Littledata's Segment connection sends from Shopify to Segment. These events will show up as tables in your warehouse, and as regular events in your other Destinations. Events In addition to the events tracked as standard, the following hits can be tracked based on page path: Event Properties Below are tables outlining the properties included in the events listed above. How does it work? Littledata’s script uses server-side tracking to capture essential events in the customer journey, including browsing behavior, checkout steps, sales data and customer data. The data is tracked in your Shopify store, then sent to Segment. Adding Shopify to your Segment sources makes it easy to include Shopify data in single customer views and push your Shopify dataset to Segment destinations. Sign up for a free trial today.

2019-07-25

Tracking Shopify products by SKU and ID

For every product you sell, Shopify creates a unique ID which you can see in the URL of your store admin. It's a long number like 8672415878. You might not recognise the number, but it's how Shopify tracks your products from stock room to delivery. You can also optionally add a product SKU in your own format for each variant of that product. To make Littledata's tracking consistent across stores that don't use SKUs or variants, we send that product ID to Google Analytics (GA) for all stages of the shopping journey. This is the number you'll see in product performance reports when you set 'Product SKU' as the primary dimension for the table. Can I see my actual SKUs in Google Analytics? Yes, we send the SKU to Google Analytics in another field - 'product variant'. To see that you'll need to add a secondary dimension to the table. 1. Go to the secondary dimension drop down above the table 2. Select 'Product variant' from the list, under ecommerce section You can also access this field 'product variant' in any custom report. What about the other tabs for product performance report? These are all unaffected. You can still track products by name, category and brand if you need to. And uniquely, Littledata makes this category information available at the checkout and purchase steps as well.

2019-07-25

Get the Littledata analytics app

Start your free 14-day trial

Learn More

Insights from analytics experts

Subscribe to the Littledata blog for the latest posts and updates

No Thanks
We respect your privacy. Your information is safe and will never be shared.
Don't miss out. Subscribe today.
×
×