@snowplow/browser-tracker
Advanced tools
Comparing version 3.2.3 to 3.3.0
/*! | ||
* Browser tracker for Snowplow v3.2.3 (http://bit.ly/sp-js) | ||
* Browser tracker for Snowplow v3.3.0 (http://bit.ly/sp-js) | ||
* Copyright 2022 Snowplow Analytics Ltd, 2010 Anthon Pang | ||
@@ -4,0 +4,0 @@ * Licensed under BSD-3-Clause |
/*! | ||
* Browser tracker for Snowplow v3.2.3 (http://bit.ly/sp-js) | ||
* Browser tracker for Snowplow v3.3.0 (http://bit.ly/sp-js) | ||
* Copyright 2022 Snowplow Analytics Ltd, 2010 Anthon Pang | ||
@@ -74,7 +74,7 @@ * Licensed under BSD-3-Clause | ||
w.clearUserData=function(a,b){C(b,function(c){c.clearUserData(a)})};w.crossDomainLinker=function(a,b){C(b,function(c){c.crossDomainLinker(a)})};w.disableAnonymousTracking=function(a,b){C(b,function(c){c.disableAnonymousTracking(a)})};w.discardBrace=function(a,b){C(b,function(c){c.discardBrace(a)})};w.discardHashTag=function(a,b){C(b,function(c){c.discardHashTag(a)})};w.enableActivityTracking=function(a,b){C(b,function(c){c.enableActivityTracking(a)})};w.enableActivityTrackingCallback=function(a,b){C(b, | ||
function(c){c.enableActivityTrackingCallback(a)})};w.enableAnonymousTracking=function(a,b){C(b,function(c){c.enableAnonymousTracking(a)})};w.flushBuffer=function(a,b){C(b,function(c){c.flushBuffer(a)})};w.newSession=function(a){C(a,function(b){b.newSession()})};w.newTracker=function(a,b,c){void 0===c&&(c={});if(mc)return Pa.hasOwnProperty(a)?a=null:(Pa[a]=Cc(a,a,"js-3.2.3",b,mc,c),a=Pa[a]),a};w.preservePageViewId=function(a){C(a,function(b){b.preservePageViewId()})};w.removeGlobalContexts=function(a, | ||
function(c){c.enableActivityTrackingCallback(a)})};w.enableAnonymousTracking=function(a,b){C(b,function(c){c.enableAnonymousTracking(a)})};w.flushBuffer=function(a,b){C(b,function(c){c.flushBuffer(a)})};w.newSession=function(a){C(a,function(b){b.newSession()})};w.newTracker=function(a,b,c){void 0===c&&(c={});if(mc)return Pa.hasOwnProperty(a)?a=null:(Pa[a]=Cc(a,a,"js-3.3.0",b,mc,c),a=Pa[a]),a};w.preservePageViewId=function(a){C(a,function(b){b.preservePageViewId()})};w.removeGlobalContexts=function(a, | ||
b){C(b,function(c){c.core.removeGlobalContexts(a)})};w.setBufferSize=function(a,b){C(b,function(c){c.setBufferSize(a)})};w.setCollectorUrl=function(a,b){C(b,function(c){c.setCollectorUrl(a)})};w.setCookiePath=function(a,b){C(b,function(c){c.setCookiePath(a)})};w.setCustomUrl=function(a,b){C(b,function(c){c.setCustomUrl(a)})};w.setDocumentTitle=function(a,b){C(b,function(c){c.setDocumentTitle(a)})};w.setOptOutCookie=function(a,b){C(b,function(c){c.setOptOutCookie(a)})};w.setReferrerUrl=function(a, | ||
b){C(b,function(c){c.setReferrerUrl(a)})};w.setUserId=function(a,b){C(b,function(c){c.setUserId(a)})};w.setUserIdFromCookie=function(a,b){C(b,function(c){c.setUserIdFromCookie(a)})};w.setUserIdFromLocation=function(a,b){C(b,function(c){c.setUserIdFromLocation(a)})};w.setUserIdFromReferrer=function(a,b){C(b,function(c){c.setUserIdFromReferrer(a)})};w.setVisitorCookieTimeout=function(a,b){C(b,function(c){c.setVisitorCookieTimeout(a)})};w.trackPageView=function(a,b){C(b,function(c){c.trackPageView(a)})}; | ||
w.trackSelfDescribingEvent=function(a,b){C(b,function(c){c=c.core;var e=c.track,g=a.event,f=g.schema,l=g.data;g=Qa();f={schema:"iglu:com.snowplowanalytics.snowplow/unstruct_event/jsonschema/1-0-0",data:{schema:f,data:l}};g.add("e","ue");g.addJson("ue_px","ue_pr",f);e.call(c,g,a.context,a.timestamp)})};w.trackStructEvent=function(a,b){C(b,function(c){c=c.core;var e=c.track,g=a.category,f=a.action,l=a.label,m=a.property,q=a.value,z=Qa();z.add("e","se");z.add("se_ca",g);z.add("se_ac",f);z.add("se_la", | ||
l);z.add("se_pr",m);z.add("se_va",null==q?void 0:q.toString());e.call(c,z,a.context,a.timestamp)})};w.updatePageActivity=function(a){C(a,function(b){b.updatePageActivity()})};w.version="3.2.3";Object.defineProperty(w,"__esModule",{value:!0})}) | ||
l);z.add("se_pr",m);z.add("se_va",null==q?void 0:q.toString());e.call(c,z,a.context,a.timestamp)})};w.updatePageActivity=function(a){C(a,function(b){b.updatePageActivity()})};w.version="3.3.0";Object.defineProperty(w,"__esModule",{value:!0})}) | ||
//# sourceMappingURL=index.umd.min.js.map |
{ | ||
"name": "@snowplow/browser-tracker", | ||
"version": "3.2.3", | ||
"version": "3.3.0", | ||
"description": "Browser tracker for Snowplow", | ||
@@ -35,4 +35,4 @@ "keywords": [ | ||
"dependencies": { | ||
"@snowplow/browser-tracker-core": "3.2.3", | ||
"@snowplow/tracker-core": "3.2.3", | ||
"@snowplow/browser-tracker-core": "3.3.0", | ||
"@snowplow/tracker-core": "3.3.0", | ||
"tslib": "^2.3.0" | ||
@@ -39,0 +39,0 @@ }, |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
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
+ Added@snowplow/browser-tracker-core@3.3.0(transitive)
+ Added@snowplow/tracker-core@3.3.0(transitive)
- Removed@snowplow/browser-tracker-core@3.2.3(transitive)
- Removed@snowplow/tracker-core@3.2.3(transitive)
Updated@snowplow/tracker-core@3.3.0