Skip to content

Commit bba7aa4

Browse files
Remove browser-features, optimizely, ecommerce and consent plugins, deprecate enhanced ecommerce and performance timing plugins and add web vitals by default (#1345)
Removed plugins - browser-features - optimizely - ecommerce - consent Deprecated plugins - enhanced ecommerce - performance timing Added default plugins in sp.js - web vitals (needs configuration to be enabled) Removed default plugins in sp.js - optimizely-x - timezone Other changes - Add an option to enable performance navigation timing
1 parent 100363e commit bba7aa4

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

57 files changed

+143
-5638
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -61,26 +61,26 @@ jobs:
6161
run: node common/scripts/install-run-rush.js publish -p --pack --include-all
6262

6363
- name: Upload packages
64-
uses: actions/upload-artifact@v2
64+
uses: actions/upload-artifact@v4
6565
with:
6666
name: packages
6767
path: |
6868
./common/temp/artifacts/packages/*
6969
7070
- name: Upload sp.js artifact
71-
uses: actions/upload-artifact@v2
71+
uses: actions/upload-artifact@v4
7272
with:
7373
name: sp.js
7474
path: trackers/javascript-tracker/dist/sp.js
7575

7676
- name: Upload sp.lite.js artifact
77-
uses: actions/upload-artifact@v2
77+
uses: actions/upload-artifact@v4
7878
with:
7979
name: sp.lite.js
8080
path: trackers/javascript-tracker/dist/sp.lite.js
8181

8282
- name: Upload plugins
83-
uses: actions/upload-artifact@v2
83+
uses: actions/upload-artifact@v4
8484
with:
8585
name: plugins.umd
8686
path: |
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"changes": [
3+
{
4+
"packageName": "@snowplow/browser-plugin-performance-timing",
5+
"comment": "Deprecate performance-timing plugin",
6+
"type": "none"
7+
}
8+
],
9+
"packageName": "@snowplow/browser-plugin-performance-timing"
10+
}

common/config/rush/browser-approved-packages.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,10 @@
102102
"name": "@snowplow/browser-plugin-optimizely-x",
103103
"allowedCategories": [ "trackers" ]
104104
},
105+
{
106+
"name": "@snowplow/browser-plugin-performance-navigation-timing",
107+
"allowedCategories": [ "trackers" ]
108+
},
105109
{
106110
"name": "@snowplow/browser-plugin-performance-timing",
107111
"allowedCategories": [ "trackers" ]
@@ -126,6 +130,10 @@
126130
"name": "@snowplow/browser-plugin-vimeo-tracking",
127131
"allowedCategories": [ "trackers" ]
128132
},
133+
{
134+
"name": "@snowplow/browser-plugin-web-vitals",
135+
"allowedCategories": [ "trackers" ]
136+
},
129137
{
130138
"name": "@snowplow/browser-plugin-youtube-tracking",
131139
"allowedCategories": [ "trackers" ]

0 commit comments

Comments
 (0)