Copy link to clipboard
Copied
It seems that the Site Search Tracking option in Google Analytics does not apply because the WebHelp search engine is not creating a URL.Does anyone have any thoughts? Is it possible to add a code snippet somewhere that will pass the search text to GA as an event? Appreciate all help. Thanks! -Joe
Copy link to clipboard
Copied
It can be done with the HTML5 outputs using GA Site Search (Set up Site Search - Analytics Help) but I haven't tried it with WebHelp yet. I don't see an easy way to get this to work since WebHelp uses JavaScript instead of URL parameters.
Copy link to clipboard
Copied
Thanks for the response. A different division in the company that uses Flare found a work-around by adding a JavaScript code snippet to the Flare output's Search box. The code passes the search text to GA as an event. It's a nifty trick that I'd like to repeat in RoboHelp. I just need to determine where to put the snippet. Any ideas? (I'd hate to lose this "Flare vs RoboHelp" battle!)
Copy link to clipboard
Copied
Based on my experience with changing the default setting for “Highlight search items”, I’d guess the whform.js file.
Copy link to clipboard
Copied
Thanks for the tip. I will give it a go and let you know how it turns out.