LogoLogo
  • Getting Started
    • What is Growify?
    • Getting Started: Your Guided Onboarding Tutorial
  • Growify Academy
    • What is Pixel Connection?
    • Attribution Model
      • First Touch
      • Last Touch
      • Last Non Direct
      • Linear
  • Dashboards
    • Overview
    • Attribution
  • Customers
    • Journey
    • Profiles
  • Creatives
    • Images
    • Videos
    • Copies
  • Onboarding
    • Welcome to Growify
    • 1. Create Workspace
    • 2. Install Pixel
      • Ecommerce
        • Shopify Integration
        • Shopify Legacy
        • WooCommerce
        • Google Tag Manager
        • Other Ecommerce Platforms
      • Lead Generation
        • Google Tag Manager
        • WordPress
        • Go High Level
        • Other
    • 3. Connect Ad Channels
    • 4. Add UTMs
      • Tracking for Meta Ads
      • Tracking for Google Ads
      • Tracking for Klaviyo
      • Tracking for TikTok Ads
      • Tracking for Pinterest Ads
      • Tracking for Microsoft Ads
      • Tracking for LinkedIn Ads
      • Tracking for Reddit Ads
      • Tracking for Snapchat Ads
      • Tracking for Applovin
      • Tracking for PostScript
      • Tracking for Attentive
      • Tracking for X Ads
      • Tracking for Adroll
      • Tracking for Taboola
      • Tracking for Outbrain
      • Tracking for ShareASale
Powered by GitBook
On this page
  • 1. Open "Code Editor"
  • 2. Start Tracking View Events
  • 3. Start Tracking Purchase Events
Export as PDF
  1. Onboarding
  2. 2. Install Pixel
  3. Ecommerce

Shopify Legacy

PreviousShopify IntegrationNextWooCommerce

Last updated 6 days ago

Growify's Shopify integration allows you to track customer events and gain deeper insights into your store's performance. Follow these steps to create and set up a custom pixel for tracking.


1. Open "Code Editor"

Note: This integration method can only be used if you are still using the Legacy Checkout page and have not yet migrated to .

Recommended to complete the migration of your system by August 28, 2025. The migration guide can be found at the following link: If you are already using Shopify Extensibility, please use .

  1. Go to Online Store → Themes → Edit code


2. Start Tracking View Events

  1. Copy and add the following Growify Pixel script to your theme.liquid file to start tracking view events.

<script type="application/javascript">
     ((e,p,t,s,n,r)=>e.grp||((s=e.grp=function(){s.process?s.process.apply(s,arguments):s.queue.push(arguments)}).queue=[],s.t=+new Date,(n=p.createElement(t)).async=1,n.src="https://storage.googleapis.com/grpixel/openpixel.min.js",(r=p.getElementsByTagName(t)[0]).parentNode.insertBefore(n,r)))(window,document,"script"),grp("init","2812");
</script>

3. Start Tracking Purchase Events

  1. Copy and add the following script to your Checkout page to start tracking purchase events.

<script type="application/javascript">
    {% if first_time_accessed %}
        ((e,p,t,s,n,r)=>e.grp||((s=e.grp=function(){s.process?s.process.apply(s,arguments):s.queue.push(arguments)}).queue=[],s.t=+new Date,(n=p.createElement(t)).async=1,n.src="https://storage.googleapis.com/grpixel/openpixel.min.js",(r=p.getElementsByTagName(t)[0]).parentNode.insertBefore(n,r)))(window,document,"script"),grp("init","2812");
        grp('event', 'purchase', {
                orderId: '{{ order.order_number }}',
                userId: '{{ customer.id }}',
                userEmail: '{{ customer.email }}',
                userFirstName: '{{ customer.first_name }}',
                userLastName: '{{ customer.last_name }}',
                tax: '{{ tax_price | times: 0.01 }}',
                shipping: '{{ shipping_price | times: 0.01 }}',
                products: [
                    {% for line_item in line_items %}{
                    purchaseValue: '{{ line_item.quantity | times: line_item.original_price }}',
                    productId: '{{ line_item.product_id }}',
                    productName: '{{ line_item.title }}',
                    productQuantity: '{{ line_item.quantity }}',
                    productBrand: '{{ line_item.vendor }}',
                    productPrice: '{{ line_item.original_price | times: 0.01 }}',
                    }, {% endfor %}
                ]
        })
     {% endif %}
</script>
  1. Go to Settings → Checkout and accounts → Scroll to Additional Scripts

  1. Insert a script and save.

Shopify Extensibility
Checkout Extensibility Migration
this guide