-
|
I would like to access the breadcrumbs data in my analytics module. Is this possible at the moment? |
Beta Was this translation helpful? Give feedback.
Answered by
Josh-Cena
Mar 30, 2022
Replies: 1 comment 2 replies
-
|
Hi, the breadcrumbs data is generated from the current sidebar structure, and the sidebars are available as global data. You can use |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
krillboi
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi, the breadcrumbs data is generated from the current sidebar structure, and the sidebars are available as global data. You can use
import globalData from "@generated/globalData"and filter out the data that you need.