Closed gligoran closed 8 years ago
The properties set by $analytics aren't used solely by angulartics-google-analytics, so null can be a valid entry for setUserProperties, which maps to setDimensionsAndMetrics in this plugin.
$analytics
angulartics-google-analytics
null
setUserProperties
setDimensionsAndMetrics
If null is passed now, this exception is thrown:
Cannot read property 'dimension1' of null
The properties set by
$analytics
aren't used solely byangulartics-google-analytics
, sonull
can be a valid entry forsetUserProperties
, which maps tosetDimensionsAndMetrics
in this plugin.If null is passed now, this exception is thrown:
Cannot read property 'dimension1' of null