I’ve been trying to get my angular 6 application to work with matomo form analytics. I’m able to get page views by using Angulartics2Piwik.
I added the following line to my app.component.ts: this.angulartics2Piwik.startTracking()
Based on the angulartics2 documentation it doesn’t seem to support Form Analytics. I thought about using third-party library ngx-matomo, but it doesn’t have an implementation for Form Analytics.
I’ve even loaded my angular page and called the window.Piwik.FormAnalytics.scanForForms() function within the web developer console in FireFox and still no form tracking. My forms have the id, name, and I even set the data-matomo-name as well.
Any help would be greatly appreciated?