Google Analytics trackPageview function with question id or question number

Mehr
4 Jahre 11 Monate her #82808 von autopoiesis
autopoiesis erstellte das Thema Google Analytics trackPageview function with question id or question number
When I activate the "Track pages within survey" function in the survey settings, I can only see different pageviews for the survey groups but not for the single question pages in the GA content report. Is it possible to modify the code in replacements.php in a way that I can see the single question id or number in the content report?
$_trackURL = htmlentities($thissurvey['name'] . '-[' . $surveyid . ']/[' . $gseq . ']-' . $_groupname, ENT_QUOTES);

It is important for me to define different goals within the survey - so I need real single pageviews.

Bitte Anmelden um der Konversation beizutretten.

Mehr
4 Jahre 11 Monate her #82813 von TMSWhite
TMSWhite antwortete auf das Thema: Google Analytics trackPageview function with question id or question number
We anticipated that users might want different ways of using GA, so it is pretty easy to extend.

Are you using question-by-question mode? GA is currently configured for group-by-group mode.

If you're comfortable with the code and GitHub, the easiest way is to fork LimeSurvey, add a new 'googleanalyticsstyle', and try some combinations $_trackURL until you're happy with the results. Then you can issue a pull request and we can review it for possible inclusion in the base code.

I found I had to go through some trial and error in building the current GA support before it met my needs, so I recommend playing with it yourself.

Bitte Anmelden um der Konversation beizutretten.

Mehr
4 Jahre 11 Monate her #82826 von Mazi
Mazi antwortete auf das Thema: Google Analytics trackPageview function with question id or question number
Tom, I couldn't find this additional information about how the GA feature works at the wiki. If I didn't over-read it, can you please ad it?!

Thanks!


Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)survey-consulting.com'"

Bitte Anmelden um der Konversation beizutretten.

Mehr
4 Jahre 6 Monate her #89898 von autopoiesis
autopoiesis antwortete auf das Thema: Aw: Re: Google Analytics trackPageview function with question id or question num
I solved my problem with the standard group-by-group modus: I just created some extra question groups for my different goals.

Bitte Anmelden um der Konversation beizutretten.

Jetzt loslegen!

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

Account einrichten