Skip to main content
Sync your leads with Shopify
Updated over a week ago

By using our Shopify app, you benefit from leads synchronization out of the box. All leads with an email are synced automatically with your Shopify store. If an existing customer with the same email is found, they are updated. Otherwise, a new customer is created.

How Wisepops fields are synced

The following Wisepops fields are mapped to Shopify customer fields:

How to use the campaign ID

To see the Wisepops campaign ID in the Shopify customer profile, or to create segments based on it, you must first give it a definition.

  1. If you do not have any customers subscribed to your campaigns yet, you can create a new definition yourself by clicking on the Add definition button and filling the fields:


    If you already have at least one customer subscribed via Wisepops, you could check Metafields without a definition tab and click on predefined definition:


    and then put wisepops.campaignId as name, any description and choose Single line text:

  2. Complete the metafield definition and save it:

    Name: we suggest using the same value as the namespace and key (wisepops.campaignId)
    Namespace and key: it must be wisepops.campaignId
    Description: any text that you think is descriptive enough for you
    Type: must be Single line text
    Validations: leave it empty

Create a segment based on metafields

Shopify supports segmenting your customers based on their metafields. Let's say we want to create a customer segment for visitors who've subscribed via Wisepops to a specific campaign.

  1. Make sure that you've created a definition for the campaign ID metafield.

  2. In the Shopify admin, create a new customer segment.

  3. In the upper right corner of the segment definition, click Filters.

  4. Choose Metafields, then pick up the metafield you need.

  5. Complete your segment definition with the help of the available filters.

To know the campaign ID, go to Wisepops editor and check the URL, which looks like this: https://popups.wisepops.com/wisepops/edit/32, the last part 32 is the ID of the campaign.

And voilà! You can group together the customers synced by Wisepops.

If you have any questions, don't hesitate to contact our support.


Did this answer your question?