Set the dimension value

This commit is contained in:
Pete LePage
2020-06-24 09:54:54 -04:00
committed by GitHub
parent 7c89d09139
commit 85eb94b725

View File

@ -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');