Adding custom dimensions
-
Hi there,
We use your plugin for our eCommerce store & it works great so thanks for that.
We want to just send a single custom dimension value for each pageview, which will record if the visitor has subscribed to push notifications of not (this value already exists in a variable).
I’ve tried multiple things including adding the below to the footer:
ga(‘send’, ‘pageview’, { ‘dimension1’: ‘Subscribed’ });However i either can’t get it to track or it says ga is not defined. My script is deferred so it should be running after your plugin script , at which point i’m guessing ga is defined.
Would appreciate your help on this.
Thanks
Will
- The topic ‘Adding custom dimensions’ is closed to new replies.