adds google analytics to application when setting is present

Fixes #502 

Will not fire a track page view if the setting is not available via data attribute.