Facebook data sharing
The Data sharing settings in your Facebook channel lets you choose how customer data and browsing behavior is collected in your online store. Data sharing tools, such as the Facebook pixel and the Facebook Conversions API, let you track orders and other events, which can help you analyze your store traffic and improve ad targeting through dynamic ads.
Choosing Facebook's customer data-sharing level
The Facebook channel lets you choose how you want data to be collected and shared between your online store and Facebook. In the data-sharing settings you have three levels to choose from: Standard, Enhanced, or Maximum. For more information about customer tracking, refer to Cookies and customer tracking.
Depending on when you installed the Facebook sales channel, the customer data-sharing levels offer different privacy settings.
If you select Standard, then a Facebook pixel tracks customer browsing behavior in your online store. A browser-based ad blocker can prevent the Facebook pixel from sharing data.
If you select Enhanced, then your store uses Facebook's Conversions API as well as the Facebook pixel. The Conversions API sends the purchase event between Shopify and Facebook servers. Data sent from server to server can't be blocked by browser-based ad blockers. The Enhanced setting shares your customer's personal information to match users on Facebook's network. The information that is collected using this setting includes your customer's name, location, email address, and phone number, as well as their browsing behavior in your online store. For more information, refer to Facebook's documentation about Conversions API.
If you select Maximum, then your store uses Facebook's Conversions API, Facebook pixel, and is updated with Facebook's latest advertising technology. The Conversions API sends the purchase event between Shopify and Facebook servers. Data sent from server to server can't be blocked by browser-based ad blockers. The Maximum setting shares your customer's personal information to match users on Facebook's network. The information that is collected using this setting includes your customer's name, location, email address, and phone number, as well as their browsing behavior in your online store. For more information, refer to Facebook's documentation about Conversions API.
For more information about data sharing, refer to Cookies and customer tracking.
Set up Facebook data sharing
You can enable customer data sharing during the set up of Facebook Shop, Instagram Shopping, and Facebook Marketing. You can also enable and change your Facebook customer data sharing settings at any time in the Facebook channel settings.
From your Shopify admin, go to Sales channels > Facebook.
Click Data sharing settings.
In the Customer data sharing section, enable customer data sharing.
In the CHOOSE LEVEL section, select the level of customer data sharing that you want to enable.
If you haven't connected a Facebook pixel, then click Connect on the pixel that you want to use for customer data sharing.
Customer data-sharing events
After you add a Facebook pixel in Shopify, the pixel tracks certain events on your online store, such as when a customer views a certain page. You can use the data from these events to learn more about how customers interact with your store. Learn more about using Facebook pixel events to create campaigns and track conversions at the Facebook Help Center.
Events that track an order value use an order's subtotal, which doesn't include taxes or shipping costs.
After you integrate a Facebook pixel with your online store, the pixel automatically tracks the following events.
|Event name||Event description|
|ViewContent||When a visitor views a page, such as a product page|
|Search||When a visitor makes a search|
|AddToCart||When a visitor adds a product to the shopping cart|
|InitiateCheckout||When a visitor clicks the checkout button|
|AddPaymentInfo||When a visitor enters payment information in the checkout|
|Purchase||When a visitor completes a purchase and views the thank you page in the checkout|
Data-sharing best practices