We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f68f1c9 commit c2fbeb2Copy full SHA for c2fbeb2
1 file changed
src/app/statistics/matomo.service.ts
@@ -68,10 +68,16 @@ export class MatomoService {
68
this.statusSubject.next('loading');
69
}
70
71
+ /**
72
+ * This method indicates that the Matomo script loaded successfully thus we set state to loaded
73
+ */
74
markAsLoaded() {
75
this.statusSubject.next('loaded');
76
77
78
79
+ * This method indicates that the Matomo script failed to download or execute and sets state to error
80
81
markAsError() {
82
this.statusSubject.next('error');
83
0 commit comments