Skip to main content
Participant
April 13, 2015
Question

Does anyone know how to use Google analytics to capture text that is typed into a WebHelp search box?

  • April 13, 2015
  • 1 reply
  • 622 views

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

This topic has been closed for replies.

1 reply

Willam van Weelden
Inspiring
April 14, 2015

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.

Participant
April 14, 2015

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!)

Jeff_Coatsworth
Community Expert
Community Expert
April 14, 2015

Based on my experience with changing the default setting for “Highlight search items”, I’d guess the whform.js file.