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:
Email
Phone
First name
Last name
Campaign ID - stored as a Shopify customer metafield.
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.
Go to your customer metafields definitions
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 putwisepops.campaignId
as name, any description and choose Single line text:
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 bewisepops.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.
Make sure that you've created a definition for the campaign ID metafield.
In the Shopify admin, create a new customer segment.
In the upper right corner of the segment definition, click Filters.
Choose Metafields, then pick up the metafield you need.
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.