Technical Overview
How ScaleUp implements Google Ads conversion tracking for Shopify stores using the Web Pixel API and Enhanced Conversions.
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 Action
Purchase, view, etc.
Shopify Web Pixel
Event capture
ScaleUp
Process & hash
Google Ads
Conversion recorded
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_viewedWhen a customer views any pageproduct_viewedWhen a customer views a productcollection_viewedWhen a customer views a collectioncart_viewedWhen a customer views their cartcheckout_startedWhen checkout beginscheckout_completedWhen a purchase is madepayment_info_submittedWhen payment details are enteredEnhanced 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:
SHA-256 hashed
Phone
SHA-256 hashed
Name & 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 Shopify plan works: Basic, Shopify, Advanced, or Plus
Google Ads account
With conversion tracking enabled in your account settings
Conversion action credentials
Conversion ID and label from your Google Ads conversion action
Ready to get started?
Set up accurate tracking in under 5 minutes.
Install Free on Shopify