Google analytics


(Stephan) #1

Hi there, I need some help please.

How do I add a google analytics code to a Hype HTML layout? Also, can I add it to the whole document as well as to a specific item on the page?

Thanks


#2

Hi @StephanZA

As Hype basically generates 1 HTML page you could add the <script> code that Google Analytics gives you to the Head HTML in Hype. (or anywhere on the page after export)

Because of the nature of Hype you can’t really track scene changes in an analytical sense (easily) I would assume as the code is Javascript that you could include it within a function on load of every scene but I would think that it would have problems figuring out what it is trying to analyse.

Also, a quick search here and you’ll find some more info. Always search first :wink: