nativescript 9.1.0-alpha.5 → 9.1.0-alpha.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (226) hide show
  1. package/lib/common/mobile/android/android-emulator-services.js +11 -3
  2. package/node_modules/debug/LICENSE +20 -0
  3. package/node_modules/debug/README.md +481 -0
  4. package/node_modules/debug/package.json +64 -0
  5. package/node_modules/debug/src/browser.js +272 -0
  6. package/node_modules/debug/src/common.js +292 -0
  7. package/node_modules/debug/src/index.js +10 -0
  8. package/node_modules/debug/src/node.js +263 -0
  9. package/node_modules/ms/index.js +162 -0
  10. package/node_modules/ms/license.md +21 -0
  11. package/node_modules/ms/package.json +38 -0
  12. package/node_modules/ms/readme.md +59 -0
  13. package/node_modules/universal-analytics/.travis.yml +11 -0
  14. package/node_modules/universal-analytics/AcceptableParams.md +757 -0
  15. package/node_modules/universal-analytics/HISTORY.md +170 -0
  16. package/node_modules/universal-analytics/Makefile +5 -0
  17. package/node_modules/universal-analytics/README.md +651 -0
  18. package/node_modules/universal-analytics/index.js +2 -0
  19. package/node_modules/universal-analytics/lib/config.js +171 -0
  20. package/node_modules/universal-analytics/lib/index.js +563 -0
  21. package/node_modules/universal-analytics/lib/request.js +73 -0
  22. package/node_modules/universal-analytics/lib/utils.js +29 -0
  23. package/node_modules/universal-analytics/package.json +33 -0
  24. package/node_modules/universal-analytics/test/_enqueue.js +144 -0
  25. package/node_modules/universal-analytics/test/event.js +346 -0
  26. package/node_modules/universal-analytics/test/exception.js +233 -0
  27. package/node_modules/universal-analytics/test/index.js +141 -0
  28. package/node_modules/universal-analytics/test/item.js +550 -0
  29. package/node_modules/universal-analytics/test/middleware.js +119 -0
  30. package/node_modules/universal-analytics/test/mocha.opts +3 -0
  31. package/node_modules/universal-analytics/test/pageview.js +286 -0
  32. package/node_modules/universal-analytics/test/send.js +232 -0
  33. package/node_modules/universal-analytics/test/set.js +68 -0
  34. package/node_modules/universal-analytics/test/timing.js +363 -0
  35. package/node_modules/universal-analytics/test/transaction.js +371 -0
  36. package/node_modules/uuid/LICENSE.md +9 -0
  37. package/node_modules/uuid/README.md +510 -0
  38. package/node_modules/uuid/dist/cjs/index.d.ts +15 -0
  39. package/node_modules/uuid/dist/cjs/index.js +31 -0
  40. package/node_modules/uuid/dist/cjs/max.d.ts +2 -0
  41. package/node_modules/uuid/dist/cjs/max.js +3 -0
  42. package/node_modules/uuid/dist/cjs/md5.d.ts +4 -0
  43. package/node_modules/uuid/dist/cjs/md5.js +13 -0
  44. package/node_modules/uuid/dist/cjs/native.d.ts +6 -0
  45. package/node_modules/uuid/dist/cjs/native.js +4 -0
  46. package/node_modules/uuid/dist/cjs/nil.d.ts +2 -0
  47. package/node_modules/uuid/dist/cjs/nil.js +3 -0
  48. package/node_modules/uuid/dist/cjs/package.json +1 -0
  49. package/node_modules/uuid/dist/cjs/parse.d.ts +2 -0
  50. package/node_modules/uuid/dist/cjs/parse.js +11 -0
  51. package/node_modules/uuid/dist/cjs/regex.d.ts +2 -0
  52. package/node_modules/uuid/dist/cjs/regex.js +3 -0
  53. package/node_modules/uuid/dist/cjs/rng.d.ts +1 -0
  54. package/node_modules/uuid/dist/cjs/rng.js +13 -0
  55. package/node_modules/uuid/dist/cjs/sha1.d.ts +4 -0
  56. package/node_modules/uuid/dist/cjs/sha1.js +13 -0
  57. package/node_modules/uuid/dist/cjs/stringify.d.ts +3 -0
  58. package/node_modules/uuid/dist/cjs/stringify.js +39 -0
  59. package/node_modules/uuid/dist/cjs/types.d.ts +21 -0
  60. package/node_modules/uuid/dist/cjs/types.js +2 -0
  61. package/node_modules/uuid/dist/cjs/uuid-bin.d.ts +1 -0
  62. package/node_modules/uuid/dist/cjs/uuid-bin.js +72 -0
  63. package/node_modules/uuid/dist/cjs/v1.d.ts +11 -0
  64. package/node_modules/uuid/dist/cjs/v1.js +87 -0
  65. package/node_modules/uuid/dist/cjs/v1ToV6.d.ts +2 -0
  66. package/node_modules/uuid/dist/cjs/v1ToV6.js +13 -0
  67. package/node_modules/uuid/dist/cjs/v3.d.ts +9 -0
  68. package/node_modules/uuid/dist/cjs/v3.js +14 -0
  69. package/node_modules/uuid/dist/cjs/v35.d.ts +7 -0
  70. package/node_modules/uuid/dist/cjs/v35.js +41 -0
  71. package/node_modules/uuid/dist/cjs/v4.d.ts +4 -0
  72. package/node_modules/uuid/dist/cjs/v4.js +29 -0
  73. package/node_modules/uuid/dist/cjs/v5.d.ts +9 -0
  74. package/node_modules/uuid/dist/cjs/v5.js +14 -0
  75. package/node_modules/uuid/dist/cjs/v6.d.ts +4 -0
  76. package/node_modules/uuid/dist/cjs/v6.js +19 -0
  77. package/node_modules/uuid/dist/cjs/v6ToV1.d.ts +2 -0
  78. package/node_modules/uuid/dist/cjs/v6ToV1.js +13 -0
  79. package/node_modules/uuid/dist/cjs/v7.d.ts +9 -0
  80. package/node_modules/uuid/dist/cjs/v7.js +69 -0
  81. package/node_modules/uuid/dist/cjs/validate.d.ts +2 -0
  82. package/node_modules/uuid/dist/cjs/validate.js +7 -0
  83. package/node_modules/uuid/dist/cjs/version.d.ts +2 -0
  84. package/node_modules/uuid/dist/cjs/version.js +10 -0
  85. package/node_modules/uuid/dist/cjs-browser/index.d.ts +15 -0
  86. package/node_modules/uuid/dist/cjs-browser/index.js +31 -0
  87. package/node_modules/uuid/dist/cjs-browser/max.d.ts +2 -0
  88. package/node_modules/uuid/dist/cjs-browser/max.js +3 -0
  89. package/node_modules/uuid/dist/cjs-browser/md5.d.ts +2 -0
  90. package/node_modules/uuid/dist/cjs-browser/md5.js +137 -0
  91. package/node_modules/uuid/dist/cjs-browser/native.d.ts +4 -0
  92. package/node_modules/uuid/dist/cjs-browser/native.js +4 -0
  93. package/node_modules/uuid/dist/cjs-browser/nil.d.ts +2 -0
  94. package/node_modules/uuid/dist/cjs-browser/nil.js +3 -0
  95. package/node_modules/uuid/dist/cjs-browser/package.json +1 -0
  96. package/node_modules/uuid/dist/cjs-browser/parse.d.ts +2 -0
  97. package/node_modules/uuid/dist/cjs-browser/parse.js +11 -0
  98. package/node_modules/uuid/dist/cjs-browser/regex.d.ts +2 -0
  99. package/node_modules/uuid/dist/cjs-browser/regex.js +3 -0
  100. package/node_modules/uuid/dist/cjs-browser/rng.d.ts +1 -0
  101. package/node_modules/uuid/dist/cjs-browser/rng.js +14 -0
  102. package/node_modules/uuid/dist/cjs-browser/sha1.d.ts +2 -0
  103. package/node_modules/uuid/dist/cjs-browser/sha1.js +72 -0
  104. package/node_modules/uuid/dist/cjs-browser/stringify.d.ts +3 -0
  105. package/node_modules/uuid/dist/cjs-browser/stringify.js +39 -0
  106. package/node_modules/uuid/dist/cjs-browser/types.d.ts +21 -0
  107. package/node_modules/uuid/dist/cjs-browser/types.js +2 -0
  108. package/node_modules/uuid/dist/cjs-browser/uuid-bin.d.ts +1 -0
  109. package/node_modules/uuid/dist/cjs-browser/uuid-bin.js +72 -0
  110. package/node_modules/uuid/dist/cjs-browser/v1.d.ts +11 -0
  111. package/node_modules/uuid/dist/cjs-browser/v1.js +87 -0
  112. package/node_modules/uuid/dist/cjs-browser/v1ToV6.d.ts +2 -0
  113. package/node_modules/uuid/dist/cjs-browser/v1ToV6.js +13 -0
  114. package/node_modules/uuid/dist/cjs-browser/v3.d.ts +9 -0
  115. package/node_modules/uuid/dist/cjs-browser/v3.js +14 -0
  116. package/node_modules/uuid/dist/cjs-browser/v35.d.ts +7 -0
  117. package/node_modules/uuid/dist/cjs-browser/v35.js +41 -0
  118. package/node_modules/uuid/dist/cjs-browser/v4.d.ts +4 -0
  119. package/node_modules/uuid/dist/cjs-browser/v4.js +29 -0
  120. package/node_modules/uuid/dist/cjs-browser/v5.d.ts +9 -0
  121. package/node_modules/uuid/dist/cjs-browser/v5.js +14 -0
  122. package/node_modules/uuid/dist/cjs-browser/v6.d.ts +4 -0
  123. package/node_modules/uuid/dist/cjs-browser/v6.js +19 -0
  124. package/node_modules/uuid/dist/cjs-browser/v6ToV1.d.ts +2 -0
  125. package/node_modules/uuid/dist/cjs-browser/v6ToV1.js +13 -0
  126. package/node_modules/uuid/dist/cjs-browser/v7.d.ts +9 -0
  127. package/node_modules/uuid/dist/cjs-browser/v7.js +69 -0
  128. package/node_modules/uuid/dist/cjs-browser/validate.d.ts +2 -0
  129. package/node_modules/uuid/dist/cjs-browser/validate.js +7 -0
  130. package/node_modules/uuid/dist/cjs-browser/version.d.ts +2 -0
  131. package/node_modules/uuid/dist/cjs-browser/version.js +10 -0
  132. package/node_modules/uuid/dist/esm/bin/uuid +2 -0
  133. package/node_modules/uuid/dist/esm/index.d.ts +15 -0
  134. package/node_modules/uuid/dist/esm/index.js +14 -0
  135. package/node_modules/uuid/dist/esm/max.d.ts +2 -0
  136. package/node_modules/uuid/dist/esm/max.js +1 -0
  137. package/node_modules/uuid/dist/esm/md5.d.ts +4 -0
  138. package/node_modules/uuid/dist/esm/md5.js +11 -0
  139. package/node_modules/uuid/dist/esm/native.d.ts +6 -0
  140. package/node_modules/uuid/dist/esm/native.js +2 -0
  141. package/node_modules/uuid/dist/esm/nil.d.ts +2 -0
  142. package/node_modules/uuid/dist/esm/nil.js +1 -0
  143. package/node_modules/uuid/dist/esm/parse.d.ts +2 -0
  144. package/node_modules/uuid/dist/esm/parse.js +9 -0
  145. package/node_modules/uuid/dist/esm/regex.d.ts +2 -0
  146. package/node_modules/uuid/dist/esm/regex.js +1 -0
  147. package/node_modules/uuid/dist/esm/rng.d.ts +1 -0
  148. package/node_modules/uuid/dist/esm/rng.js +10 -0
  149. package/node_modules/uuid/dist/esm/sha1.d.ts +4 -0
  150. package/node_modules/uuid/dist/esm/sha1.js +11 -0
  151. package/node_modules/uuid/dist/esm/stringify.d.ts +3 -0
  152. package/node_modules/uuid/dist/esm/stringify.js +35 -0
  153. package/node_modules/uuid/dist/esm/types.d.ts +21 -0
  154. package/node_modules/uuid/dist/esm/types.js +1 -0
  155. package/node_modules/uuid/dist/esm/uuid-bin.d.ts +1 -0
  156. package/node_modules/uuid/dist/esm/uuid-bin.js +70 -0
  157. package/node_modules/uuid/dist/esm/v1.d.ts +11 -0
  158. package/node_modules/uuid/dist/esm/v1.js +83 -0
  159. package/node_modules/uuid/dist/esm/v1ToV6.d.ts +2 -0
  160. package/node_modules/uuid/dist/esm/v1ToV6.js +10 -0
  161. package/node_modules/uuid/dist/esm/v3.d.ts +9 -0
  162. package/node_modules/uuid/dist/esm/v3.js +9 -0
  163. package/node_modules/uuid/dist/esm/v35.d.ts +7 -0
  164. package/node_modules/uuid/dist/esm/v35.js +36 -0
  165. package/node_modules/uuid/dist/esm/v4.d.ts +4 -0
  166. package/node_modules/uuid/dist/esm/v4.js +27 -0
  167. package/node_modules/uuid/dist/esm/v5.d.ts +9 -0
  168. package/node_modules/uuid/dist/esm/v5.js +9 -0
  169. package/node_modules/uuid/dist/esm/v6.d.ts +4 -0
  170. package/node_modules/uuid/dist/esm/v6.js +17 -0
  171. package/node_modules/uuid/dist/esm/v6ToV1.d.ts +2 -0
  172. package/node_modules/uuid/dist/esm/v6ToV1.js +10 -0
  173. package/node_modules/uuid/dist/esm/v7.d.ts +9 -0
  174. package/node_modules/uuid/dist/esm/v7.js +65 -0
  175. package/node_modules/uuid/dist/esm/validate.d.ts +2 -0
  176. package/node_modules/uuid/dist/esm/validate.js +5 -0
  177. package/node_modules/uuid/dist/esm/version.d.ts +2 -0
  178. package/node_modules/uuid/dist/esm/version.js +8 -0
  179. package/node_modules/uuid/dist/esm-browser/index.d.ts +15 -0
  180. package/node_modules/uuid/dist/esm-browser/index.js +14 -0
  181. package/node_modules/uuid/dist/esm-browser/max.d.ts +2 -0
  182. package/node_modules/uuid/dist/esm-browser/max.js +1 -0
  183. package/node_modules/uuid/dist/esm-browser/md5.d.ts +2 -0
  184. package/node_modules/uuid/dist/esm-browser/md5.js +135 -0
  185. package/node_modules/uuid/dist/esm-browser/native.d.ts +4 -0
  186. package/node_modules/uuid/dist/esm-browser/native.js +2 -0
  187. package/node_modules/uuid/dist/esm-browser/nil.d.ts +2 -0
  188. package/node_modules/uuid/dist/esm-browser/nil.js +1 -0
  189. package/node_modules/uuid/dist/esm-browser/parse.d.ts +2 -0
  190. package/node_modules/uuid/dist/esm-browser/parse.js +9 -0
  191. package/node_modules/uuid/dist/esm-browser/regex.d.ts +2 -0
  192. package/node_modules/uuid/dist/esm-browser/regex.js +1 -0
  193. package/node_modules/uuid/dist/esm-browser/rng.d.ts +1 -0
  194. package/node_modules/uuid/dist/esm-browser/rng.js +11 -0
  195. package/node_modules/uuid/dist/esm-browser/sha1.d.ts +2 -0
  196. package/node_modules/uuid/dist/esm-browser/sha1.js +70 -0
  197. package/node_modules/uuid/dist/esm-browser/stringify.d.ts +3 -0
  198. package/node_modules/uuid/dist/esm-browser/stringify.js +35 -0
  199. package/node_modules/uuid/dist/esm-browser/types.d.ts +21 -0
  200. package/node_modules/uuid/dist/esm-browser/types.js +1 -0
  201. package/node_modules/uuid/dist/esm-browser/uuid-bin.d.ts +1 -0
  202. package/node_modules/uuid/dist/esm-browser/uuid-bin.js +70 -0
  203. package/node_modules/uuid/dist/esm-browser/v1.d.ts +11 -0
  204. package/node_modules/uuid/dist/esm-browser/v1.js +83 -0
  205. package/node_modules/uuid/dist/esm-browser/v1ToV6.d.ts +2 -0
  206. package/node_modules/uuid/dist/esm-browser/v1ToV6.js +10 -0
  207. package/node_modules/uuid/dist/esm-browser/v3.d.ts +9 -0
  208. package/node_modules/uuid/dist/esm-browser/v3.js +9 -0
  209. package/node_modules/uuid/dist/esm-browser/v35.d.ts +7 -0
  210. package/node_modules/uuid/dist/esm-browser/v35.js +36 -0
  211. package/node_modules/uuid/dist/esm-browser/v4.d.ts +4 -0
  212. package/node_modules/uuid/dist/esm-browser/v4.js +27 -0
  213. package/node_modules/uuid/dist/esm-browser/v5.d.ts +9 -0
  214. package/node_modules/uuid/dist/esm-browser/v5.js +9 -0
  215. package/node_modules/uuid/dist/esm-browser/v6.d.ts +4 -0
  216. package/node_modules/uuid/dist/esm-browser/v6.js +17 -0
  217. package/node_modules/uuid/dist/esm-browser/v6ToV1.d.ts +2 -0
  218. package/node_modules/uuid/dist/esm-browser/v6ToV1.js +10 -0
  219. package/node_modules/uuid/dist/esm-browser/v7.d.ts +9 -0
  220. package/node_modules/uuid/dist/esm-browser/v7.js +65 -0
  221. package/node_modules/uuid/dist/esm-browser/validate.d.ts +2 -0
  222. package/node_modules/uuid/dist/esm-browser/validate.js +5 -0
  223. package/node_modules/uuid/dist/esm-browser/version.d.ts +2 -0
  224. package/node_modules/uuid/dist/esm-browser/version.js +8 -0
  225. package/node_modules/uuid/package.json +132 -0
  226. package/package.json +8 -4
@@ -0,0 +1,757 @@
1
+ # Acceptable parameters
2
+
3
+
4
+ ## Protocol Version
5
+
6
+ Pass as: `protocolVersion` or `v`
7
+
8
+ Required for all hit types.The Protocol version. The current value is '1'. This will only change when there are changes made that are not backwards compatible.
9
+
10
+
11
+ ## Tracking ID / Web Property ID
12
+
13
+ Pass as: `trackingId` or `webPropertyId` or `tid`
14
+
15
+ Required for all hit types.The tracking ID / web property ID. The format is UA-XXXX-Y. All collected data is associated by this ID.
16
+
17
+
18
+ ## Anonymize IP
19
+
20
+ Pass as: `anonymizeIp` or `aip`
21
+
22
+ Optional. When present, the IP address of the sender will be anonymized. For example, the IP will be anonymized if any of the following parameters are present in the payload: &aip=, &aip=0, or &aip=1
23
+
24
+
25
+ ## Data Source
26
+ Pass as: `dataSource` or `ds`
27
+
28
+ Optional. Indicates the data source of the hit. Hits sent from analytics.js will have data source set to 'web'; hits sent from one of the mobile SDKs will have data source set to 'app'.
29
+
30
+ ## Queue Time
31
+
32
+ Pass as: `queueTime` or `qt`
33
+
34
+ Optional. Used to collect offline / latent hits. The value represents the time delta (in milliseconds) between when the hit being reported occurred and the time the hit was sent. The value must be greater than or equal to 0. Values greater than four hours may lead to hits not being processed.
35
+
36
+
37
+ ## Cache Buster
38
+
39
+ Pass as: `cacheBuster` or `z`
40
+
41
+ Optional. Used to send a random number in GET requests to ensure browsers and proxies don't cache hits. It should be sent as the final parameter of the request since we've seen some 3rd party internet filtering software add additional parameters to HTTP requests incorrectly. This value is not used in reporting.
42
+
43
+
44
+ ## Client ID
45
+
46
+ Pass as: `clientId` or `cid`
47
+
48
+ Required for all hit types.This anonymously identifies a particular user, device, or browser instance. For the web, this is generally stored as a first-party cookie with a two-year expiration. For mobile apps, this is randomly generated for each particular instance of an application install. The value of this field should be a random UUID (version 4) as described in http://www.ietf.org/rfc/rfc4122.txt
49
+
50
+
51
+ ## User ID
52
+
53
+ Pass as: `userId` or `uid`
54
+
55
+ Optional. This is intended to be a known identifier for a user provided by the site owner/tracking library user. It may not itself be PII. The value should never be persisted in GA cookies or other Analytics provided storage.
56
+
57
+
58
+ ## Session Control
59
+
60
+ Pass as: `sessionControl` or `sc`
61
+
62
+ Optional. Used to control the session duration. A value of 'start' forces a new session to start with this hit and 'end' forces the current session to end with this hit. All other values are ignored.
63
+
64
+
65
+ ## IP Override
66
+
67
+ Pass as: `ipOverride` or `uip`
68
+
69
+ Optional. The IP address of the user. This should be a valid IP address. It will always be anonymized just as though &aip (anonymize IP) had been used.
70
+
71
+
72
+ ## User Agent Override
73
+
74
+ Pass as: `userAgentOverride` or `ua`
75
+
76
+ Optional. The User Agent of the browser. Note that Google has libraries to identify real user agents. Hand crafting your own agent could break at any time.
77
+
78
+
79
+ ## Geographical Override
80
+
81
+ Pass as: `geoid`
82
+
83
+ Optional. The geographical location of the user. The geographical ID should be a two letter country code or a criteria ID representing a city or region (see http://developers.google.com/analytics/devguides/collection/protocol/v1/geoid). This parameter takes precedent over any location derived from IP address, including the IP Override parameter. An invalid code will result in geographical dimensions to be set to '(not set)'.
84
+
85
+ ## Document Referrer
86
+
87
+ Pass as: `documentReferrer` or `dr`
88
+
89
+ Optional. Specifies which referral source brought traffic to a website. This value is also used to compute the traffic source. The format of this value is a URL.
90
+
91
+
92
+ ## Campaign Name
93
+
94
+ Pass as: `campaignName` or `cn`
95
+
96
+ Optional. Specifies the campaign name.
97
+
98
+
99
+ ## Campaign Source
100
+
101
+ Pass as: `campaignSource` or `cs`
102
+
103
+ Optional. Specifies the campaign source.
104
+
105
+
106
+ ## Campaign Medium
107
+
108
+ Pass as: `campaignMedium` or `cm`
109
+
110
+ Optional. Specifies the campaign medium.
111
+
112
+
113
+ ## Campaign Keyword
114
+
115
+ Pass as: `campaignKeyword` or `ck`
116
+
117
+ Optional. Specifies the campaign keyword.
118
+
119
+
120
+ ## Campaign Content
121
+
122
+ Pass as: `campaignContent` or `cc`
123
+
124
+ Optional. Specifies the campaign content.
125
+
126
+
127
+ ## Campaign ID
128
+
129
+ Pass as: `campaignId` or `ci`
130
+
131
+ Optional. Specifies the campaign ID.
132
+
133
+
134
+ ## Google AdWords ID
135
+
136
+ Pass as: `googleAdwordsId` or `gclid`
137
+
138
+ Optional. Specifies the Google AdWords Id.
139
+
140
+
141
+ ## Google Display Ads ID
142
+
143
+ Pass as: `googleDisplayAdsId` or `dclid`
144
+
145
+ Optional. Specifies the Google Display Ads Id.
146
+
147
+
148
+ ## Screen Resolution
149
+
150
+ Pass as: `screenResolution` or `sr`
151
+
152
+ Optional. Specifies the screen resolution.
153
+
154
+
155
+ ## Viewport size
156
+
157
+ Pass as: `viewportSize` or `vp`
158
+
159
+ Optional. Specifies the viewable area of the browser / device.
160
+
161
+
162
+ ## Document Encoding
163
+
164
+ Pass as: `documentEncoding` or `de`
165
+
166
+ Optional. Specifies the character set used to encode the page / document.
167
+
168
+
169
+ ## Screen Colors
170
+
171
+ Pass as: `screenColors` or `sd`
172
+
173
+ Optional. Specifies the screen color depth.
174
+
175
+
176
+ ## User Language
177
+
178
+ Pass as: `userLanguage` or `ul`
179
+
180
+ Optional. Specifies the language.
181
+
182
+
183
+ ## Java Enabled
184
+
185
+ Pass as: `javaEnabled` or `je`
186
+
187
+ Optional. Specifies whether Java was enabled.
188
+
189
+
190
+ ## Flash Version
191
+
192
+ Pass as: `flashVersion` or `fl`
193
+
194
+ Optional. Specifies the flash version.
195
+
196
+
197
+ ## Hit type
198
+
199
+ Pass as: `hitType` or `t`
200
+
201
+ Required for all hit types.The type of hit. Must be one of 'pageview', 'screenview', 'event', 'transaction', 'item', 'social', 'exception', 'timing'.
202
+
203
+
204
+ ## Non-Interaction Hit
205
+
206
+ Pass as: `non-interactionHit` or `ni`
207
+
208
+ Optional. Specifies that a hit be considered non-interactive.
209
+
210
+
211
+ ## Document location URL
212
+
213
+ Pass as: `documentLocationUrl` or `dl`
214
+
215
+ Optional. Use this parameter to send the full URL (document location) of the page on which content resides. You can use the &dh and &dp parameters to override the hostname and path + query portions of the document location, accordingly. The JavaScript clients determine this parameter using the concatenation of the document.location.origin + document.location.pathname + document.location.search browser parameters. Be sure to remove any user authentication or other private information from the URL if present.
216
+
217
+
218
+ ## Document Host Name
219
+
220
+ Pass as: `documentHostName` or `dh`
221
+
222
+ Optional. Specifies the hostname from which content was hosted.
223
+
224
+
225
+ ## Document Path
226
+
227
+ Pass as: `documentPath` or `dp`
228
+
229
+ Optional. The path portion of the page URL. Should begin with '/'.
230
+
231
+
232
+ ## Document Title
233
+
234
+ Pass as: `documentTitle` or `dt`
235
+
236
+ Optional. The title of the page / document.
237
+
238
+
239
+ ## Screen Name
240
+
241
+ Pass as: `screenName` or `cd`
242
+
243
+ Optional. If not specified, this will default to the unique URL of the page by either using the &dl parameter as-is or assembling it from &dh and &dp. App tracking makes use of this for the 'Screen Name' of the screenview hit.
244
+
245
+
246
+ ## Link ID
247
+
248
+ Pass as: `linkId` or `linkid`
249
+
250
+ Optional. The ID of a clicked DOM element, used to disambiguate multiple links to the same URL in In-Page Analytics reports when Enhanced Link Attribution is enabled for the property.
251
+
252
+
253
+ ## Application Name
254
+
255
+ Pass as: `applicationName` or `an`
256
+
257
+ Optional. Specifies the application name.
258
+
259
+
260
+ ## Application ID
261
+
262
+ Pass as: `applicationId` or `aid`
263
+
264
+ Optional. Application identifier.
265
+
266
+
267
+ ## Application Version
268
+
269
+ Pass as: `applicationVersion` or `av`
270
+
271
+ Optional. Specifies the application version.
272
+
273
+
274
+ ## Application Installer ID
275
+
276
+ Pass as: `applicationInstallerId` or `aiid`
277
+
278
+ Optional. Application installer identifier.
279
+
280
+
281
+ ## Event Category
282
+
283
+ Pass as: `eventCategory` or `ec`
284
+
285
+ Optional. Specifies the event category. Must not be empty.
286
+
287
+
288
+ ## Event Action
289
+
290
+ Pass as: `eventAction` or `ea`
291
+
292
+ Optional. Specifies the event action. Must not be empty.
293
+
294
+
295
+ ## Event Label
296
+
297
+ Pass as: `eventLabel` or `el`
298
+
299
+ Optional. Specifies the event label.
300
+
301
+
302
+ ## Event Value
303
+
304
+ Pass as: `eventValue` or `ev`
305
+
306
+ Optional. Specifies the event value. Values must be non-negative.
307
+
308
+
309
+ ## Transaction ID
310
+
311
+ Pass as: `transactionId` or `ti`
312
+
313
+ Required for transaction hit type.Required for item hit type.A unique identifier for the transaction. This value should be the same for both the Transaction hit and Items hits associated to the particular transaction.
314
+
315
+
316
+ ## Transaction Affiliation
317
+
318
+ Pass as: `transactionAffiliation` or `ta`
319
+
320
+ Optional. Specifies the affiliation or store name.
321
+
322
+
323
+ ## Transaction Revenue
324
+
325
+ Pass as: `transactionRevenue` or `tr`
326
+
327
+ Optional. Specifies the total revenue associated with the transaction. This value should include any shipping or tax costs.
328
+
329
+
330
+ ## Transaction Shipping
331
+
332
+ Pass as: `transactionShipping` or `ts`
333
+
334
+ Optional. Specifies the total shipping cost of the transaction.
335
+
336
+
337
+ ## Transaction Tax
338
+
339
+ Pass as: `transactionTax` or `tt`
340
+
341
+ Optional. Specifies the total tax of the transaction.
342
+
343
+
344
+ ## Item Name
345
+
346
+ Pass as: `itemName` or `in`
347
+
348
+ Required for item hit type.Specifies the item name.
349
+
350
+
351
+ ## Item Price
352
+
353
+ Pass as: `itemPrice` or `ip`
354
+
355
+ Optional. Specifies the price for a single item / unit.
356
+
357
+
358
+ ## Item Quantity
359
+
360
+ Pass as: `itemQuantity` or `iq`
361
+
362
+ Optional. Specifies the number of items purchased.
363
+
364
+
365
+ ## Item Code
366
+
367
+ Pass as: `itemCode` or `ic`
368
+
369
+ Optional. Specifies the SKU or item code.
370
+
371
+
372
+ ## Item Category
373
+
374
+ Pass as: `itemCategory` or `iv`
375
+
376
+ Optional. Specifies the category that the item belongs to.
377
+
378
+
379
+ ## Currency Code
380
+
381
+ Pass as: `currencyCode` or `cu`
382
+
383
+ Optional. When present indicates the local currency for all transaction currency values. Value should be a valid ISO 4217 currency code.
384
+
385
+
386
+ ## Social Network
387
+
388
+ Pass as: `socialNetwork` or `sn`
389
+
390
+ Required for social hit type.Specifies the social network, for example Facebook or Google Plus.
391
+
392
+
393
+ ## Social Action
394
+
395
+ Pass as: `socialAction` or `sa`
396
+
397
+ Required for social hit type.Specifies the social interaction action. For example on Google Plus when a user clicks the +1 button, the social action is 'plus'.
398
+
399
+
400
+ ## Social Action Target
401
+
402
+ Pass as: `socialActionTarget` or `st`
403
+
404
+ Required for social hit type.Specifies the target of a social interaction. This value is typically a URL but can be any text.
405
+
406
+
407
+ ## User timing category
408
+
409
+ Pass as: `userTimingCategory` or `utc`
410
+
411
+ Optional. Specifies the user timing category.
412
+
413
+
414
+ ## User timing variable name
415
+
416
+ Pass as: `userTimingVariableName` or `utv`
417
+
418
+ Optional. Specifies the user timing variable.
419
+
420
+
421
+ ## User timing time
422
+
423
+ Pass as: `userTimingTime` or `utt`
424
+
425
+ Optional. Specifies the user timing value. The value is in milliseconds.
426
+
427
+
428
+ ## User timing label
429
+
430
+ Pass as: `userTimingLabel` or `utl`
431
+
432
+ Optional. Specifies the user timing label.
433
+
434
+
435
+ ## Page Load Time
436
+
437
+ Pass as: `pageLoadTime` or `plt`
438
+
439
+ Optional. Specifies the time it took for a page to load. The value is in milliseconds.
440
+
441
+
442
+ ## DNS Time
443
+
444
+ Pass as: `dnsTime` or `dns`
445
+
446
+ Optional. Specifies the time it took to do a DNS lookup. The value is in milliseconds.
447
+
448
+
449
+ ## Page Download Time
450
+
451
+ Pass as: `pageDownloadTime` or `pdt`
452
+
453
+ Optional. Specifies the time it took for the page to be downloaded. The value is in milliseconds.
454
+
455
+
456
+ ## Redirect Response Time
457
+
458
+ Pass as: `redirectResponseTime` or `rrt`
459
+
460
+ Optional. Specifies the time it took for any redirects to happen. The value is in milliseconds.
461
+
462
+
463
+ ## TCP Connect Time
464
+
465
+ Pass as: `tcpConnectTime` or `tcp`
466
+
467
+ Optional. Specifies the time it took for a TCP connection to be made. The value is in milliseconds.
468
+
469
+
470
+ ## Server Response Time
471
+
472
+ Pass as: `serverResponseTime` or `srt`
473
+
474
+ Optional. Specifies the time it took for the server to respond after the connect time. The value is in milliseconds.
475
+
476
+ ## DOM Interactive Time
477
+
478
+ Pass as: `domInteractiveTime` or `dit`
479
+
480
+ Optional. Specifies the time it took for Document.readyState to be 'interactive'. The value is in milliseconds.
481
+
482
+ ## Content Load Time
483
+
484
+ Pass as: `contentLoadTime` or `clt`
485
+
486
+ Optional. Specifies the time it took for the DOMContentLoaded Event to fire. The value is in milliseconds.
487
+
488
+ ## Exception Description
489
+
490
+ Pass as: `exceptionDescription` or `exd`
491
+
492
+ Optional. Specifies the description of an exception.
493
+
494
+
495
+ ## Is Exception Fatal?
496
+
497
+ Pass as: `isExceptionFatal` or `exf`
498
+
499
+ Optional. Specifies whether the exception was fatal.
500
+
501
+
502
+ ## Custom Dimension
503
+
504
+ Pass as: `cd[1-9][0-9]*`
505
+
506
+ Optional. Each custom dimension has an associated index. There is a maximum of 20 custom dimensions (200 for Premium accounts). The name suffix must be a positive integer between 1 and 200, inclusive.
507
+
508
+
509
+ ## Custom Metric
510
+
511
+ Pass as: `cm[1-9][0-9]*`
512
+
513
+ Optional. Each custom metric has an associated index. There is a maximum of 20 custom metrics (200 for Premium accounts). The name suffix must be a positive integer between 1 and 200, inclusive.
514
+
515
+
516
+ ## Content Group
517
+
518
+ Pass as: `cg(10|[0-9])`
519
+
520
+ Optional. Up to 10 content groups are possible.
521
+
522
+
523
+ ## Experiment ID
524
+
525
+ Pass as: `experimentId` or `xid`
526
+
527
+ Optional. This parameter specifies that this user has been exposed to an experiment with the given ID. It should be sent in conjunction with the Experiment Variant parameter.
528
+
529
+
530
+ ## Experiment Variant
531
+
532
+ Pass as: `experimentVariant` or `xvar`
533
+
534
+ Optional. This parameter specifies that this user has been exposed to a particular variation of an experiment. It should be sent in conjunction with the Experiment ID parameter.
535
+
536
+ ## Enhanced e-commerce
537
+
538
+ To use enhanced e-commerce you must explicitly enable it in Google Analytics admin. Some parameters overlap with regular e-commerce tracking (`ti`, `ta`, `tr`, `tt`, `ts`),
539
+ however item tracking is different.
540
+
541
+ You may generate enhanced e-commerce using the [`gampee`](https://www.npmjs.com/package/gampee) module.
542
+
543
+ ### Product SKU
544
+
545
+ Pass as: `pr[0-9]{1,3}id`
546
+
547
+ Optional. The SKU of the product. Product index must be a positive integer between 1 and 200, inclusive. For analytics.js the Enhanced Ecommerce plugin must be installed before using this field.
548
+
549
+ ### Product Name
550
+
551
+ Pass as: `pr[0-9]{1,3}nm`
552
+
553
+ Optional. The name of the product. Product index must be a positive integer between 1 and 200, inclusive. For analytics.js the Enhanced Ecommerce plugin must be installed before using this field.
554
+
555
+ ### Product Brand
556
+
557
+ Pass as: `pr[0-9]{1,3}br`
558
+
559
+ Optional. The brand associated with the product. Product index must be a positive integer between 1 and 200, inclusive. For analytics.js the Enhanced Ecommerce plugin must be installed before using this field.
560
+
561
+ ### Product Category
562
+
563
+ Pass as: `pr[0-9]{1,3}ca`
564
+
565
+ Optional. The category to which the product belongs. Product index must be a positive integer between 1 and 200, inclusive. The product category parameter can be hierarchical. Use / as a delimiter to specify up to 5-levels of hierarchy. For analytics.js the Enhanced Ecommerce plugin must be installed before using this field.
566
+
567
+ ### Product Variant
568
+
569
+ Pass as: `pr[0-9]{1,3}va`
570
+
571
+ Optional. The variant of the product. Product index must be a positive integer between 1 and 200, inclusive. For analytics.js the Enhanced Ecommerce plugin must be installed before using this field.
572
+
573
+ ### Product Price
574
+
575
+ Pass as: `pr[0-9]{1,3}pr`
576
+
577
+ Optional. The price of a product. Product index must be a positive integer between 1 and 200, inclusive. For analytics.js the Enhanced Ecommerce plugin must be installed before using this field.
578
+
579
+ ### Product Quantity
580
+
581
+ Pass as: `pr[0-9]{1,3}qt`
582
+
583
+ Optional. The quantity of a product. Product index must be a positive integer between 1 and 200, inclusive. For analytics.js the Enhanced Ecommerce plugin must be installed before using this field.
584
+
585
+ ### Product Coupon Code
586
+
587
+ Pass as: `pr[0-9]{1,3}cc`
588
+
589
+ Optional. The coupon code associated with a product. Product index must be a positive integer between 1 and 200, inclusive. For analytics.js the Enhanced Ecommerce plugin must be installed before using this field.
590
+
591
+ ### Product Position
592
+
593
+ Pass as: `pr[0-9]{1,3}ps`
594
+
595
+ Optional. The product's position in a list or collection. Product index must be a positive integer between 1 and 200, inclusive. For analytics.js the Enhanced Ecommerce plugin must be installed before using this field.
596
+
597
+ ### Product Custom Dimension
598
+
599
+ Pass as: `pr[0-9]{1,3}cd[0-9]{1,3}`
600
+
601
+ Optional. A product-level custom dimension where dimension index is a positive integer between 1 and 200, inclusive. Product index must be a positive integer between 1 and 200, inclusive. For analytics.js the Enhanced Ecommerce plugin must be installed before using this field.
602
+
603
+ ### Product Custom Metric
604
+
605
+ Pass as: `pr[0-9]{1,3}cm[0-9]{1,3}`
606
+
607
+ Optional. A product-level custom metric where metric index is a positive integer between 1 and 200, inclusive. Product index must be a positive integer between 1 and 200, inclusive. For analytics.js the Enhanced Ecommerce plugin must be installed before using this field.
608
+
609
+ ### Product Action
610
+
611
+ Pass as: `pa`
612
+
613
+ Optional. The role of the products included in a hit. If a product action is not specified, all product definitions included with the hit will be ignored. Must be one of: detail, click, add, remove, checkout, checkout_option, purchase, refund. For analytics.js the Enhanced Ecommerce plugin must be installed before using this field.
614
+
615
+ ### Transaction ID
616
+
617
+ Pass as: `ti`
618
+
619
+ Optional. The transaction ID. This is an additional parameter that can be sent when Product Action is set to 'purchase' or 'refund'. For analytics.js the Enhanced Ecommerce plugin must be installed before using this field.
620
+
621
+ ### Affiliation
622
+
623
+ Pass as: `ta`
624
+
625
+ Optional. The store or affiliation from which this transaction occurred. This is an additional parameter that can be sent when Product Action is set to 'purchase' or 'refund'. For analytics.js the Enhanced Ecommerce plugin must be installed before using this field.
626
+
627
+ ### Revenue
628
+
629
+ Pass as: `tr`
630
+
631
+ Optional. The total value of the transaction, including tax and shipping. If not sent, this value will be automatically calculated using the product quantity and price fields of all products in the same hit. This is an additional parameter that can be sent when Product Action is set to 'purchase' or 'refund'. For analytics.js the Enhanced Ecommerce plugin must be installed before using this field.
632
+
633
+ ### Tax
634
+
635
+ Pass as: `tt`
636
+
637
+ Optional. The total tax associated with the transaction. This is an additional parameter that can be sent when Product Action is set to 'purchase' or 'refund'. For analytics.js the Enhanced Ecommerce plugin must be installed before using this field.
638
+
639
+ ### Shipping
640
+
641
+ Pass as: `ts`
642
+
643
+ Optional. The shipping cost associated with the transaction. This is an additional parameter that can be sent when Product Action is set to 'purchase' or 'refund'. For analytics.js the Enhanced Ecommerce plugin must be installed before using this field.
644
+
645
+ ### Coupon Code
646
+
647
+ Pass as: `tcc`
648
+
649
+ Optional. The transaction coupon redeemed with the transaction. This is an additional parameter that can be sent when Product Action is set to 'purchase' or 'refund'. For analytics.js the Enhanced Ecommerce plugin must be installed before using this field.
650
+
651
+ ### Product Action List
652
+
653
+ Pass as: `pal`
654
+
655
+ Optional. The list or collection from which a product action occurred. This is an additional parameter that can be sent when Product Action is set to 'detail' or 'click'. For analytics.js the Enhanced Ecommerce plugin must be installed before using this field.
656
+
657
+ ### Checkout Step
658
+
659
+ Pass as: `cos`
660
+
661
+ Optional. The step number in a checkout funnel. This is an additional parameter that can be sent when Product Action is set to 'checkout'. For analytics.js the Enhanced Ecommerce plugin must be installed before using this field.
662
+
663
+ ### Checkout Step Option
664
+
665
+ Pass as: `col`
666
+
667
+ Optional. Additional information about a checkout step. This is an additional parameter that can be sent when Product Action is set to 'checkout'. For analytics.js the Enhanced Ecommerce plugin must be installed before using this field.
668
+
669
+ ### Product Impression List Name
670
+
671
+ Pass as: `il[0-9]{1,3}nm`
672
+
673
+ Optional. The list or collection to which a product belongs. Impression List index must be a positive integer between 1 and 200, inclusive. For analytics.js the Enhanced Ecommerce plugin must be installed before using this field.
674
+
675
+ ### Product Impression SKU
676
+
677
+ Pass as: `il[0-9]{1,3}pi[0-9]{1,3}id`
678
+
679
+ Optional. The product ID or SKU. Impression List index must be a positive integer between 1 and 200, inclusive. Product index must be a positive integer between 1 and 200, inclusive. For analytics.js the Enhanced Ecommerce plugin must be installed before using this field.
680
+
681
+ ### Product Impression Name
682
+
683
+ Pass as: `il[0-9]{1,3}pi[0-9]{1,3}nm`
684
+
685
+ Optional. The name of the product. Impression List index must be a positive integer between 1 and 200, inclusive. Product index must be a positive integer between 1 and 200, inclusive. For analytics.js the Enhanced Ecommerce plugin must be installed before using this field.
686
+
687
+ ### Product Impression Brand
688
+
689
+ Pass as: `il[0-9]{1,3}pi[0-9]{1,3}br`
690
+
691
+ Optional. The brand associated with the product. Impression List index must be a positive integer between 1 and 200, inclusive. Product index must be a positive integer between 1 and 200, inclusive. For analytics.js the Enhanced Ecommerce plugin must be installed before using this field.
692
+
693
+ ### Product Impression Category
694
+
695
+ Pass as: `il[0-9]{1,3}pi[0-9]{1,3}ca`
696
+
697
+ Optional. The category to which the product belongs. Impression List index must be a positive integer between 1 and 200, inclusive. Product index must be a positive integer between 1 and 200, inclusive. For analytics.js the Enhanced Ecommerce plugin must be installed before using this field.
698
+
699
+ ### Product Impression Variant
700
+
701
+ Pass as: `il[0-9]{1,3}pi[0-9]{1,3}va`
702
+
703
+ Optional. The variant of the product. Impression List index must be a positive integer between 1 and 200, inclusive. Product index must be a positive integer between 1 and 200, inclusive. For analytics.js the Enhanced Ecommerce plugin must be installed before using this field.
704
+
705
+ ### Product Impression Position
706
+
707
+ Pass as: `il[0-9]{1,3}pi[0-9]{1,3}ps`
708
+
709
+ Optional. The product's position in a list or collection. Impression List index must be a positive integer between 1 and 200, inclusive. Product index must be a positive integer between 1 and 200, inclusive. For analytics.js the Enhanced Ecommerce plugin must be installed before using this field.
710
+
711
+ ### Product Impression Price
712
+
713
+ Pass as: `il[0-9]{1,3}pi[0-9]{1,3}pr`
714
+
715
+ Optional. The price of a product. Impression List index must be a positive integer between 1 and 200, inclusive. Product index must be a positive integer between 1 and 200, inclusive. For analytics.js the Enhanced Ecommerce plugin must be installed before using this field.
716
+
717
+ ### Product Impression Custom Dimension
718
+
719
+ Pass as: `il[0-9]{1,3}pi[0-9]{1,3}cd[0-9]{1,3}`
720
+
721
+ Optional. A product-level custom dimension where dimension index is a positive integer between 1 and 200, inclusive. Impression List index must be a positive integer between 1 and 200, inclusive. Product index must be a positive integer between 1 and 200, inclusive. For analytics.js the Enhanced Ecommerce plugin must be installed before using this field.
722
+
723
+ ### Product Impression Custom Metric
724
+
725
+ Pass as: `il[0-9]{1,3}pi[0-9]{1,3}cm[0-9]{1,3}`
726
+
727
+ Optional. A product-level custom metric where metric index is a positive integer between 1 and 200, inclusive. Impression List index must be a positive integer between 1 and 200, inclusive. Product index must be a positive integer between 1 and 200, inclusive. For analytics.js the Enhanced Ecommerce plugin must be installed before using this field.
728
+
729
+ ### Promotion ID
730
+
731
+ Pass as: `promo[0-9]{1,3}id`
732
+
733
+ Optional. The promotion ID. Promotion index must be a positive integer between 1 and 200, inclusive. For analytics.js the Enhanced Ecommerce plugin must be installed before using this field.
734
+
735
+ ### Promotion Name
736
+
737
+ Pass as: `promo[0-9]{1,3}nm`
738
+
739
+ Optional. The name of the promotion. Promotion index must be a positive integer between 1 and 200, inclusive. For analytics.js the Enhanced Ecommerce plugin must be installed before using this field.
740
+
741
+ ### Promotion Creative
742
+
743
+ Pass as: `promo[0-9]{1,3}cr`
744
+
745
+ Optional. The creative associated with the promotion. Promotion index must be a positive integer between 1 and 200, inclusive. For analytics.js the Enhanced Ecommerce plugin must be installed before using this field.
746
+
747
+ ### Promotion Position
748
+
749
+ Pass as: `promo[0-9]{1,3}ps`
750
+
751
+ Optional. The position of the creative. Promotion index must be a positive integer between 1 and 200, inclusive. For analytics.js the Enhanced Ecommerce plugin must be installed before using this field.
752
+
753
+ ### Promotion Action
754
+
755
+ Pass as: `promoa`
756
+
757
+ Optional. Specifies the role of the promotions included in a hit. If a promotion action is not specified, the default promotion action, 'view', is assumed. To measure a user click on a promotion set this to 'promo_click'. For analytics.js the Enhanced Ecommerce plugin must be installed before using this field.