Announcements
Track Storefront Next Activity with Analytics
Send Storefront Next Analytics Events to Data360
CLI Reference
B2C Commerce Release Notes
Ask the Community
To unify your customer data on Salesforce, connect Storefront Next to Data 360. After you set your store as a data source, Data 360 receives engagement events, which are triggered by shopper activities in your storefront.
These engagement events are supported.
view_page: A shopper views a page.view_product: A shopper views a product detail page.view_search: A shopper views a category or listing page.view_category: A shopper performs a product search.view_recommender: A shopper views personalized recommendations.To use Data 360 with Storefront Next, you must first set up your own production instance of Data 360. See Get Started Using Data 360 in Salesforce Help.
To connect your storefront to Data 360, complete the instructions from Connect a Website or Mobile App to Data 360 in the Data 360 Integration Guide. When the New Connection window asks what you’re connecting to, select A Custom Website.
To start sending data from your storefront to Data 360, complete the instructions from Create a Web or Mobile App Data Stream in the Data 360 Integration Guide.
Get the Data 360 tenant ID.
<tenantId>.c360a.salesforce.com.rproxy.goskope.com.Get the Data 360 app source ID.
/scripts. For example, https://cdn.pc-rnd.c360a.salesforce.com/beacon/c360a/<appSourceId>/scripts/c360a.min.js.Update your Storefront Next project’s config.server.ts with the Data 360 tenant and app source IDs from steps 3 and configure the adapter under engagement.adapters.data360. Here’s an example, with placeholders for your IDs:
1engagement: {
2 adapters: {
3 data360: {
4 enabled: true,
5 appSourceId: '<your-app-source-id>',
6 tenantId: '<your-tenant-id>',
7 siteId: '<your-site-id>',
8 },
9 },
10}<your-app-source-id>, <your-tenant-id>, and <your-site-id> are required. For the full field reference, including webStoreId, consentCategory, and the per-event eventToggles, see Set Up Data 360.
For more information about how B2C Commerce storefronts can integrate with Data 360, see Sending B2C Commerce Engagement Events to Data 360 in Salesforce Help.