universal-analytics
Advanced tools
Comparing version 0.4.13 to 0.4.14
@@ -1,5 +0,5 @@ | ||
#Acceptable parameters | ||
# Acceptable parameters | ||
------ | ||
##Protocol Version | ||
## Protocol Version | ||
@@ -11,3 +11,3 @@ Pass as: `protocolVersion` or `v` | ||
##Tracking ID / Web Property ID | ||
## Tracking ID / Web Property ID | ||
@@ -19,3 +19,3 @@ Pass as: `trackingId` or `webPropertyId` or `tid` | ||
##Anonymize IP | ||
## Anonymize IP | ||
@@ -27,3 +27,3 @@ Pass as: `anonymizeIp` or `aip` | ||
##Data Source | ||
## Data Source | ||
Pass as: `dataSource` or `ds` | ||
@@ -33,3 +33,3 @@ | ||
##Queue Time | ||
## Queue Time | ||
@@ -41,3 +41,3 @@ Pass as: `queueTime` or `qt` | ||
##Cache Buster | ||
## Cache Buster | ||
@@ -49,3 +49,3 @@ Pass as: `cacheBuster` or `z` | ||
##Client ID | ||
## Client ID | ||
@@ -57,3 +57,3 @@ Pass as: `clientId` or `cid` | ||
##User ID | ||
## User ID | ||
@@ -65,3 +65,3 @@ Pass as: `userId` or `uid` | ||
##Session Control | ||
## Session Control | ||
@@ -73,3 +73,3 @@ Pass as: `sessionControl` or `sc` | ||
##IP Override | ||
## IP Override | ||
@@ -81,3 +81,3 @@ Pass as: `ipOverride` or `uip` | ||
##User Agent Override | ||
## User Agent Override | ||
@@ -89,3 +89,3 @@ Pass as: `userAgentOverride` or `ua` | ||
##Geographical Override | ||
## Geographical Override | ||
@@ -96,3 +96,3 @@ Pass as: `geoid` | ||
##Document Referrer | ||
## Document Referrer | ||
@@ -104,3 +104,3 @@ Pass as: `documentReferrer` or `dr` | ||
##Campaign Name | ||
## Campaign Name | ||
@@ -112,3 +112,3 @@ Pass as: `campaignName` or `cn` | ||
##Campaign Source | ||
## Campaign Source | ||
@@ -120,3 +120,3 @@ Pass as: `campaignSource` or `cs` | ||
##Campaign Medium | ||
## Campaign Medium | ||
@@ -128,3 +128,3 @@ Pass as: `campaignMedium` or `cm` | ||
##Campaign Keyword | ||
## Campaign Keyword | ||
@@ -136,3 +136,3 @@ Pass as: `campaignKeyword` or `ck` | ||
##Campaign Content | ||
## Campaign Content | ||
@@ -144,3 +144,3 @@ Pass as: `campaignContent` or `cc` | ||
##Campaign ID | ||
## Campaign ID | ||
@@ -152,3 +152,3 @@ Pass as: `campaignId` or `ci` | ||
##Google AdWords ID | ||
## Google AdWords ID | ||
@@ -160,3 +160,3 @@ Pass as: `googleAdwordsId` or `gclid` | ||
##Google Display Ads ID | ||
## Google Display Ads ID | ||
@@ -168,3 +168,3 @@ Pass as: `googleDisplayAdsId` or `dclid` | ||
##Screen Resolution | ||
## Screen Resolution | ||
@@ -176,3 +176,3 @@ Pass as: `screenResolution` or `sr` | ||
##Viewport size | ||
## Viewport size | ||
@@ -184,3 +184,3 @@ Pass as: `viewportSize` or `vp` | ||
##Document Encoding | ||
## Document Encoding | ||
@@ -192,3 +192,3 @@ Pass as: `documentEncoding` or `de` | ||
##Screen Colors | ||
## Screen Colors | ||
@@ -200,3 +200,3 @@ Pass as: `screenColors` or `sd` | ||
##User Language | ||
## User Language | ||
@@ -208,3 +208,3 @@ Pass as: `userLanguage` or `ul` | ||
##Java Enabled | ||
## Java Enabled | ||
@@ -223,3 +223,3 @@ Pass as: `javaEnabled` or `je` | ||
##Hit type | ||
## Hit type | ||
@@ -231,3 +231,3 @@ Pass as: `hitType` or `t` | ||
##Non-Interaction Hit | ||
## Non-Interaction Hit | ||
@@ -239,3 +239,3 @@ Pass as: `non-interactionHit` or `ni` | ||
##Document location URL | ||
## Document location URL | ||
@@ -247,3 +247,3 @@ Pass as: `documentLocationUrl` or `dl` | ||
##Document Host Name | ||
## Document Host Name | ||
@@ -255,3 +255,3 @@ Pass as: `documentHostName` or `dh` | ||
##Document Path | ||
## Document Path | ||
@@ -263,3 +263,3 @@ Pass as: `documentPath` or `dp` | ||
##Document Title | ||
## Document Title | ||
@@ -271,3 +271,3 @@ Pass as: `documentTitle` or `dt` | ||
##Screen Name | ||
## Screen Name | ||
@@ -279,3 +279,3 @@ Pass as: `screenName` or `cd` | ||
##Link ID | ||
## Link ID | ||
@@ -287,3 +287,3 @@ Pass as: `linkId` or `linkid` | ||
##Application Name | ||
## Application Name | ||
@@ -295,3 +295,3 @@ Pass as: `applicationName` or `an` | ||
##Application ID | ||
## Application ID | ||
@@ -303,3 +303,3 @@ Pass as: `applicationId` or `aid` | ||
##Application Version | ||
## Application Version | ||
@@ -311,3 +311,3 @@ Pass as: `applicationVersion` or `av` | ||
##Application Installer ID | ||
## Application Installer ID | ||
@@ -319,3 +319,3 @@ Pass as: `applicationInstallerId` or `aiid` | ||
##Event Category | ||
## Event Category | ||
@@ -327,10 +327,10 @@ Pass as: `eventCategory` or `ec` | ||
##Event Action | ||
##E vent Action | ||
Pass as: `eventAction` or `ea` | ||
Optional.Specifies the event action.Must not be empty. | ||
Optional.Specifies the event action. Must not be empty. | ||
##Event Label | ||
## Event Label | ||
@@ -342,3 +342,3 @@ Pass as: `eventLabel` or `el` | ||
##Event Value | ||
## Event Value | ||
@@ -350,3 +350,3 @@ Pass as: `eventValue` or `ev` | ||
##Transaction ID | ||
## Transaction ID | ||
@@ -358,3 +358,3 @@ Pass as: `transactionId` or `ti` | ||
##Transaction Affiliation | ||
## Transaction Affiliation | ||
@@ -373,3 +373,3 @@ Pass as: `transactionAffiliation` or `ta` | ||
##Transaction Shipping | ||
## Transaction Shipping | ||
@@ -381,3 +381,3 @@ Pass as: `transactionShipping` or `ts` | ||
##Transaction Tax | ||
## Transaction Tax | ||
@@ -389,3 +389,3 @@ Pass as: `transactionTax` or `tt` | ||
##Item Name | ||
## Item Name | ||
@@ -397,3 +397,3 @@ Pass as: `itemName` or `in` | ||
##Item Price | ||
## Item Price | ||
@@ -405,3 +405,3 @@ Pass as: `itemPrice` or `ip` | ||
##Item Quantity | ||
## Item Quantity | ||
@@ -413,3 +413,3 @@ Pass as: `itemQuantity` or `iq` | ||
##Item Code | ||
## Item Code | ||
@@ -421,3 +421,3 @@ Pass as: `itemCode` or `ic` | ||
##Item Category | ||
## Item Category | ||
@@ -429,3 +429,3 @@ Pass as: `itemCategory` or `iv` | ||
##Currency Code | ||
## Currency Code | ||
@@ -437,3 +437,3 @@ Pass as: `currencyCode` or `cu` | ||
##Social Network | ||
## Social Network | ||
@@ -445,3 +445,3 @@ Pass as: `socialNetwork` or `sn` | ||
##Social Action | ||
## Social Action | ||
@@ -453,3 +453,3 @@ Pass as: `socialAction` or `sa` | ||
##Social Action Target | ||
## Social Action Target | ||
@@ -461,3 +461,3 @@ Pass as: `socialActionTarget` or `st` | ||
##User timing category | ||
## User timing category | ||
@@ -469,3 +469,3 @@ Pass as: `userTimingCategory` or `utc` | ||
##User timing variable name | ||
## User timing variable name | ||
@@ -477,3 +477,3 @@ Pass as: `userTimingVariableName` or `utv` | ||
##User timing time | ||
## User timing time | ||
@@ -485,3 +485,3 @@ Pass as: `userTimingTime` or `utt` | ||
##User timing label | ||
## User timing label | ||
@@ -493,3 +493,3 @@ Pass as: `userTimingLabel` or `utl` | ||
##Page Load Time | ||
## Page Load Time | ||
@@ -501,10 +501,10 @@ Pass as: `pageLoadTime` or `plt` | ||
##DNS Time | ||
## DNS Time | ||
Pass as: `dnsTime` or `dns` | ||
Optional. Specifies the time it took to do a DNS lookup.The value is in milliseconds. | ||
Optional. Specifies the time it took to do a DNS lookup. The value is in milliseconds. | ||
##Page Download Time | ||
## Page Download Time | ||
@@ -516,3 +516,3 @@ Pass as: `pageDownloadTime` or `pdt` | ||
##Redirect Response Time | ||
## Redirect Response Time | ||
@@ -524,3 +524,3 @@ Pass as: `redirectResponseTime` or `rrt` | ||
##TCP Connect Time | ||
## TCP Connect Time | ||
@@ -532,3 +532,3 @@ Pass as: `tcpConnectTime` or `tcp` | ||
##Server Response Time | ||
## Server Response Time | ||
@@ -539,3 +539,3 @@ Pass as: `serverResponseTime` or `srt` | ||
##DOM Interactive Time | ||
## DOM Interactive Time | ||
@@ -546,3 +546,3 @@ Pass as: `domInteractiveTime` or `dit` | ||
##Content Load Time | ||
## Content Load Time | ||
@@ -553,3 +553,3 @@ Pass as: `contentLoadTime` or `clt` | ||
##Exception Description | ||
## Exception Description | ||
@@ -561,3 +561,3 @@ Pass as: `exceptionDescription` or `exd` | ||
##Is Exception Fatal? | ||
## Is Exception Fatal? | ||
@@ -569,3 +569,3 @@ Pass as: `isExceptionFatal` or `exf` | ||
##Custom Dimension | ||
## Custom Dimension | ||
@@ -577,3 +577,3 @@ Pass as: `cd[1-9][0-9]*` | ||
##Custom Metric | ||
## Custom Metric | ||
@@ -585,3 +585,3 @@ Pass as: `cm[1-9][0-9]*` | ||
##Content Group | ||
## Content Group | ||
@@ -593,3 +593,3 @@ Pass as: `cg(10|[0-9])` | ||
##Experiment ID | ||
## Experiment ID | ||
@@ -601,3 +601,3 @@ Pass as: `experimentId` or `xid` | ||
##Experiment Variant | ||
## Experiment Variant | ||
@@ -608,3 +608,3 @@ Pass as: `experimentVariant` or `xvar` | ||
##Enhanced e-commerce | ||
## Enhanced e-commerce | ||
@@ -616,3 +616,3 @@ 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`), | ||
###Product SKU | ||
### Product SKU | ||
@@ -623,3 +623,3 @@ Pass as: `pr[0-9]{1,3}id` | ||
###Product Name | ||
### Product Name | ||
@@ -630,3 +630,3 @@ Pass as: `pr[0-9]{1,3}nm` | ||
###Product Brand | ||
### Product Brand | ||
@@ -637,3 +637,3 @@ Pass as: `pr[0-9]{1,3}br` | ||
###Product Category | ||
### Product Category | ||
@@ -644,3 +644,3 @@ Pass as: `pr[0-9]{1,3}ca` | ||
###Product Variant | ||
### Product Variant | ||
@@ -651,3 +651,3 @@ Pass as: `pr[0-9]{1,3}va` | ||
###Product Price | ||
### Product Price | ||
@@ -658,3 +658,3 @@ Pass as: `pr[0-9]{1,3}pr` | ||
###Product Quantity | ||
### Product Quantity | ||
@@ -665,3 +665,3 @@ Pass as: `pr[0-9]{1,3}qt` | ||
###Product Coupon Code | ||
### Product Coupon Code | ||
@@ -672,3 +672,3 @@ Pass as: `pr[0-9]{1,3}cc` | ||
###Product Position | ||
### Product Position | ||
@@ -679,3 +679,3 @@ Pass as: `pr[0-9]{1,3}ps` | ||
###Product Custom Dimension | ||
### Product Custom Dimension | ||
@@ -686,3 +686,3 @@ Pass as: `pr[0-9]{1,3}cd[0-9]{1,3}` | ||
###Product Custom Metric | ||
### Product Custom Metric | ||
@@ -693,3 +693,3 @@ Pass as: `pr[0-9]{1,3}cm[0-9]{1,3}` | ||
###Product Action | ||
### Product Action | ||
@@ -700,3 +700,3 @@ Pass as: `pa` | ||
###Transaction ID | ||
### Transaction ID | ||
@@ -707,3 +707,3 @@ Pass as: `ti` | ||
###Affiliation | ||
### Affiliation | ||
@@ -714,3 +714,3 @@ Pass as: `ta` | ||
###Revenue | ||
### Revenue | ||
@@ -721,3 +721,3 @@ Pass as: `tr` | ||
###Tax | ||
### Tax | ||
@@ -728,3 +728,3 @@ Pass as: `tt` | ||
###Shipping | ||
### Shipping | ||
@@ -735,3 +735,3 @@ Pass as: `ts` | ||
###Coupon Code | ||
### Coupon Code | ||
@@ -742,3 +742,3 @@ Pass as: `tcc` | ||
###Product Action List | ||
### Product Action List | ||
@@ -749,3 +749,3 @@ Pass as: `pal` | ||
###Checkout Step | ||
### Checkout Step | ||
@@ -756,3 +756,3 @@ Pass as: `cos` | ||
###Checkout Step Option | ||
### Checkout Step Option | ||
@@ -763,3 +763,3 @@ Pass as: `col` | ||
###Product Impression List Name | ||
### Product Impression List Name | ||
@@ -770,3 +770,3 @@ Pass as: `il[0-9]{1,3}nm` | ||
###Product Impression SKU | ||
### Product Impression SKU | ||
@@ -777,3 +777,3 @@ Pass as: `il[0-9]{1,3}pi[0-9]{1,3}id` | ||
###Product Impression Name | ||
### Product Impression Name | ||
@@ -784,3 +784,3 @@ Pass as: `il[0-9]{1,3}pi[0-9]{1,3}nm` | ||
###Product Impression Brand | ||
### Product Impression Brand | ||
@@ -791,3 +791,3 @@ Pass as: `il[0-9]{1,3}pi[0-9]{1,3}br` | ||
###Product Impression Category | ||
### Product Impression Category | ||
@@ -798,3 +798,3 @@ Pass as: `il[0-9]{1,3}pi[0-9]{1,3}ca` | ||
###Product Impression Variant | ||
### Product Impression Variant | ||
@@ -805,3 +805,3 @@ Pass as: `il[0-9]{1,3}pi[0-9]{1,3}va` | ||
###Product Impression Position | ||
### Product Impression Position | ||
@@ -812,3 +812,3 @@ Pass as: `il[0-9]{1,3}pi[0-9]{1,3}ps` | ||
###Product Impression Price | ||
### Product Impression Price | ||
@@ -819,3 +819,3 @@ Pass as: `il[0-9]{1,3}pi[0-9]{1,3}pr` | ||
###Product Impression Custom Dimension | ||
### Product Impression Custom Dimension | ||
@@ -826,3 +826,3 @@ Pass as: `il[0-9]{1,3}pi[0-9]{1,3}cd[0-9]{1,3}` | ||
###Product Impression Custom Metric | ||
### Product Impression Custom Metric | ||
@@ -833,3 +833,3 @@ Pass as: `il[0-9]{1,3}pi[0-9]{1,3}cm[0-9]{1,3}` | ||
###Promotion ID | ||
### Promotion ID | ||
@@ -840,3 +840,3 @@ Pass as: `promo[0-9]{1,3}id` | ||
###Promotion Name | ||
### Promotion Name | ||
@@ -847,3 +847,3 @@ Pass as: `promo[0-9]{1,3}nm` | ||
###Promotion Creative | ||
### Promotion Creative | ||
@@ -854,3 +854,3 @@ Pass as: `promo[0-9]{1,3}cr` | ||
###Promotion Position | ||
### Promotion Position | ||
@@ -861,3 +861,3 @@ Pass as: `promo[0-9]{1,3}ps` | ||
###Promotion Action | ||
### Promotion Action | ||
@@ -864,0 +864,0 @@ Pass as: `promoa` |
# History | ||
## 0.4.14 / 2017-08-07 | ||
- Updated AcceptableParams.md | ||
- Updated .travis.yml to test Node.js up to 8 | ||
- Updated package.json to be more specific about Sinon | ||
## 0.4.13 / 2017-03-29 | ||
@@ -4,0 +10,0 @@ |
{ | ||
"name": "universal-analytics", | ||
"version": "0.4.13", | ||
"version": "0.4.14", | ||
"description": "A node module for Google's Universal Analytics tracking", | ||
@@ -22,2 +22,3 @@ "main": "index.js", | ||
"request": "2.x", | ||
"sinon": "^1.17.7", | ||
"underscore": "1.x", | ||
@@ -28,3 +29,3 @@ "uuid": "^3.0.0" | ||
"should": "*", | ||
"sinon": "*", | ||
"sinon": "^2", | ||
"mocha": "*" | ||
@@ -31,0 +32,0 @@ }, |
@@ -425,18 +425,18 @@ universal-analytics | ||
The following method signatures are available for #transaction: | ||
The following method signatures are available for #item: | ||
* `Visitor#transaction(price)` | ||
* `Visitor#transaction(price, callback)` | ||
* `Visitor#transaction(price, quantity)` | ||
* `Visitor#transaction(price, quantity, callback)` | ||
* `Visitor#transaction(price, quantity, sku)` | ||
* `Visitor#transaction(price, quantity, sku, callback)` | ||
* `Visitor#transaction(price, quantity, sku, name)` | ||
* `Visitor#transaction(price, quantity, sku, name, callback)` | ||
* `Visitor#transaction(price, quantity, sku, name, variation)` | ||
* `Visitor#transaction(price, quantity, sku, name, variation, callback)` | ||
* `Visitor#transaction(price, quantity, sku, name, variation, params)` | ||
* `Visitor#transaction(price, quantity, sku, name, variation, params, callback)` | ||
* `Visitor#transaction(params)` | ||
* `Visitor#transaction(params, callback)` | ||
* `Visitor#item(price)` | ||
* `Visitor#item(price, callback)` | ||
* `Visitor#item(price, quantity)` | ||
* `Visitor#item(price, quantity, callback)` | ||
* `Visitor#item(price, quantity, sku)` | ||
* `Visitor#item(price, quantity, sku, callback)` | ||
* `Visitor#item(price, quantity, sku, name)` | ||
* `Visitor#item(price, quantity, sku, name, callback)` | ||
* `Visitor#item(price, quantity, sku, name, variation)` | ||
* `Visitor#item(price, quantity, sku, name, variation, callback)` | ||
* `Visitor#item(price, quantity, sku, name, variation, params)` | ||
* `Visitor#item(price, quantity, sku, name, variation, params, callback)` | ||
* `Visitor#item(params)` | ||
* `Visitor#item(params, callback)` | ||
@@ -443,0 +443,0 @@ See also: [List of acceptable params](AcceptableParams.md). |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
166291
5
+ Addedsinon@^1.17.7
+ Addedavailable-typed-arrays@1.0.7(transitive)
+ Addedcall-bind@1.0.7(transitive)
+ Addeddefine-data-property@1.1.4(transitive)
+ Addedes-define-property@1.0.0(transitive)
+ Addedes-errors@1.3.0(transitive)
+ Addedfor-each@0.3.3(transitive)
+ Addedformatio@1.1.1(transitive)
+ Addedfunction-bind@1.1.2(transitive)
+ Addedget-intrinsic@1.2.4(transitive)
+ Addedgopd@1.0.1(transitive)
+ Addedhas-property-descriptors@1.0.2(transitive)
+ Addedhas-proto@1.0.3(transitive)
+ Addedhas-symbols@1.0.3(transitive)
+ Addedhas-tostringtag@1.0.2(transitive)
+ Addedhasown@2.0.2(transitive)
+ Addedinherits@2.0.4(transitive)
+ Addedis-arguments@1.1.1(transitive)
+ Addedis-callable@1.2.7(transitive)
+ Addedis-generator-function@1.0.10(transitive)
+ Addedis-typed-array@1.1.13(transitive)
+ Addedlolex@1.3.2(transitive)
+ Addedpossible-typed-array-names@1.0.0(transitive)
+ Addedsamsam@1.1.2(transitive)
+ Addedset-function-length@1.2.2(transitive)
+ Addedsinon@1.17.7(transitive)
+ Addedutil@0.12.5(transitive)
+ Addedwhich-typed-array@1.1.15(transitive)