Hi there - we are trying to embed a staging version of a Search experience into a staging site. A Search experience only has one experienceKey. Is there a way for us to specify the Staging vs Production experience? I think the way to do this would be something similar to this post.
Hey Zach,
When embedding the Search results, you’d follow the Creating Search Results Page guide to iFrame the Search results onto a page. To embed the staging experience instead of the production one, when you get to step 3 where you add the code snippet, replace REPLACE_ME_PRODUCTION_URL
with the staging URL instead of the production URL.
If you’re also adding a Search bar to the staging site, you’d follow the Adding a Search Bar guide. To add a staging version of the search bar:
- update the version to staging (
experienceVersion: "STAGING",
) - for the
redirectUrl
, be sure to use the URL of the staging site you are creating