How can we add custom events push to google analytics from Knowledge management area in customer service interaction portal?
The knowledge management area in customer service interaction portal has used a control rule named 'Knowledge' which has used fully react JS based UI creation for KM search or article view. Our customer wants to have custom events pushed to google analytics when KM search is performed or which article is viewed. We have the gtag event posting js scripts but finding difficulty to plug in and call this script from this react based UI component. majority of the rules are made final too.
Any help is appreciated.
FYI - we able to leverage custom event push from KMhelpPortal using actions run script on normal section level.