Google Analytics Javascript does not appear

Mehr
3 Jahre 4 Tage her #143299 von edwardhaase
I have configured the UA-Tracking-ID into the [GLOBAL SETTINGS][GENERAL][Google Analytics API key] as in picture 1. (I know, that is not an API key, so maybe there is another place to config the Tracking-ID it, which I havn't found :().

UA-Tracking-ID within the {GOOGLE_ANALYTICS_JAVASCRIPT}-placeholder of 'startpage.pstpl' is not shown and replaced as shown in picture 2.

What did I made wrong?
Anhänge:

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

LimeSurvey Partners
Mehr
3 Jahre 4 Tage her #143300 von holch
From your second screenshot I assume that you want to use GA in a survey, not for the LS Administration.

Did you make the respective settings for this survey:


I'm not a LimeSurvey GmbH member. I answer at the LimeSurvey forum in my spare time. No support via private message.
Some helpful links: Manual (EN) | Question Types | Workarounds
Anhänge:
Folgende Benutzer bedankten sich: edwardhaase

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

Mehr
3 Jahre 4 Tage her #143352 von edwardhaase
That is the missing glue which solves the problem... I didn't found that in the manual, may you will check the search-box functionality. When you enter [Google Analytics] into the upper right search-box, the result set does only contain links to the global settings and nothing about the survey specific configuration.
Thanks

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

Mehr
3 Jahre 4 Tage her #143367 von holch
Great that this solved the problem.

If you feel that something is missing in the manual, you can always add it. The manual is a wiki and you should be able to access it with your login from the forum. The project depends on the participation of the community!

I'm not a LimeSurvey GmbH member. I answer at the LimeSurvey forum in my spare time. No support via private message.
Some helpful links: Manual (EN) | Question Types | Workarounds

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

Mehr
1 Jahr 5 Monate her #168052 von joseagc
Hi Holch,

we need to use GA in every survey that is created by our customers, but when a survey is created the "Google Analytics settings" option by default is none, and some customers forget changing the "Google Analytics settings" option. How can I force the "Google Analytics settings" option to have the value "use global settings" when creating a survey?

I don't see the way in the global setting the LS Administration.

Thanks

José A

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

Mehr
1 Jahr 5 Monate her #168060 von holch
I have no idea.

But I personally would refrain from using GA together with surveys anyway. The privacy and data protection issues are just too complicated for me to open this wasp nest.

I'm not a LimeSurvey GmbH member. I answer at the LimeSurvey forum in my spare time. No support via private message.
Some helpful links: Manual (EN) | Question Types | Workarounds

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

Mehr
1 Jahr 5 Monate her #168231 von joseagc
ok, i'll take your advice into account,

thanks

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

Mehr
9 Monate 5 Tage her #179403 von MackFord
Hi, please let me know how to add google analytics code in the site.

Thanks in advance for your help,

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

Mehr
3 Wochen 4 Tage her #189264 von mediaformat
I'm having a weird issue, I wanted to post here before doing a bug report.

I'm using the Vanilla base theme, and have set the Google Analytics API key to my UA id

But when I select use global settings in a survey, the output is as follows:
        (function(i,s,o,g,r,a,m){ i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
            (i[r].q=i[r].q||[]).push(arguments) },i[r].l=1*new Date();a=s.createElement(o),
            m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
        })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
 
        ga('create', '9999useGlobal9999', 'auto');  // Replace with your property ID.
        ga('send', 'pageview');

9999useGlobal9999?

Lol, what?

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

Mehr
3 Wochen 4 Tage her #189267 von holch
This happens also in the Demo site, so I guess it is a bug.

When you choose "Use settings below" instead of "use global settings" it works.

Please report it as a bug. In the meantime the work around would be to set your ID per Survey.

I'm not a LimeSurvey GmbH member. I answer at the LimeSurvey forum in my spare time. No support via private message.
Some helpful links: Manual (EN) | Question Types | Workarounds

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

Mehr
3 Wochen 1 Tag her #189337 von mediaformat
Thanks, I managed to track down a bug report , after seeing in the code .

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

Mehr
3 Wochen 1 Tag her #189341 von holch
Hmmm, I couldn't find your bug report here: bugs.limesurvey.org/

Could you please post a link to your report, so we can accompany it here from the forum?

I'm not a LimeSurvey GmbH member. I answer at the LimeSurvey forum in my spare time. No support via private message.
Some helpful links: Manual (EN) | Question Types | Workarounds

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

Mehr
3 Wochen 1 Tag her #189343 von holch
It doesn't help to just "track down" the bug report. Because as you can see, the bug report in your link is from 2018 and it has not been resolved yet, almost 1 year later.

So ideally make at least a comment on the bug report, so it gets noticed that this is still a thing and that it is important. Otherwise you probably won't see any improvement, because this is clearly on hold or forgotten.

I'm not a LimeSurvey GmbH member. I answer at the LimeSurvey forum in my spare time. No support via private message.
Some helpful links: Manual (EN) | Question Types | Workarounds
Folgende Benutzer bedankten sich: DenisChenu

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

Mehr
3 Wochen 1 Tag her #189344 von mediaformat
@holch Thanks for the bump on the issue.

I have just added my own 2cents to the issue.

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

Jetzt loslegen!

Melden Sie sich jetzt an, und erstellen Sie in wenigen Minuten Ihre erste Umfrage.

Account einrichten

Abonnieren Sie unseren Newsletter

Abonnieren Sie unseren Newsletter für alle Neuigkeiten rund um LimeSurvey
captcha