@snowplow/browser-tracker
Advanced tools
Comparing version 3.11.0 to 3.12.0
/*! | ||
* Browser tracker for Snowplow v3.11.0 (http://bit.ly/sp-js) | ||
* Browser tracker for Snowplow v3.12.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.11.0 (http://bit.ly/sp-js) | ||
* Browser tracker for Snowplow v3.12.0 (http://bit.ly/sp-js) | ||
* Copyright 2022 Snowplow Analytics Ltd, 2010 Anthon Pang | ||
@@ -83,6 +83,6 @@ * Licensed under BSD-3-Clause | ||
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(Hc){var d="js-".concat("3.11.0");Ra.hasOwnProperty(a)?a=null:(Ra[a]=Zc(a,a,d,b,Hc,c),a=Ra[a]);return 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= | ||
c&&(c={});if(Hc){var d="js-".concat("3.12.0");Ra.hasOwnProperty(a)?a=null:(Ra[a]=Zc(a,a,d,b,Hc,c),a=Ra[a]);return 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 d=c.track,f=a.event,g=f.schema,h=f.data;f=Sa();g={schema:"iglu:com.snowplowanalytics.snowplow/unstruct_event/jsonschema/1-0-0",data:{schema:g,data:h}};f.add("e","ue");f.addJson("ue_px","ue_pr",g);d.call(c,f,a.context, | ||
a.timestamp)})};w.trackStructEvent=function(a,b){C(b,function(c){c=c.core;var d=c.track,f=a.category,g=a.action,h=a.label,m=a.property,r=a.value,n=Sa();n.add("e","se");n.add("se_ca",f);n.add("se_ac",g);n.add("se_la",h);n.add("se_pr",m);n.add("se_va",null==r?void 0:r.toString());d.call(c,n,a.context,a.timestamp)})};w.updatePageActivity=function(a){C(a,function(b){b.updatePageActivity()})};w.version="3.11.0";Object.defineProperty(w,"__esModule",{value:!0})}) | ||
a.timestamp)})};w.trackStructEvent=function(a,b){C(b,function(c){c=c.core;var d=c.track,f=a.category,g=a.action,h=a.label,m=a.property,r=a.value,n=Sa();n.add("e","se");n.add("se_ca",f);n.add("se_ac",g);n.add("se_la",h);n.add("se_pr",m);n.add("se_va",null==r?void 0:r.toString());d.call(c,n,a.context,a.timestamp)})};w.updatePageActivity=function(a){C(a,function(b){b.updatePageActivity()})};w.version="3.12.0";Object.defineProperty(w,"__esModule",{value:!0})}) | ||
//# sourceMappingURL=index.umd.min.js.map |
{ | ||
"name": "@snowplow/browser-tracker", | ||
"version": "3.11.0", | ||
"version": "3.12.0", | ||
"description": "Browser tracker for Snowplow", | ||
@@ -35,4 +35,4 @@ "keywords": [ | ||
"dependencies": { | ||
"@snowplow/browser-tracker-core": "3.11.0", | ||
"@snowplow/tracker-core": "3.11.0", | ||
"@snowplow/browser-tracker-core": "3.12.0", | ||
"@snowplow/tracker-core": "3.12.0", | ||
"tslib": "^2.3.1" | ||
@@ -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.12.0(transitive)
+ Added@snowplow/tracker-core@3.12.0(transitive)
- Removed@snowplow/browser-tracker-core@3.11.0(transitive)
- Removed@snowplow/tracker-core@3.11.0(transitive)