Technical Overview

How ScaleUp implements Google Ads conversion tracking for Shopify stores.

How It Works

ScaleUp uses Shopify's Web Pixel API to track customer events directly from your store. When a customer completes an action (like making a purchase), we send that conversion data to Google Ads with Enhanced Conversions enabled.

Data Flow

Customer ActionShopify Web PixelScaleUpGoogle Ads

Shopify Web Pixel API

We use Shopify's official Web Pixel API, which provides reliable event tracking across all pages including checkout. This is the same API Shopify recommends for all tracking integrations.

Events We Track

  • page_viewed - When a customer views any page
  • product_viewed - When a customer views a product
  • collection_viewed - When a customer views a collection
  • cart_viewed - When a customer views their cart
  • checkout_started - When checkout begins
  • checkout_completed - When a purchase is made
  • payment_info_submitted - When payment details are entered

Enhanced Conversions

Enhanced Conversions improve tracking accuracy by sending hashed customer data (email, phone, address) alongside conversion events. This helps Google match conversions even when cookies are blocked.

What we hash and send:

  • • Email address (SHA-256 hashed)
  • • Phone number (SHA-256 hashed)
  • • Name and address (SHA-256 hashed)

All data is hashed before leaving your store. Google never receives the original values.

Implementation

ScaleUp handles all the technical implementation. Here's what happens behind the scenes when a conversion occurs:

// When a purchase is completed
analytics.subscribe('checkout_completed', (event) => {
  const { checkout } = event.data;

  // Send to Google Ads with Enhanced Conversions
  gtag('event', 'conversion', {
    send_to: 'AW-XXXXXXXXX/XXXXXXXXXXX',
    value: checkout.totalPrice.amount,
    currency: checkout.currencyCode,
    transaction_id: checkout.order.id,
    // Enhanced Conversions data (hashed)
    user_data: {
      email: hash(checkout.email),
      phone_number: hash(checkout.phone),
      address: {
        first_name: hash(checkout.billingAddress.firstName),
        last_name: hash(checkout.billingAddress.lastName),
        // ... additional fields
      }
    }
  });
});

Security & Privacy

  • GDPR & CCPA Compliant

    Respects user consent preferences and privacy regulations.

  • Consent Mode Support

    Integrates with Google Consent Mode for privacy-first tracking.

  • Data Encryption

    All customer data is hashed using SHA-256 before transmission.

  • No Data Storage

    We don't store customer PII. Data flows directly to Google Ads.

Requirements

  • • Shopify store (any plan)
  • • Google Ads account with conversion tracking enabled
  • • Conversion action ID and label from Google Ads

Ready to get started?

Set up accurate tracking in under 5 minutes.

Install Free on Shopify