diff --git a/src/index.ts b/src/index.ts index 1e82b289..774931dd 100644 --- a/src/index.ts +++ b/src/index.ts @@ -23,7 +23,7 @@ if (typeof PRERENDER === 'undefined') { window.ga = window.ga || ((...args) => (ga.q = ga.q || []).push(args)); ga('create', 'UA-128752250-1', 'auto'); ga('set', 'transport', 'beacon'); - ga('set', 'dimensionX', displayMode); + ga('set', 'dimension1', displayMode); ga('send', 'pageview'); // Load the GA script const s = document.createElement('script');