Search analytics issue

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:

1 Like

I’m experiencing the exact same issue and have been for a while. I see the events being fired and the `search_submitted` payload being sent (with a 200 OK response), but not a single search metric showing up in analytics.

Please Shopifolk, grace us with an answer!

1 Like

experiencing the same issue too. Not data since we’ve gone live with hydrogen and can’t figure out why. I’ve asked a shopify support specialist and this is what they had to say about the issue

It’s very strange that they would have us send the query term and the results in the payload, but then not support viewing this analytics data? Does it just get thrown away? If it’s true that they do not support search related analytics in Hydrogen/Headless, they should probably be more transparent about that in the docs.

An Issue has been open by someone from Shopify to look into this issue:

1 Like