Tracking Yext Agent (Spring '22 Release)

We’ve recently introduced a lot more layers to our frontend stack (including Answers Core, Answers Headless, and Answers Headless React). With this release, we’re now tracking the version of those libraries being used in your experience. This opens up more helpful debugging resources and the option to support additional version-dependent analytics features in the future.

The Answers frontend will set a custom header that lists the libraries used and their version numbers, which will be logged by the backend:

Agent Used Example
Answers Theme CLIENT-SDK: ANSWERS_THEME= 1.27.0
Answers Search UI SDK CLIENT-SDK: ANSWERS_SEARCH_UI_SDK=1.12.0
Answers Headless React CLIENT-SDK: ANSWERS_HEADLESS_REACT=1.2.0
Answers Headless CLIENT-SDK: ANSWERS_HEADLESS=1.2.0
Answers Core CLIENT-SDK: ANSWERS_CORE=1.2.0
Analytics CLIENT-SDK: ANALYTICS=1.0.0

A site on the Theme will be using the Answers Theme, Search UI SDK, and Core, so the Agent provided lists all three: CLIENT-SDK: ANSWERS_THEME=1.27.0,ANSWERS_SEARCH_UI_SDK= 1.12.0,ANSWERS_CORE=1.2.0.

Someone implementing Answers with the API directly would be responsible for setting this header on their own (it will be empty by default).