Shopify site search events are automatically captured by the Dotdigital Tag and sent to Marketing as custom events. You can use the event data in segments, programs and personalised campaigns, and view it on a contact's activity timeline.
Before you start
Shopify events are only available on the Dotdigital Marketing CXDP package, for stores connected with the Shopify integration.
You must have the required app embeds enabled in Shopify.
Shopify search event data in Marketing
When you integrate Shopify with Dotdigital Marketing, the Dotdigital Tag automatically captures site search events and syncs them to Marketing as custom event Insight data.
A site_search event is a collection of data about a search a visitor makes on your Shopify store, with the search term the customer used and the products returned by your store.
Site search event fields
Field | What it holds |
| The search term the visitor entered |
| The list of product variants returned by the search. Each entry holds the fields below. |
| Price and currency of the variant |
| Details of the parent product |
| Variant ID |
| Variant SKU |
| Variant name, for example, the colour. |
| Image path for the variant |
Each event record also contains the event (site_search), created_date, and event_timestamp.
Shopify site search event data works in the same way as other custom event data, and can be used in the same ways.
You can:
View events on Activity timeline of the Single customer view.
Use events in a segment.
Use events in a program.
Personalise a campaign with event data using Liquid markup.
