Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

problem with google analytics code

  • tonyge
  • tonyge's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
9 years 3 weeks ago #127214 by tonyge
problem with google analytics code was created by tonyge
Hi.
I followed the instructions of the implementation of the Google analytics code in the surveys, (here www.limesurvey.org/manual/Survey_setting..._.26_data_management )
and waited but Google didn't report any data. I'm not so technically advanced but I can see there is some error, generated in the code, as you can see in the source of the page. ( survey.economedia.bg/index.php/71539?newtest=Y )
First, I thought that it is a problem of the template (we use the paid ttf responsive template), but also tried it with the default one and nothing changed.
Also, we use Universal analytics (and not the Standard Google Analytics), could be that a problem?
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Away
  • LimeSurvey Community Team & Official Partner
  • LimeSurvey Community Team & Official Partner
More
9 years 3 weeks ago #127217 by DenisChenu
Replied by DenisChenu on topic problem with google analytics code
Hi,

Yes there are a bug in last version. Fixed with this fix : github.com/LimeSurvey/LimeSurvey/commit/...2171dd5a84720c0fc855

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member. - Professional support - Plugins, theme and development .
I don't answer to private message.
The following user(s) said Thank You: tonyge
The topic has been locked.
  • tonyge
  • tonyge's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
9 years 3 weeks ago #127266 by tonyge
Replied by tonyge on topic problem with google analytics code
Thanx, it works!
The topic has been locked.
More
9 years 3 weeks ago #127378 by autopoiesis
Replied by autopoiesis on topic problem with google analytics code
Hi, I think there is still an error in the code for the configuration of virtualized urls.
github.com/LimeSurvey/LimeSurvey/blob/68...lacements_helper.php
Row 509-510
ga('send', 'pageview');
ga('send', 'pageview', '$_trackURL');

should be only:
ga('send', 'pageview', '$_trackURL');

Best
The topic has been locked.
Moderators: tpartnerholch

Lime-years ahead

Online-surveys for every purse and purpose