Google Analytics in Masterpages?

This forum is for all Flare issues related to the HTML5, WebHelp, WebHelp Plus, and Adobe Air Targets
Post Reply
parsonsv
Sr. Propeller Head
Posts: 110
Joined: Fri Mar 23, 2007 12:30 pm
Location: Calgary, Alberta

Google Analytics in Masterpages?

Post by parsonsv »

Hi all

The instructions for google analytics says to put the javascript code immediately before the </body> tag on each page. However, I'd like to put it on the master page and not have to worry about editing every topic. Can you do that?
Victoria Clarke
LTinker68
Master Propellus Maximus
Posts: 7247
Joined: Thu Feb 16, 2006 9:38 pm

Re: Google Analytics in Masterpages?

Post by LTinker68 »

I would think so, just make sure you put it before the masterpage's </body> tag and not inside the bodyProxy tag.
Image

Lisa
Eagles may soar, but weasels aren't sucked into jet engines.
Warning! Loose nut behind the keyboard.
parsonsv
Sr. Propeller Head
Posts: 110
Joined: Fri Mar 23, 2007 12:30 pm
Location: Calgary, Alberta

Re: Google Analytics in Masterpages?

Post by parsonsv »

Hi Tinker

Thanks for your response. I was about to respond - "but the masterpage doesn't have a </body> tag!", and that's when I realized what I'd done! I hadn't been opening the masterpage in the text editor. I was opening it in the viewer. DUH!
Victoria Clarke
Post Reply