Highlighted

Grabbing breadcrumb from internal HTML

Rookie Contributor
We have the following:
Want to capture the value of id=breadcrumb. Any help would be appreciated. Thanks!
2 REPLIES 2
Highlighted

Grabbing breadcrumb from internal HTML

Tealium Employee
Assuming your site is running jQuery and this content loads before the reference to utag.js is made, you could add a Set extension that sets the value of a new data source -- say page_breadcrumb-- to the JS expression $("#breadcrumb").text() || ""; You may then need a second extension to perform string manipulation on the variable to get it into a more friendly format.
Highlighted

Grabbing breadcrumb from internal HTML

Rookie Contributor
Apparently this didn't work. I set "breadcrumb" as a UDO data source - did it need to be JS?