webfactory / piwik-bundle

Symfony Bundle with twig-function for the Matomo (fka Piwik) tracking code
MIT License
39 stars 16 forks source link

Do not insert an additional trackPageView if already done by twig function #36

Closed MHundeloh closed 2 years ago

MHundeloh commented 2 years ago

Do not insert an additional trackPageView if already done by twig function piwik('trackPageView',...) e.g. for setting custom dimensions only at page view track

MHundeloh commented 2 years ago

Or do i have to rearrange the paqs entries so that trackPageView will be the last in array?

MHundeloh commented 2 years ago

I separated trackPageView handling from trackSiteSearch handling.

relthyg commented 2 years ago

Is there a chance you will continue with this in the near future, @MHundeloh ?