Your page can tell the agent which market it belongs to
AddedOn a Shopify storefront, the agent answers for the market of the shopper's page because the tag reads the page's country. A storefront that doesn't expose that country, as some headless builds don't, stayed on the store's default market.
Your page can now declare it. One line, before the tag loads or any time after:
iadvize('set', { market: { country: 'GB' } })For an agent with a Shopify connector, the catalog calls then ask Shopify for that country, and the price, currency and product links in the answers are the ones of that market. A declared country takes precedence over the one the tag reads on the page. Each call replaces the previous declaration, and { market: null } removes it.
It applies to the embedded panel only. The hosted page and the Playground carry no market. The market is not stored with the conversation and is not part of the agent's instructions.
A second field, code, is accepted and does nothing yet. It is meant for a market identifier of your own platform. No connector reads it today: it is there so the format on your page is stable.
Don't put anything sensitive in it. The value comes from the shopper's browser and a shopper can change it. Use it to pick a public market, never to grant access to a price list or an account.