Commit Graph

11 Commits

Author SHA1 Message Date
Calvin Huang
3dca396263 Since the official document said: "Hit type is the type of hit", it would be much clear if we use type to define HitType instead of an enum. (#23184) 2018-01-29 12:38:32 -08:00
Tyler Murphy
6c483277a4 Fix/Add Universal Analytics Tracker and Model to google.analytics (#21077)
* Updates the UniversalAnalytics.Tracker interface so it matches the specification in Google's documentation (https://developers.google.com/analytics/devguides/collection/analyticsjs/tracker-object-reference).

* Adds a UniversalAnalytics.Model interface, as described in Google's documentation (https://developers.google.com/analytics/devguides/collection/analyticsjs/model-object-reference).

* Adds my name to the list of contributors for google.analytics.

* Fixes lint issues.
2017-10-27 16:51:13 -07:00
Andy
924fafffc0 Fix remaining lint errors (#19166) 2017-08-20 15:37:53 -07:00
FreshRob
75a484d197 added semicolon 2017-07-13 13:32:08 +01:00
FreshRob
7fdbc7823a Remove duplicate metric 41 2017-07-13 08:56:23 +01:00
FreshRob
2d1a62a521 step also boolean, metrics number
Step both number and boolean, not one or the other
Metrics now string or number, see: https://developers.google.com/analytics/devguides/collection/analyticsjs/custom-dims-mets
2017-07-13 08:51:00 +01:00
FreshRob
c7adfa4392 Added missing semicolon
Added missing semicolon
2017-07-10 14:31:24 +01:00
FreshRob
97396df6e1 Step to number + Added cookie path
Step changed from boolean to number (ref: https://developers.google.com/analytics/devguides/collection/analyticsjs/enhanced-ecommerce)

Added cookiePath (ref: https://www.optimizesmart.com/google-analytics-cookies-ultimate-guide/)
2017-07-10 13:33:47 +01:00
Andy
e69b58e400 Apply new lint rules to ever more packages (#15551) 2017-03-31 12:19:34 -07:00
Andy
d426ff3083 Apply new lint rules to yet more packages (#15486) 2017-03-29 14:46:16 -07:00
Andy Hanson
354cec620d Move all packages to a types directory 2017-03-24 14:27:52 -07:00