Hello! I have a client who currently has Services entities that have “Find a Location Near You” CTAs that link to their own Facility Locator. Since they also have a Locations vertical, I want to impress upon them the value and capacity of Answers by changing that link to our own Locations vertical. They are planning to integrate via JS snippet, so how would I do that within their Answers iFrame?
Hey Hannah! The way I usually do this is by incorporating the query parameter “verticalUrl=xxxx” in the URL that is your CTA link. This will drop the user right into the vertical tab that you define where the xxx is.
You can see what the exact parameter is for your own site by navigating to your Answers experience, clicking the desired vertical, and pulling this parameter from the URL in your address bar.
Note - make sure to test the parameter with an iFrame, as sometimes I’ve seen it vary slightly
Thank you @jyorke !
I have a bit of a more specific question related to this, and their Answers experience is in an overlay which might require some unique treatment.
I have a (different) client who has TV Package and Channel entities: each package is linked to its related channels and I’m wondering if it would be possible to add a CTA to the package cards like “see channels in this package” that would take the user to the Channels vertical that’s been pre-filtered by this package. Since it’s an overlay I’m not sure whether this would be as easy as using the URL like in the use case above.
Thank you!
Hi Hannah,
Great question. One follow-up question for you, does the overlay present the results inline or does it redirect to a standalone For more context on the latter, I am referring to the configuration titled: “Redirecting to a Standalone Search Results Page” here. For the latter but not the former, you would be able to redirect to the verticalUrl= as well as input a Search query into the URL.
Let us know if you have any questions.
Alyssa
Hi @Alyssa_Hubbard, the overlay should present the results inline - one of the main client KPIs for this project is not directing the user away from the page so the full Answers experience needs to remain within the overlay. Let me know if I can clarify anything else for you!