Skip to main content
November 29, 2010
Question

RH output with Google Analytics

  • November 29, 2010
  • 11 replies
  • 2040 views

I am trying to get Google Analytics to track individual page views in an HTML help set.  Every page viewed appears as the base or index file, and Google only seems able to count views of that page.  It cannot seem to see the individual pages within the help set as separate pages, even when I add the Analytics script to those pages.

Has anyone used Google to track page views?  Is there any control in RH7 that allows individual htm pages to viewed with separate URLs?

I notice too that anytime page source is viewed, it is always the index page, which has no body content.

This topic is closed to new replies. Start a new post to keep the conversation going.

11 replies

Known Participant
November 30, 2010

Hi,

I can't help w/the Google analytics, but as far as tracking individual pages.  Can you just put a # sign following your original URL and see if you get data on the individual page this way?  We're doing this to see hits using another analytics tool and it works.

such as having your URL include --> WebHelp/Sample_Help#General_Info.htm

November 30, 2010

Thanks for the idea, but I'm not sure how to make this work with Webhelp files.  When RH generates Webhelp, it creates a master file with no content.  When you open the help system, the URL is for the master file.  When you open topics from the TOC, the topic page displays but the URL remains that of the master file.  Each topic is in a separate HTML file, but the name of that file appears nowhere.

Jeff_Coatsworth
Community Expert
Community Expert
November 30, 2010

From what I remember reading about people's attempts to use Google Analytics on their WebHelp pages, you needed to add some Google code to each page in your project to trigger the counting action to occur.

RoboServer is the easiest way to track stuff like this according to experts (I don't use it myself & my help is all locally hosted)