@snowplow/browser-plugin-ga-cookies
Advanced tools
Comparing version 3.24.4 to 4.0.0-beta.1
/*! | ||
* Attaches GA cookie data to Snowplow events v3.24.4 (http://bit.ly/sp-js) | ||
* Attaches GA cookie data to Snowplow events v4.0.0-beta.1 (http://bit.ly/sp-js) | ||
* Copyright 2022 Snowplow Analytics Ltd, 2010 Anthon Pang | ||
@@ -17,3 +17,3 @@ * Licensed under BSD-3-Clause | ||
ga4MeasurementId: '', | ||
cookiePrefix: [] | ||
cookiePrefix: [], | ||
}; | ||
@@ -39,3 +39,3 @@ /** | ||
schema: UNIVERSAL_ANALYTICS_COOKIES_SCHEMA, | ||
data: {} | ||
data: {}, | ||
}; | ||
@@ -64,3 +64,3 @@ ['__utma', '__utmb', '__utmc', '__utmv', '__utmz', GA_USER_COOKIE].forEach(function (cookieType) { | ||
measurement_id: cookieIdentifier, | ||
session_cookie: sessionCookieValue | ||
session_cookie: sessionCookieValue, | ||
}); | ||
@@ -78,4 +78,4 @@ } | ||
session_cookies: sessionCookies.length ? sessionCookies : undefined, | ||
cookie_prefix: prefix || undefined | ||
} | ||
cookie_prefix: prefix || undefined, | ||
}, | ||
}; | ||
@@ -86,3 +86,3 @@ contexts.push(ga4CookiesContext); | ||
return contexts; | ||
} | ||
}, | ||
}; | ||
@@ -89,0 +89,0 @@ } |
/*! | ||
* Attaches GA cookie data to Snowplow events v3.24.4 (http://bit.ly/sp-js) | ||
* Attaches GA cookie data to Snowplow events v4.0.0-beta.1 (http://bit.ly/sp-js) | ||
* Copyright 2022 Snowplow Analytics Ltd, 2010 Anthon Pang | ||
@@ -55,3 +55,3 @@ * Licensed under BSD-3-Clause | ||
/*! | ||
* Core functionality for Snowplow Browser trackers v3.24.4 (http://bit.ly/sp-js) | ||
* Core functionality for Snowplow Browser trackers v4.0.0-beta.1 (http://bit.ly/sp-js) | ||
* Copyright 2022 Snowplow Analytics Ltd, 2010 Anthon Pang | ||
@@ -95,3 +95,3 @@ * Licensed under BSD-3-Clause | ||
ga4MeasurementId: '', | ||
cookiePrefix: [] | ||
cookiePrefix: [], | ||
}; | ||
@@ -117,3 +117,3 @@ /** | ||
schema: UNIVERSAL_ANALYTICS_COOKIES_SCHEMA, | ||
data: {} | ||
data: {}, | ||
}; | ||
@@ -142,3 +142,3 @@ ['__utma', '__utmb', '__utmc', '__utmv', '__utmz', GA_USER_COOKIE].forEach(function (cookieType) { | ||
measurement_id: cookieIdentifier, | ||
session_cookie: sessionCookieValue | ||
session_cookie: sessionCookieValue, | ||
}); | ||
@@ -156,4 +156,4 @@ } | ||
session_cookies: sessionCookies.length ? sessionCookies : undefined, | ||
cookie_prefix: prefix || undefined | ||
} | ||
cookie_prefix: prefix || undefined, | ||
}, | ||
}; | ||
@@ -164,3 +164,3 @@ contexts.push(ga4CookiesContext); | ||
return contexts; | ||
} | ||
}, | ||
}; | ||
@@ -167,0 +167,0 @@ } |
/*! | ||
* Attaches GA cookie data to Snowplow events v3.24.4 (http://bit.ly/sp-js) | ||
* Attaches GA cookie data to Snowplow events v4.0.0-beta.1 (http://bit.ly/sp-js) | ||
* Copyright 2022 Snowplow Analytics Ltd, 2010 Anthon Pang | ||
@@ -4,0 +4,0 @@ * Licensed under BSD-3-Clause |
{ | ||
"name": "@snowplow/browser-plugin-ga-cookies", | ||
"version": "3.24.4", | ||
"version": "4.0.0-beta.1", | ||
"description": "Attaches GA cookie data to Snowplow events", | ||
@@ -22,4 +22,4 @@ "homepage": "http://bit.ly/sp-js", | ||
"tslib": "^2.3.1", | ||
"@snowplow/browser-tracker-core": "3.24.4", | ||
"@snowplow/tracker-core": "3.24.4" | ||
"@snowplow/browser-tracker-core": "4.0.0-beta.1", | ||
"@snowplow/tracker-core": "4.0.0-beta.1" | ||
}, | ||
@@ -48,3 +48,3 @@ "devDependencies": { | ||
"peerDependencies": { | ||
"@snowplow/browser-tracker": "~3.24.4" | ||
"@snowplow/browser-tracker": "~4.0.0-beta.1" | ||
}, | ||
@@ -51,0 +51,0 @@ "scripts": { |
@@ -13,3 +13,3 @@ # Snowplow GA Cookies Tracking | ||
Part of the Snowplow JavaScript Tracker monorepo. | ||
Build with [Node.js](https://nodejs.org/en/) (18 - 20) and [Rush](https://rushjs.io/). | ||
Build with [Node.js](https://nodejs.org/en/) (14 or 16) and [Rush](https://rushjs.io/). | ||
@@ -16,0 +16,0 @@ ### Setup repository |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
343603
1
+ Added@snowplow/browser-tracker@4.0.4(transitive)
+ Added@snowplow/browser-tracker-core@4.0.0-beta.14.0.4(transitive)
+ Added@snowplow/tracker-core@4.0.0-beta.14.0.4(transitive)
+ Addeduuid@10.0.08.3.2(transitive)
- Removed@snowplow/browser-tracker@3.24.6(transitive)
- Removed@snowplow/browser-tracker-core@3.24.43.24.6(transitive)
- Removed@snowplow/tracker-core@3.24.43.24.6(transitive)
- Removeduuid@3.4.0(transitive)