Analytics template override #7692
-
I'm trying to change the Matomo templates (as those still use the piwik filenames) but without success. Here's my folder structure: What am I doing wrong here? https://docs.sulu.io/en/2.5/cookbook/manage-analytics.html |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
It seems like there is no src/ |
Beta Was this translation helpful? Give feedback.
-
You are totally right. Removed the subfolder and it works. Seems the docs are wrong then: https://docs.sulu.io/en/2.5/cookbook/manage-analytics.html#override-analytics-template Here's a PR: sulu/sulu-docs#823 |
Beta Was this translation helpful? Give feedback.
It seems like there is no
type
directory if look at the path here: https://github.com/sulu/sulu/blob/2.6/src/Sulu/Bundle/WebsiteBundle/Resources/views/Analytics/matomo/body-open.html.twigsrc/
Sulu
/Bundle/WebsiteBundle
/Resources/views/Analytics/matomo/body-open.html.twig