Hello!
We have a hydrogen store which we did setup the analytics as per Shopify’s documentation.
Even though we are seeing the page views and sessions analytics in Shopify’s analytics dashboard and reports, for some reason the search analytics don’t seem to populate in the search reports.
I can see in the network calls that the analytics seems to be sending a “search_submitted” event, but it never seems to reach the analytics dashboard.
Is this expected? Is the only use for <Analytics.SearchView data={{searchTerm: term, searchResults: result}} />
to capture the event and send it to another analytics service? Or should we see the analytics in shopify?
In the network requests I see this sent to https://monorail-edge.shopifysvc.com/unstable/produce_batch
:
{
"events": [
{
"schema_id": "custom_storefront_customer_tracking/1.2",
"payload": {
"source": "hydrogen",
"asset_version_id": "2025.4.1",
"hydrogenSubchannelId": "1000028364",
"is_persistent_cookie": true,
"deprecated_visit_token": "",
"unique_token": "",
"event_time": 1755270613713,
"event_id": "ae48eada-E452-4D0A-0514-96AFB389D3B7",
"event_source_url": "...",
"referrer": "",
"user_agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/18.6 Safari/605.1.15",
"navigation_type": "reload",
"navigation_api": "PerformanceNavigationTiming",
"shop_id": ...,
"currency": "USD",
"ccpa_enforced": false,
"gdpr_enforced": false,
"gdpr_enforced_as_string": "false",
"analytics_allowed": true,
"marketing_allowed": true,
"sale_of_data_allowed": true,
"event_name": "search_submitted",
"canonical_url": "...",
"search_string": "tesy"
},
"metadata": {
"event_created_at_ms": 1755270613713
}
}
],
"metadata": {
"event_sent_at_ms": 1755270613713
}
}
The website has been live for a while but it stays empty in the analytics reports: