Skip to content

Commit 37831c5

Browse files
committed
add dimension to pageviews
1 parent 34a541e commit 37831c5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/assets/js/matomoTracking.js

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ const getCookie = (name) => {
66

77
var _paq = (window._paq = window._paq || []);
88
/* tracker methods like "setCustomDimension" should be called before "trackPageView" */
9+
_paq.push(['setCustomDimension', 1, import.meta.env.BRANCH]); // ab-branch
910
_paq.push(["trackPageView"]);
1011
_paq.push(["enableLinkTracking"]);
1112

0 commit comments

Comments
 (0)