checking before accessing properties because it's optional in angulartics

Output a log message so the developer will be able to understand it doesn't log to GA.

The file in dist was created by running `grunt`.