Connect Smartrr subscriptions with Google Analytics

If you want to do more with your subscriptions data, you're in luck. Littledata now integrates fully with Smartrr to capture marketing data, shopping behavior, subscriptions and LTV. You can send the data to Segment, Google Analytics, or any connected marketing destination or reporting tool. Yep, it's that easy. Or should we say...smartrr! What is Smartrr? Smartrr is a popular new subscription engine for Shopify stores. Their no-code solution allows merchants to offer curated subscriptions and memberships. Personally, I love their membership portal which encourages both retention and upsells. There are easy options for gifting, add-ons, and subscription changes, and subscribers can manage all of this from email or SMS (so much easier!), not just the web app. Our shared customers have all noted the membership portal as well, so it's safe to say it's a pretty popular feature. If you want to see Smartrr in action, brands already using both Littledata and Smartrr include Aura Bora and Som Sleep. What does the integration do? Smartrr's own analytics dashboard already has useful information about sales, conversions, and AOV (average order value). So why do you need an ecommerce data platform like Littledata? Littledata connects Smartrr data with Shopify data, marketing data, and behavior data so you have one source of truth. This helps with everything from meaningful analysis, to impactful action. It can be hard enough to make Shopify match Google Analytics, and once you add subscriptions to the mix things become even more complicated. In fact, before they started using Littledata, over 80% of the subscription ecommerce stores we audited this year couldn't differentiate between one-off purchases and recurring billing in Google Analytics! We built Littledata from the ground up with server-side tracking to enable accurate data at every customer touch point, including repeat purchases and refunds. Say goodbye to siloed data and hello to a unified, accurate data stream. Subscription tracking Littledata's Smartrr integration captures one-off purchases, first-time subscriptions, and recurring orders — and links those back with marketing channels and browsing behavior. It's a plug-and-play solution: Make Shopify revenue and Smartrr revenue match what you see in Google Analytics Say goodbye to "Direct" traffic in GA, and know where visitors are coming from See accurate conversion rates for first-time subscriptions vs. other kinds of orders Send Smartrr subscriptions data to Facebook Ads via the Facebook Conversions API (beta) Learn more about how the connection works to see the full scope of its benefits. We support headless setups, multi-currency sales, and anything else you might be doing! [tip]Not sure where to start? Book a demo and we'll audit your analytics setup and answer all your data questions[/tip] Customer lifetime value (LTV) Smartrr helps you delight your subscribers and turn them into loyal brand advocates. Littledata is here to help you make data-driven decisions to keep those subscribers delighted over the years — and to find more high-value customers where they already like to spend time. Littledata sends complete LTV data as a custom dimension in Google Analytics or a property in Segment. We capture both purchase count and total customer lifetime value so you can analyze any way you see fit. There are many uses for this data, depending on your business model and growth plans: Understanding your average customer lifetime value Improving return on ad spend (ROAS) by analyzing LTV by marketing channel Analyzing LTV by subscription product or product group Building LTV cohorts for advertising and remarketing (email, social, PPC) Our research has found that the most important subscription ecommerce metrics are AOV, LTV, and churn. But what good are those metrics if you can't connect them with the original marketing channel or customer touch point? Learn more in our ultimate guide to subscription analytics.

by Ari
2021-12-02

Track Ordergroove subscriptions in Google Analytics [ebook]

Ordergroove is a popular tool for ecommerce stores, especially those interested in scaling their subscription services faster and smarter. But fast-paced growth is nearly impossible when you're making strategic decisions based on bad data.  Ordergroove sets itself apart from other subscription solutions by focusing on growing your subscription service, which has made them a favorite among larger direct-to-consumer (DTC) brands, like Yankee Candle and Love Wellness.  Despite Ordergroove’s tools designed to boost your store’s average order value (AOV) and customer retention, Shopify’s native Google Analytics (GA) integration stands in the way of many merchants' goals to achieve data-driven growth. While Shopify Analytics satisfies the need for basic analytics metrics, Shopify’s faulty integration with GA prevents merchants from diving into a deeper analysis of their data.  On top of that, for every 100 orders in Shopify, 12 go missing in GA. This has major implications for DTC brands, who find themselves making decisions based on incomplete and incorrect data. Unfortunately, the results are even worse for stores selling by subscription, who face aggregated orders in addition to even larger data discrepancies.  Subscription analytics can be intimidating, which is why we wrote the complete guide to tracking Ordergroove subscriptions in Google Analytics.  Free ebook on tracking Ordergroove subscriptions in Google Analytics Fine-tune your tracking setup so subscription analytics pose no threat. In this ebook, we dive into our Ordergroove + Google Analytics connection and how it can help your store achieve data-driven growth in no time.  The Ordergroove Smart Connection Guide covers how to:  Track one-off, first-time and recurring ordersCalculate customer lifetime value (LTV) with our custom dimensionsTie subscription orders back to the original sourceGet complete marketing attribution insightsMake data-driven decisions for your store Download the free ebook>>>

2021-11-11

Segment Q2 Updates

Shopify to Segment is one of our most popular connections, so we're always making improvements that give users the capabilities they need to optimize revenue. This update adds key tracking tools that give stores greater insight into customer checkout behavior, Facebook marketing attribution, recurring billing, and more. Supporting subscriptions in the checkout Littledata’s Shopify source is now fully compatible with most common subscription billing apps using Shopify’s checkout. Our app captures all recurring orders — linking them back to the user who first purchased if possible — and tags the events to differentiate between one-time purchases, first-time subscription orders and recurring orders. You can now use Littledata to send event data from subscription apps in the Shopify checkout, including: ReChargeBoldOrdergrooveSmartrr If you are using ReCharge you can take advantage of the subscription lifecycle event tracking as well. Learn more about the subscription lifecycle events we push to Segment for churn analysis, including Subscription Created, Subscription Updated, Subscription Cancelled and Payment Method Updated. Facebook Conversions API destination Segment’s cloud-mode Facebook destination is now out of beta, and becoming increasingly popular with marketers looking to more accurately target their Facebook Ads in the face of increasing browser limitations. Next month Littledata will be adding all the extra event parameters needed for Facebook CAPI, so please contact us if you’d like to join the private beta. Opting out of client-side events We understand some of our customers want to instrument their own event tracking (maybe using Littledata’s Google Tag Manager data layer), but retain the server-side events from Shopify. In this case, Littledata’s tracking script is still needed on the Shopify storefront to initialise Segment AnalyticsJS library and capture the anonymous ID for server-side events. But, you can add disableClientSideEvents: true or disablePageviews: true in a manual settings update. GDPR cookie compliance If your store is using a Shopify-compatible cookie banner (or using a consent management platform like OneTrust or TrustArc), the Littledata’s tracker can respect your users’ choices by switching just one setting. For OneTrust we also push the user consent choices as a user trait, so you can control which personas are shared with other platforms. Simpler accepts_marketing flag User traits for all events where the user is known now contain a simple true/false accepts_marketing field — useful in CRM destinations for email marketing. This is in addition to the marketing_opt_in_level field, which can give more detail on whether this was a single or double opt-in for marketing. How to get Littledata's Shopify source for Segment If you aren't yet a Littledata user, you can start a free trial directly from the Shopify app store. If you already have a Littledata account, you can activate the Shopify-to-Segment connection directly in the Littledata app. On Shopify Plus? Learn more about Littledata Plus.

2021-07-23

Focusing on data-driven growth? There's a plan for that

We've spent a lot of time on the blog lately focusing on Littledata's Plus plans made for larger DTC brands, including headless setups. But what about those merchants who are not quite there yet, but poised for rapid growth? You guessed it, there's a plan for that. Littledata's new Grow plan is now available for Shopify stores sending data to Segment or Google Analytics. It comes with some solid perks, including priority support and the ability to track up to three country stores for one low price. [subscribe] How do you know if it's the right plan for your Shopify brand? As a modern data platform focused solely on ecommerce, Littledata tracks over 5 million orders per month for ecommerce brands around the world. So you might say we've seen it all. But there's no one-size-fits-all solution. There are a few different things to consider before choosing a modern data platform, and it's important to pick the right plan on that platform to make sure you have the support you need without any hidden fees or surcharges. Grow isn't designed for account management or analytics training. Those are only available on Littledata Plus. But it is designed to unlock the full potential of our data pipeline, at a lower cost. The ideal Grow plan user has a solid customer base, a proven product mix, and is ready for the next phase of growth. You are probably a good fit for Grow if: You have identified accurate data as a KPI or OKR (ie. have a company initiative to take data seriously, whether that came from identifying a Shopify/GA mismatch or a more general drive to make data-driven decisions this year) You have an in-house analyst or ecommerce manager who can make use of the data we send You are doing 7-10k orders per month (the Grow plan currently supports anywhere from 6-12k monthly orders, and in our experience 10k is the "sweet spot", an inflection point for DTC success) Are prepared (or preparing...) for rapid growth! Maybe you're planning a global expansion or getting ready to launch a long-awaited subscription product. Maybe you're just doubling down on marketing spend, but aren't yet sure how to track and understand your customer lifetime value. Grow plans are here to help you get accurate data so you can make better decisions, eliminate wasted spend, and double down on the ecommerce marketing that's working best. (How do you know what's working best? That's why we built Littledata). Learn more about Littledata pricing and find the plan that's right for you.

by Ari
2021-07-09

How Littledata handles User ID for Shopify and Segment

Is Segment a good customer data platform (CDP) for ecommerce? We hear that question a lot at Littledata, and are always happy to chat about the modern data stack. But the reality is that you should be asking more detailed questions: will your CDP be able to handle both anonymous browsers ("visitors") and customers ("users")?  Will it enable both analysis and marketing automation? Will you need an entirely different stack to support your data warehouse? Our DTC ecommerce customers have found Segment to be a powerful solution because it offers a unified approach to customer data. As long as it's set up correctly, that is. Four options for user identity There are many different approaches to user identity, but the most important thing is to be consistent. Make sure the identifier you choose works with your current data destinations and those you know you plan to implement in the future. In Segment, every identify call must have a User ID or an Anonymous ID. Littledata's Shopify source for Segment is an easy way to ensure accurate ecommerce data, rather than building and maintaining the schema yourself to match Segment's detailed ecommerce spec. Our scope includes sales, marketing, and customer data, captured from a combination of client-side and server-side tracking. We agree with Segment's best practices in identifying users, including the use of static IDs whenever possible. To support a broader range of use cases, our app lets you choose which of the following fields you want to send as the userId for known customers: Shopify customer ID (default) – Recommended if you have a simple Shopify setup with minimal integrations. Hashed email – The MD5 email hash is useful if you have other marketing platforms sending traffic where you know the email of the visitor (e.g. email marketing like Bronto or Marketo), but not their Shopify customer ID. Email – Recommended when other platforms use the email and can’t hash it, and you are comfortable with the privacy implications. None (no identifier) – Recommended only if user identity is already handled by your Segment implementation and you only need the extra events powered by Littledata’s Shopify source. Learn more about what you can track with our Segment connection. Since we started offering identifier options beyond Shopify customer ID earlier this quarter, it's been interesting to see the uptake. Perhaps most surprising is that it's not just larger stores on Littledata Plus who are using alternative unique IDs. There are already merchants on our Standard and Pro plans using the option as well. [note]For merchants using Segment Personas, Littledata also sends shopify_customer_id as an External ID for advanced matching[/note] What is your approach to user identity? Are you planning for the future? Let us know in the comments or on Twitter.

by Ari
2021-06-10

Top 7 rule-based audiences for ecommerce marketing

Rule-based audiences are customer groups or segments derived by customer activities. It sounds simple, but rule-based audiences can be a game changer -- and too many DTC brands miss out on the basics of this powerful type of customer segmentation. In ecommerce, rule-based audiences can be made using transactional activities (checkout date, coupon applied, etc.), marketing actions (email opened, promotion entered, etc.) or even product details (eg. type of product, color or type purchased). Ecommerce companies use the intersection of these events to group customers for the purpose of reporting, remarketing, targeting, and other customer enrichment activities. But one size doesn't fit all. Let's take a look at the top rule-based audiences and how they are used in ecommerce marketing. Benefits of rules based segmentation There are a number of benefits to deploying rules based audience recipes in your business. Whether you are a small-to-medium sized business, fast-growing startup, or have been around the block for some time like Littledata customers Dr Squatch and Rothy's, audience recipes are the building blocks for broader, innovative ways to segment your customers. Rule-based audiences can help you increase customer retention while improving product visibility in the crowded ecommerce marketplace Powerful tools like the Adobe Experience Cloud have highlighted rules-based personalization and audience building as a core part of their feature set. As they put it, "With rules-based personalization, you’re in the optimization driver’s seat." We agree, but with traditional enterprise tools that type of personalization can get really expensive. The good news is that brands using a modern data stack don't necessarily need to shell out for Adobe. Rule-based audiences can now be used by any ecommerce store, no matter how big or small. Here are some of the key benefits: Increase personalization through tailor-made product marketingImprove existing products and/or servicesIncrease upgrades and product upsellingEnhance profitability through the targeting of high-value customersIncrease retention with automation and buyer stage recognitionFurther marketing reach of customer types for remarketing, targeting and look-a-like audiencesEnhanced visibility and reporting of customer cohorts for tracking new acquisition and customer lifetime value Rule-based segmentation results in a hyper-personalized approach to directly influencing your customers’ experience. The ability to be attentive during each stage of the customer’s lifecycle allows for a better understanding of what drives good and bad experiences.  Recipes for the top 7 rule-based audiences There are tons of different audiences you can build, but 7 always come up for successful DTC brands. In our case, we call them recipes, as they are the right number of ingredients to profile your customer base. X and Y in these examples will depend on your particular business: what you sell, how you sell it, and how often it makes sense for an ideal customer to come back and make a purchase or referral. Audience NameRecipe⭐️ First Time PurchasersCustomers who have made their first purchase in the last [X] number of days⭐️ Repeat PurchasersCustomers who have made at least 2+ purchases in the last [X] number of days⭐️ High SpendersCustomers who have made a purchase with order value greater than [$Y] in the last [X] number of daysAbandoned CheckoutsSite visitors that have added items to their shopping cart, but have not purchased in the last [X] number of daysBargain HuntersSegment of customers that have applied a promotional code on more than 1 purchase in the last [X] number of daysRecent BuyersCustomers who have made a purchase in the last [X] number of days⭐️ Inactive CustomersCustomers who have not made a purchase in the last [X] number of months*Additional segments include Loyal, Cancelled Customers, Location-based, Personalization (age, gender, preferences, income) Three audiences you should build today, with downstream activation examples All of these types of segmentation are potentially useful, even transformational, to your business. So where should you start? Today I will focus on the four most common and effective audience recipes that can generate immediate value to your store’s ability to identify, engage and enrich your customers’ experience. As highlighted above, those are: First-time purchasersInactive customersHigh spendersRepeat buyers To make things even clearer, we'll even combine High spenders and Repeat buyers into a high-LTV segment: your best possible customers, big spenders who are also loyal to your brand. 1. First-time purchasers First Time Purchasers are a good starting point for audience segments. The ability to identify these customers early will pay big dividends into maturing their relationship with your brand and products. Also, first-time customers are always the most likely to engage with your content (for example, opening welcome emails or sharing on social media), which ends up increasing the return on your investment and the potential for longer life cycles.  How to Create a Welcome Email Template via Omnisend How to identify? Utilizing Littledata's order event tracking from your Shopify store, you can identify Order Completed in the last [X] number of days with a Customer Created event in the same time frame.  How to activate? A great opportunity is through personalized welcome emails. By connecting to your ESP (eg. Klaviyo, MailChimp, Iterable) and building a customized message to all first time customers can be the first step to long-standing customer relationships.  2. Inactive customers Inactive Customers are a great win-back opportunity to gain customers back that have been inactive (or not purchasing) in a particular period of time. When a customer has been deemed inactive it’s too late to start formulating a strategy on returning them to your active customer pool. Instead building a strategy to identify, entice, and track appropriately is a must in any customer-focused business.  Drive Repeat Purchases To Your Shopify Store With Automated Emails via Privy How to identify? Utilizing Littledata's order event tracking from your Shopify store, you can identify customers who have (at one-point) had an Order Completed event and with no purchase activities in the last [X] number of days. How to activate? Winback or revive email campaigns catered towards time-sensitive discounts, hyper-personalization (reference specific product categories a customer engaged or purchased in the past), summaries of product improvements, and membership benefits are effective strategies. Utilizing your current ESP, SMS, or retargeting platform alongside these customer groups can push once-active customers to return. 3. Repeat buyers & high spenders Repeat Buyers & High Spenders are the backbone of your business. As the tenured marketer would attest: “It’s easier to keep a happy customer than to find a new one”. Building customer loyalty requires a business to deliver on what is promised and to do so with their highest-value customers in the right channels and messaging.  How to identify? Utilizing Littledata's order event tracking from your Shopify store, you can identify customers that have completed Order Completed events and total purchase count, purchase total, and revenue collected, during a [x] period of time and [x] number of times. Google Analytics users can also export data based on specific custom dimensions for LTV: Littledata – Lifetime Revenue Littledata – Purchase Count Littledata – Shopify Customer ID How to activate? There are several options here, including email and SMS (texting). SMS is a great tool to continuously engage with your customers. Invitations for users to sign-up for a loyalty program to provide exclusive offers or to release product updates can come simply through a users’ most desirable medium - their phone. With SMS boasting a +95% open rate, it's the most effective way to have a two-way connection with your customer and showcase value-added services.  For Littledata's Shopify Plus customers, the most popular platforms for this type of engagement are Yotpo and Loyalty Lion. Technology for activating rules based segmentation Leveraging modern technology furthers the ability to do so repeatedly and with best-in-class platforms. Here are two examples of leaders in that space: Segment (sometimes called Segment.com) and Hightouch. Hightouch Hightouch syncs the data from your data warehouse to the tools your business relies on. It’s called operational analytics and it allows customers to leverage their existing technology (ie. your data warehouse) to pipe customer data to downstream platforms for activation, engagement, and other business activities. Since Littledata's no-code event collection is captured downstream in your Google Analytics platform, customers can leverage that same data when it is stored in their data warehouse. Modeled inside the platform with out-of-box SQL logic, segments can be then pushed automatically (and scheduled) to deliver on the intended goals.  In fact, that's one of Hightouch's taglines: No scripts. No APIs. Just SQL. Segment Segment is a customer data platform (CDP) that integrates cohesively with Littledata's no-code event collection. Segment allows customers to integrate data from a catalog of sources (including the Shopify source, maintained by Littledata) and activate to destinations for customer engagement, activation and reporting. Inside the platform there are features that allow customers to create personas or audience segments, deploy functions, and build out layers of automation to seamlessly leverage their platforms’ source data. [tip]See what's new in Littledata's Shopify source for Segment, including more consistent product properties and enhanced Personas matching [/tip] Littledata Littledata is designed for the modern stack, whether you're using just a couple of tools such as Google Analytics and Data Studio or a whole modern data pipeline (eg. Segment, Fivetran and Redshift). If you're using a Shopify or BigCommerce checkout, you can use Littledata's analytics connectors to capture complete sales and marketing data and send it downstream. It's the easiest way to ingest the data you need to create enriched audience personas, and the only way to get 100% accurate ecommerce data automatically with extensive, ongoing development efforts. Not sure which tools you need? Book a demo with our data experts to discuss your analytics plan.

2021-04-29

Property and destination updates in our Shopify source for Segment

Over the last 6 months, we’ve continued to enhance Littledata’s Shopify source for Segment to work with any modern data stack. We have focused on providing a more comprehensive range of events and properties to sync with any destination in Segment, including email marketing tools, data warehouses, and Segment Personas. Our Segment connection uses a combination of client-side (browser) and server-side tracking to ensure 100% of your Shopify store data is sent to Segment. Littledata automatically integrates with Shopify and Shopify Plus sites to enable complete ecommerce analytics, including sales, marketing, customer, and product performance data. Recent updates include better matching with Personas, more consistent product properties, and more. Here are some highlights. Tracking plan for Segment Protocols We've written a full tracking plan and event schema, which is ready to upload into Protocols to prepare for robust data consistency in your data warehouse. Better matching with Segment Personas You can now choose which userId to use for Segment events from a standard list of common identifiers: Shopify customer ID - This is the default for new installs. Recommended if you have a simple Shopify setup with minimal integrations. Hashed email - The MD5 email hash is useful if you have other marketing platforms sending traffic where you know the email of the visitor (e.g. email marketing like Bronto or Marketo), but not their Shopify customer ID. Email - The email identifier is recommended when other platforms use the email and can’t hash it, and you are comfortable with the privacy implications. None (no identifier) - Choose “none” if user identity is already handled by your Segment implementation and you only need the extra events powered by Littledata's Shopify source. All user traits below are now being sent in the context.traits, and are synced with your CRM destinations every time the customer record in Shopify is updated. Trait Description Type createdAt The date customer record was created Date customerLifetimeValue The total spend of customer on the Shopify store Double default_address.street The customer’s default street address String default_address.city The customer’s city address String default_address.postalCode The customer’s ZIP / post code String default_address.state The customer’s state address String default_adress.country The customer’s country String description The customer notes String email The customer’s email address String firstName The customer’s first name String lastName The customer’s last name String marketingOptIn The marketing_opt_in field from Shopify customer String phone The customer’s phone number String purchaseCount The number of orders by this customer Integer state Whether the customer account is enabled (user has opted in) or disabled String tags The custom tags applied to the customer String userId Chosen user identifier, defaulting to Shopify Customer ID Double verified_email Whether the customer has verified their email Boolean Import historic Shopify orders into Segment For Enterprise Plus customers we can now import orders and refunds from before the date Littledata was connected to Segment. This allows you to build a complete customer record in destinations that support historic events, such as a data warehouse. If you are already a Littledata Plus customer, please contact your account manager to discuss setting up an order import. If you haven't yet tried Littledata or are still investigating solutions for you data stack, book a demo today with one of our data experts. [subscribe] Consistent product properties across all events We understand you need a consistent set of product properties with every ecommerce event to make analysis easier. For example, the product image URL is available within a Product Added event to make it easy to set up dynamic product retargeting campaigns. Previously, we only got the following properties from Shopify’s webhooks: shopify_product_idshopify_variant_idname (title)brand (vendor)sku And now we add these extra product properties for all events: variant (variants.title)image_url (from images.[0].src)cart_id (only with Product Added / Product Removed)urlcompare_at_price (variants.compare_at_price) Extra revenue properties We’ve added more reporting flexibility with how we send revenue data to Segment. Specifically, on Order Completed and all Checkout events, you will now see a subtotal = (product revenue including discounts). For the Order Completed event only, your store can opt in to an additional revenue property (product revenue excluding discounts, shipping and tax) via the Littledata application. Revenue is a reserved property in many Segment destinations. Opting in will override the total property sent to Google Analytics. Supporting the Iterable email destination Iterable is a cross-channel marketing platform that powers unified customer experiences and empowers you to create, optimize and measure every interaction across the entire customer journey. With this update, when an Iterable campaign leads to an Order Completed event the event properties will contain campaignId and templateId. To get these extra properties, you will need to edit the LittledataLayer setup to track the iterableEmailCampaignId and iterableTemplateId cookies. In addition we send an email field with all events linked to a user, so Iterable and other email marketing destinations can use the events. Supporting the Google Analytics destination in Cloud Mode In Cloud Mode, Segment will send event data to Segment’s cloud servers, and from there, we will translate and route that data to Google Analytics. This reduces the amount of third-party code on your site and you will be able to replay historical data in Google Analytics. We are happy to announce that you can now switch Google Analytics connection mode to Cloud Mode to relay events to GA from Segment's servers. This will increase page performance and provide greater control of the schema. More Subscription Event Properties On Subscription Created, Subscription Updated and Subscription Cancelled events we have added: statusproduct_id = shopify_product_idname = product_titlepricequantityskushopify_variant_idvariant = variant_titleorder_interval_frequencyorder_interval_unit On the Subscription Cancelled event only we have: cancellation_reasoncancellation_reason_comments And on the Charge Failed event we added:  error_type Change of product ID used in Segment events Previously, we used the product SKU for client-side events to be consistent with the GA destination. From this month, we have changed this to send the Shopify product ID as the product_id field in Segment for all events. Ability to send anonymized IP instead of full IP to Segment Segment’s AnalyticsJS library sends the whole IP address by default in Track and Page events. This is contrary to our GDPR recommendations, and we now set context.ip with the last octet (3 digits) anonymized. This still allows geolocation of the events, but ensures IP addresses are not accidentally captured in end locations.

2021-04-23

Optimizing Littledata's Shopify tracking script for speed and accuracy

At Littledata we know that page load speeds are essential for ecommerce success, and we have made some major improvements to our Shopify apps this month to improve both page speed and data accuracy. Having benchmarked over 20,000 ecommerce sites, and worked closely with larger DTC brands on Littledata Plus plans, we are well aware that technical factors such as page load speed are major drivers of ecommerce conversion rates. We have always had a minimal, super-fast script and GTM data layer, but v9 brings this to a whole new level. [subscribe] What’s new in LittledataLayer v9? The need for speed is driving some of our customers to headless setups, but for many stores there are lots of optimizations to be had from their existing Shopify theme and apps. Littledata’s main advance in this area is our server-side tracking, which means that our app has zero impact on your add to cart, checkout or payment steps. So the changes in v9 are focused on the landing pages, product listing pages and product details pages. The latest update improves both page speed and the accuracy of the data we track Some of the major improvements in LittledataLayer v9 are: Tracking all product list impressions, on whatever pages they are displayedThe correct product variant is tracked, if the listing is for a specific variantProducts loaded after the initial page load (i.e. "lazy-loaded" products) will also be trackedListing pages of more than 50 products (e.g. infinite scroll pages) are tracked In addition we’ve improved how some types of checkout are tracked, to ensure the marketing attribution of the order is correct, for: Buy Now buttons leading to an accelerated checkout (e.g. Paypal, Google Pay)Headless stores leading to a Shopify checkoutCustom checkouts which do not reuse the same Shopify cart token See our help center for more details about how tracking product list views works as the user scrolls down the page. All these changes will be automatically added for current customers, unless you opt out and choose manual updates, in which case you will need to manually upgrade. Please contact your account manager if you are unsure which option to take. [note]Unless you opt for manual updates, we will now automatically update the snippet Littledata adds to your Shopify store[/note] How does v9 of the Littledata tracking script improve page load speed? To send accurate product list views, product list clicks and product detail views, our app builds a data layer containing all the products on the page. This is true for both our Segment app and our Google Analytics app in the Shopify app store. Building this data layer on Shopify’s servers took time before the page was ever seen by a user; in this improved version we get the product data after the user has interacted with the page. This results in almost no impact to page load speeds from adding Littledata’s app, as measured by PageSpeed Insights - improving the score from 62% to 70%. And yes, a score of 73 out of 100 is not very impressive...but for our test store we haven’t done all the good things you should be doing to optimize your store, like compression and lazy-loading of images. So whatever your page speed was before the improvements, it should be up to 10 percentage points higher now. Speed test So how did we make the latest snippet faster? To start, it’s no longer requiring the same liquid code. We can see the difference using Shopify’s speed profiler extension for Chrome. Before the changes Shopify is spending over 80ms (out of 155ms total) processing the LittledataLayer snippet - and this test store does not have a particularly complex list of products. After changing to v9, we see this has dropped to less than 1ms, because now all the product data is fetched asynchronously from Shopify’s APIs as the user interacts with the page. The good news is that this comes at no cost to data accuracy. Our script already tracked the product impressions after the page load - now we wait to get the product data until it is really needed. As a key part of the modern data stack for DTC brands, we are always investing in efficiency and accuracy at Littledata. Schedule a demo to learn more, and let us know if you have suggestions for further technical improvements! [subscribe]

2021-04-19

Try the top-rated Google Analytics app for Shopify stores

Get a 30-day free trial of Littledata for Google Analytics or Segment