Bugfix: check that gon is defined.
Google analytics added.