@se-studio/brightline-shared 1.0.12 → 1.0.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BrightlineAnalyticsAdapter.d.ts","sourceRoot":"","sources":["../../src/adapters/BrightlineAnalyticsAdapter.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EACV,gBAAgB,EAGjB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,WAAW,CAAC;AAOxD,wBAAgB,gCAAgC,CAC9C,MAAM,EAAE,sBAAsB,GAAG,SAAS,GAAG,IAAI,GAChD,gBAAgB,
|
|
1
|
+
{"version":3,"file":"BrightlineAnalyticsAdapter.d.ts","sourceRoot":"","sources":["../../src/adapters/BrightlineAnalyticsAdapter.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EACV,gBAAgB,EAGjB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,WAAW,CAAC;AAOxD,wBAAgB,gCAAgC,CAC9C,MAAM,EAAE,sBAAsB,GAAG,SAAS,GAAG,IAAI,GAChD,gBAAgB,CAgClB"}
|
|
@@ -4,9 +4,8 @@ export function createBrightlineAnalyticsAdapter(config) {
|
|
|
4
4
|
return {
|
|
5
5
|
trackClick(properties) {
|
|
6
6
|
const sectionLabel = properties.location ?? undefined;
|
|
7
|
-
const
|
|
8
|
-
|
|
9
|
-
properties.linkText;
|
|
7
|
+
const rawEventName = properties.trackingInfo?.trackingEventName?.trim();
|
|
8
|
+
const trackingEventName = rawEventName || properties.componentType || properties.linkText || 'click';
|
|
10
9
|
const conversionId = properties.trackingInfo?.conversionId ?? undefined;
|
|
11
10
|
const conversionLabel = properties.trackingInfo?.conversionLabel ?? undefined;
|
|
12
11
|
const data = {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BrightlineAnalyticsAdapter.js","sourceRoot":"","sources":["../../src/adapters/BrightlineAnalyticsAdapter.ts"],"names":[],"mappings":"AAaA,OAAO,EAAE,oBAAoB,EAAE,iBAAiB,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAMhG,MAAM,UAAU,gCAAgC,CAC9C,MAAiD;IAEjD,MAAM,GAAG,GAAG,MAAM,IAAI,SAAS,CAAC;IAChC,OAAO;QACL,UAAU,CAAC,UAAmC;YAC5C,MAAM,YAAY,GAAG,UAAU,CAAC,QAAQ,IAAI,SAAS,CAAC;YACtD,MAAM,
|
|
1
|
+
{"version":3,"file":"BrightlineAnalyticsAdapter.js","sourceRoot":"","sources":["../../src/adapters/BrightlineAnalyticsAdapter.ts"],"names":[],"mappings":"AAaA,OAAO,EAAE,oBAAoB,EAAE,iBAAiB,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAMhG,MAAM,UAAU,gCAAgC,CAC9C,MAAiD;IAEjD,MAAM,GAAG,GAAG,MAAM,IAAI,SAAS,CAAC;IAChC,OAAO;QACL,UAAU,CAAC,UAAmC;YAC5C,MAAM,YAAY,GAAG,UAAU,CAAC,QAAQ,IAAI,SAAS,CAAC;YACtD,MAAM,YAAY,GAAG,UAAU,CAAC,YAAY,EAAE,iBAAiB,EAAE,IAAI,EAAE,CAAC;YACxE,MAAM,iBAAiB,GACrB,YAAY,IAAI,UAAU,CAAC,aAAa,IAAI,UAAU,CAAC,QAAQ,IAAI,OAAO,CAAC;YAC7E,MAAM,YAAY,GAAG,UAAU,CAAC,YAAY,EAAE,YAAY,IAAI,SAAS,CAAC;YACxE,MAAM,eAAe,GAAG,UAAU,CAAC,YAAY,EAAE,eAAe,IAAI,SAAS,CAAC;YAC9E,MAAM,IAAI,GAAG;gBACX,GAAG,UAAU;gBACb,SAAS,EAAE,UAAU,CAAC,SAAS;aAChC,CAAC;YACF,KAAK,oBAAoB,CACvB,GAAG,EACH,YAAY,EACZ,iBAAiB,EACjB,IAAI,EACJ,YAAY,EACZ,eAAe,CAChB,CAAC;QACJ,CAAC;QAED,SAAS,CAAC,IAAY,EAAE,UAAkC;YACxD,KAAK,iBAAiB,CAAC,GAAG,EAAE,UAAU,CAAC,QAAQ,CAAC,CAAC;QACnD,CAAC;QAED,UAAU,CAAC,KAAa,EAAE,UAAmC;YAC3D,KAAK,cAAc,CAAC,GAAG,EAAE,KAAK,EAAE,UAAU,CAAC,CAAC;QAC9C,CAAC;KACF,CAAC;AACJ,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@se-studio/brightline-shared",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.13",
|
|
4
4
|
"description": "Shared components and logic for Brightline and Brightlife Kids",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"@microsoft/clarity": "^1.0.2",
|
|
31
31
|
"@oursprivacy/cdp-sdk": "^1.0.1",
|
|
32
32
|
"@segment/analytics-next": "^1.81.1",
|
|
33
|
-
"@se-studio/core-ui": "1.0.
|
|
33
|
+
"@se-studio/core-ui": "1.0.76"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
36
|
"@biomejs/biome": "^2.3.15",
|