setVar not working in 1.8.6
See original GitHub issueI am not seeing any variable I set via setvar()
this.ga.startTrackerWithId("UA-xxxxx-1", 1).then(() => { console.debug('Google analytics is ready now; this.ga.setVar('cn', 'as8eknlll') this.ga.debugMode() this.pageAndEventTracking(); }).catch(e => console.error('Error starting GoogleAnalytics', e));
in my debug it shows this:
09-28 19:38:10.094 D/GAv4 (27925): Hit delivery requested: ht=1538156290063, _s=2265, _v=ma12.4.51, a=123740524, aid=com.xxx.app, an=xxx, av=0.0.4, cd=blog, cid=xxx-xxx-xxx, ea=category, ec=xxx, el=xxx, ev=0, sr=1080x1920, t=event, tid=UA-xxxx-1, ul=en-nl, v=1
addCustomDimension() does seem to work just not setVar()
Issue Analytics
- State:
- Created 5 years ago
- Comments:5
Top Results From Across the Web
SQL Server ':setvar' Error
The :setvar only works in SQL command mode, so you are possibly within normal SQL execution in the management studio and have not...
Read more >sql server stored pro - setvar
Simply put, ':SETVAR' and '$' are used to declare variable and use variable in SQLCMD Mode. The ':SETVAR' only works in SQL command...
Read more >sb3tosb2/sb3tosb2.py at master · RexScratch/sb3tosb2
Converts SB3 files to SB2 files. Contribute to RexScratch/sb3tosb2 development by creating an account on GitHub.
Read more >ASTERISK-17866: [patch] MWI last-msgs-sent is mis-reported
Attaching a possible patch, which compiles, but which I have not yet tested. ... I've now load-tested this change with no obvious issues....
Read more >Changelog - Open Stage Control
launcher: Ctrl+M keyboard shortcut not working; widgets: regression ... scripting: setVar not affecting all widgets when multiple widgets match provided id.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@fishgrind I had this issue as well. You need to include the ampersand in the param:
this.ga.setVar('&cn', ...)
Wow ! Thanks so much @fishgrind , you saved my day !