Skip to main content
As of mid-2026, Layers seeds historical search data automatically on install by reading the last 30 days of search terms directly from your Shopify storefront. You do not need to run the manual export below for a typical install. Use this guide only if the support team asks you to, or if you want to supply searches that the automatic import didn’t cover.
When you install Layers, the onboarding bootstrap imports your top searches from Shopify, builds the initial query clusters, drafts an autocomplete prompt, and runs a baseline evaluation — all without any export step from you. You only need to run the manual export below in a few cases:
  • The automatic import returned very few terms (for example, the store is brand new on Shopify and has limited search history).
  • You want to seed a longer window of history (the automatic import covers the last 30 days; the manual export below covers 60).
  • Layers Support asks you to provide a JSONL export for an investigation.

Prerequisites

  • You have a Shopify store with Layers installed.
  • You have access to Shopify Analytics in your Shopify admin.

Export your top searches

  1. In your Shopify admin, go to Analytics → Reports.
  2. Open the ShopifyQL editor and run the following query to export the top searches from the past 60 days:
    FROM searches
      SHOW searches
      GROUP BY search_query, day WITH CURRENCY 'USD', TOTALS
      TIMESERIES day
      SINCE startOfDay(-60d) UNTIL today
      ORDER BY searches DESC
      LIMIT 1000
    VISUALIZE searches TYPE horizontal_bar
    
  3. Export the results as JSONL. screenshot of export as JSONL

Send the export to Layers support

Send the exported JSONL file to Layers Support. The team imports this data into your store to extend the seeded search analytics and ranking signals beyond what the automatic import captured.

Next steps

  • Return to the Demo store setup guide to complete your store configuration.
  • Learn more about how Layers uses search data in Metrics.

Troubleshooting

If you are unable to run the ShopifyQL query or export the results, make sure you have the required permissions in your Shopify admin. Contact support if you need help.