Send correct survey title to Matomo
This commit is contained in:
parent
c3db7dd25f
commit
48181f5b67
|
|
@ -118,7 +118,6 @@ export default {
|
|||
mounted() {
|
||||
if (this.surveyData) {
|
||||
this.loadSurveyFromServer(this.surveyData);
|
||||
matomoTrackEvent('Übung', 'Übung angezeigt', this.title);
|
||||
}
|
||||
},
|
||||
|
||||
|
|
@ -264,6 +263,7 @@ export default {
|
|||
this.surveyData = data.survey;
|
||||
this.loadSurveyFromServer(data.survey);
|
||||
const module = data.survey.module;
|
||||
matomoTrackEvent('Übung', 'Übung angezeigt', data.survey.title);
|
||||
|
||||
this.$apollo.addSmartQuery('module', {
|
||||
query: MODULE_QUERY,
|
||||
|
|
|
|||
Loading…
Reference in New Issue