- Posts: 13
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
problem with google analytics code
- tonyge
- Topic Author
- Offline
- New Member
Less
More
8 years 5 months 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 manual.limesurvey.org/Survey_settings#No..._.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?
I followed the instructions of the implementation of the Google analytics code in the surveys, (here manual.limesurvey.org/Survey_settings#No..._.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
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13907
- Thank you received: 2546
8 years 5 months ago #127217
by DenisChenu
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
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
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 service on demand , plugin development .
I don't answer to private message.
The following user(s) said Thank You: tonyge
The topic has been locked.
- tonyge
- Topic Author
- Offline
- New Member
Less
More
- Posts: 13
- Thank you received: 0
8 years 5 months ago #127266
by tonyge
Replied by tonyge on topic problem with google analytics code
Thanx, it works!
The topic has been locked.
- autopoiesis
- Offline
- New Member
Less
More
- Posts: 1
- Thank you received: 0
8 years 5 months 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
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.