@segment/analytics.js-integration-amplitude
Advanced tools
Comparing version 2.5.0 to 2.6.0
@@ -0,2 +1,6 @@ | ||
2.6.0 / 2017-09-18 | ||
================== | ||
* Update Amplitude to 3.7.0 | ||
2.5.0 / 2017-08-30 | ||
@@ -3,0 +7,0 @@ ================== |
@@ -25,3 +25,3 @@ 'use strict'; | ||
var src = '//d24n15hnbwhuhn.cloudfront.net/libs/amplitude-3.4.0-min.gz.js'; | ||
var src = '//d24n15hnbwhuhn.cloudfront.net/libs/amplitude-3.7.0-min.gz.js'; | ||
@@ -62,3 +62,3 @@ /** | ||
/* eslint-disable */ | ||
(function(e,t){var r=e.amplitude||{_q:[]};function n(e,t){e.prototype[t]=function(){this._q.push([t].concat(Array.prototype.slice.call(arguments,0)));return this}}var s=function(){this._q=[];return this};var i=["add","append","clearAll","prepend","set","setOnce","unset"];for(var o=0;o<i.length;o++){n(s,i[o])}r.Identify=s;var a=function(){this._q=[];return this;};var u=["setProductId","setQuantity","setPrice","setRevenueType","setEventProperties"];for(var c=0;c<u.length;c++){n(a,u[c])}r.Revenue=a;var p=["init","logEvent","logRevenue","setUserId","setUserProperties","setOptOut","setVersionName","setDomain","setDeviceId","setGlobalUserProperties","identify","clearUserProperties","setGroup","logRevenueV2","regenerateDeviceId"];function l(e){function t(t){e[t]=function(){e._q.push([t].concat(Array.prototype.slice.call(arguments,0)));}}for(var r=0;r<p.length;r++){t(p[r])}}l(r);e.amplitude=r})(window,document); | ||
(function(e,t){var n=e.amplitude||{_q:[],_iq:{}};function r(e,t){e.prototype[t]=function(){this._q.push([t].concat(Array.prototype.slice.call(arguments,0)));return this}}var i=function(){this._q=[];return this};var s=["add","append","clearAll","prepend","set","setOnce","unset"];for(var o=0;o<s.length;o++){r(i,s[o])}n.Identify=i;var a=function(){this._q=[];return this};var u=["setProductId","setQuantity","setPrice","setRevenueType","setEventProperties"];for(var c=0;c<u.length;c++){r(a,u[c])}n.Revenue=a;var l=["init","logEvent","logRevenue","setUserId","setUserProperties","setOptOut","setVersionName","setDomain","setDeviceId","setGlobalUserProperties","identify","clearUserProperties","setGroup","logRevenueV2","regenerateDeviceId","logEventWithTimestamp","logEventWithGroups","setSessionId"];function p(e){function t(t){e[t]=function(){e._q.push([t].concat(Array.prototype.slice.call(arguments,0)))}}for(var n=0;n<l.length;n++){t(l[n])}}p(n);n.getInstance=function(e){e=(!e||e.length===0?"$default_instance":e).toLowerCase();if(!n._iq.hasOwnProperty(e)){n._iq[e]={_q:[]};p(n._iq[e])}return n._iq[e]};e.amplitude=n})(window,document); | ||
/* eslint-enable */ | ||
@@ -243,3 +243,3 @@ | ||
clonedTrack.event = 'Product Purchased'; | ||
// Price and quantity are both required by Amplitude: | ||
// Price and quantity are both required by Amplitude: | ||
// https://amplitude.zendesk.com/hc/en-us/articles/115001361248#tracking-revenue | ||
@@ -246,0 +246,0 @@ // Price could potentially be 0 so handle that edge case. |
{ | ||
"name": "@segment/analytics.js-integration-amplitude", | ||
"description": "The Amplitude analytics.js integration.", | ||
"version": "2.5.0", | ||
"version": "2.6.0", | ||
"keywords": [ | ||
@@ -6,0 +6,0 @@ "analytics.js", |
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
41357
770