Thanks @Jennifer_Dungan , appreciate the quick response. Yeah, seems like a case by case basis, but a 20% "blocked" percentage is not out of the ordinary.
Both great answers and both seemingly work, thank you!! @Jennifer_Dungan got the "correct reply" for being first, but @yuhuisg 's solution also seems to work.
I was able to get this to work as intended using the following:
let searches = digitalData.event.filter(x => x.eventName.toLowerCase() === 'product search').reverse()if (searches.length > 0) {return searches[0].eventDetails.search_query} else { /// do nothing}
Thanks @leocwlau after some digging against both the analytics.hit and Griffon sections, I think I am seeing the values I was looking for. Appreciate the assistance!