Fix proposal for #2

A variable local to genUniversalAnalyticsCode is used to prevent accumulation of unwanted ga events