跳到内容

Set up Shopify

此内容尚未提供您的语言版本。

Integration overview

Anchor link to

Pushwoosh integrates seamlessly with Shopify, a leading e-commerce platform that enables businesses to create, manage, and scale online stores. This guide walks you through installing and configuring the Pushwoosh app in your Shopify store, setting up user identification, and using notifications and automation tools to engage customers across channels like push, email, SMS, and WhatsApp.

Integration type

Anchor link to
  • Destination: Shopify sends customer data to Pushwoosh, where it is used for targeting and messaging.

Prerequisites

Anchor link to
  • A Pushwoosh account
  • Access to your Shopify admin panel
  • Pushwoosh Device API Access Token and Application Code
  • A Shopify store with customers and order data available
  • Approval of the read_orders access scope for order/cart events, and write_pixels plus read_customer_events for checkout step tracking

Synchronized entities

Anchor link to
  • Customers: Used to assign and identify Pushwoosh User IDs via Shopify metafields
  • Customer segments: Used for group-based targeting and messaging
  • Events and triggers (e.g., orders placed, tags applied): Used in Shopify Flow to automate messaging across channels
  • Storefront: Used for capturing web push opt-ins through embedded scripts
  • Product feed: Your store’s storefront feed (products.json) connects automatically to the Pushwoosh Product Catalog when you connect the app, and disconnects automatically if you uninstall it.
  • Orders and carts: Server-to-server events from Shopify’s orders/paid, checkouts/create, and checkouts/update webhooks. See Shopify events and campaigns.
  • Storefront browsing behavior: Product views and add-to-cart actions, collected by the same theme embed used for web push opt-ins.
  • Checkout steps: Contact info entered and payment info submitted, collected via a Shopify Web Pixel.

Glossary (mapping entity names if they are different)

Anchor link to
Shopify
Pushwoosh
CustomerUser ID
orders/paid webhookEvent PW_OrderCreated — shared with other e-commerce integrations (e.g. Magento)
checkouts/create webhookEvent PW_AbandonedCart — same shared event, also used by the Products block’s Cart source
checkouts/update webhookEvent PW_AbandonedCartUpdate — fires as the shopper keeps editing the same checkout, overwriting the stored cart from PW_AbandonedCart
Product page viewEvent PW_ProductViewed
Add to cart (no page reload)Event PW_AddToCart
Web Pixel checkout_contact_info_submittedEvent PW_CheckoutContactInfo
Web Pixel payment_info_submittedEvent PW_PaymentInfoSubmitted

How the integration works

Anchor link to

Pushwoosh acts as a messaging destination for Shopify. Once integrated, Shopify sends customer and behavioral data to Pushwoosh, where it powers real-time notifications, customer segmentation, and personalized messaging across channels.

Key components of the integration

Anchor link to
  1. Customer identification via metafields Each Shopify customer is assigned a unique User ID, stored in a metafield (custom.pushwoosh_userid). This ID allows Pushwoosh to recognize and message users consistently across platforms.

  2. Event-driven automation via Shopify Flow Pushwoosh provides Flow actions that allow you to automate messaging (push, email, SMS, WhatsApp) based on Shopify events, such as:

    • New order placed
    • Tag applied to customer
    • Cart abandonment
  3. Segment-based targeting Customer segments from Shopify can be used to send group-specific notifications across channels, such as promotions for first-time buyers or reactivation campaigns for dormant users.

  4. Manual and real-time messaging From the Shopify customer or segment view, you can manually trigger notifications using the Pushwoosh Extensions:

    • Notification by Customer: For personal follow-ups or testing
    • Notification by Segment: For campaign-based messages

Web push notifications via storefront embed

Anchor link to

By enabling the Pushwoosh embed in your Shopify theme, you can prompt website visitors to opt in to browser-based push notifications—no mobile app required.

Data flow overview

Anchor link to
Shopify Customer & Event Data
Pushwoosh API (via App)
User ID → Segmentation → Triggered or Manual Notifications

This integration empowers you to deliver timely, relevant messages that improve user retention, boost conversions, and enhance the customer experience—automatically or on demand.

Part 1. Installation

Anchor link to

Log into Shopify

Anchor link to
  1. Go to Shopify Admin
  2. Select your store from the dashboard

Install the Pushwoosh app

Anchor link to
  1. Visit the Pushwoosh App Store page
  2. Click Install Install the Pushwoosh app
  3. Confirm installation in the Shopify dialog Confirm installation

Connect your Pushwoosh app

Anchor link to

After installation, you will be redirected to the Pushwoosh app inside Shopify.

  1. Click Connect.

Click Connect button

  1. Enter the Application Code and API Key, which you can find in the Pushwoosh Control Panel → Settings → API Access. The API Key here is your Device API Access Token.

Connect your Pushwoosh app

When connected, a success message will appear: “Pushwoosh app connected.”

Pushwoosh app connected

When Shopify asks for permissions (orders, pixels, customer events), approve them. Those scopes are required for Shopify events and campaigns tracking. If you connected the app earlier, see Already connected? You’ll be asked to re-approve access.

Subscribe to a plan

Anchor link to
  1. Click Upgrade Subscription
  2. A single usage-based plan will be shown.
  3. Confirm the billing.

Subscribe to a plan

Part 2. Setup: Customer User ID via metafields

Anchor link to

To deliver notifications to identified users across channels (push, email, SMS, WhatsApp), Pushwoosh uses a unique User ID per customer. Shopify stores this value inside Shopify’s Customer metafields.

  1. Go to Settings → Metafields and metaobjects → Customers

Add definition

  1. Click Add definition and use these values:
FieldValue
Namespace and keycustom.pushwoosh_userid
Namespacecustom
TypeSingle line text
ValidationNone
Customer Account AccessRead and Write
Storefront API AccessEnabled

Add definition

Set Customer accounts access and Storefront API access as in the table above.

Add definition

Part 3. Using Pushwoosh extensions

Anchor link to

Pushwoosh includes Shopify Extensions for segment targeting, automation (Flow), and customer-specific notifications.

Extension 1. Send notification by customer

Anchor link to

Manually send personalized messages or test notifications to a specific user.

  1. Open Customers → Select a customer
  2. Click More actions → Notification by customer
    Notification by customer
  3. Select the messaging platform (e.g., Email) and a content preset. Fill the form
  4. Click Send

Extension 2. Notification by segment

Anchor link to

Target groups of customers—abandoned carts, first-time buyers, high spenders.

  1. Go to Customers → Segments

  2. Choose a segment → Click Use Segment

Use Segment

  1. Select Notification by Segment Notification by Segment
  2. Select the desired communication channel and message preset. Click Send. Fill out the message form

Extension 3. Pushwoosh in Shopify Flow

Anchor link to

Automate messaging in customer journeys using triggers like orders, tags, or behavior.

  1. Create a new Flow in Shopify Flow
  2. Add action → Choose Pushwoosh send notification

Pushwoosh flow action

  1. Configure message and dynamic fields

Configure message and dynamic fields

For example:

  • Send a message after order placed

  • Remind user when cart is abandoned

  • Send reactivation push after 30 days of inactivity

Part 4. Enable web push (and storefront browsing events)

Anchor link to

Optional for web push alone. Required if you need product-view and add-to-cart events on Shopify events and campaigns.

Turn on the theme embed for browser web push on your storefront:

  1. Go to Online Store → Themes → Customize
    Go to Themes → Customize
  2. Open App Embeds from the left menu
  3. Toggle Push Init Embed ON

Toggle Push Init Embed ON

Data compliance

Anchor link to

Shopify requires every public app to respond to its mandatory GDPR/CCPA webhooks. Pushwoosh handles them as follows:

  • customers/redact: When a shopper asks the store to erase their data, Pushwoosh erases the matching Pushwoosh records by whichever identifiers Shopify sends — email, phone, and Shopify customer ID.
  • customers/data_request: When a shopper requests a copy of their data, Pushwoosh posts a notification to support’s internal channel, and a person handles the request manually. Shopify requires apps to respond to these within 30 days.
  • shop/redact: Shopify sends this 48 hours after a store uninstalls the app, asking to erase the store’s data. Pushwoosh re-runs the same deletion the uninstall itself triggers, clearing any session left over and erasing the store’s integration record (device API key, application code, and billing IDs included). This exists as a safety net for the case where uninstall didn’t fully clean up the first time.

Use cases summary

Anchor link to

After setup, common ways to message from Shopify:

ScenarioTool used
Personalized follow-upNotification by Customer
Segment-based promotionNotification by Segment
Welcome message after signing upFlow + Metafield tracking
Cart abandonment reminderShopify Flow + Pushwoosh action
Push opt-inTheme Embed + Push Init Toggle

For journeys and segments on order, cart, checkout, and storefront events, see Shopify events and campaigns.