Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make an embeddable template for Matomo #1

Open
elliot-sawyer opened this issue Apr 30, 2020 · 0 comments
Open

Make an embeddable template for Matomo #1

elliot-sawyer opened this issue Apr 30, 2020 · 0 comments

Comments

@elliot-sawyer
Copy link
Owner

elliot-sawyer commented Apr 30, 2020

The module currently loads the code securely via an extension rather than relying on template includes. This was done for CSP reasons, and is not for everybody. Refactor the code to allow an Include template to be manually embedded in the page:

  • include <script> tag
  • check for SiteConfig first
  • document setup in readme
  • should respect namespaces

Ideally it should behave the same way as GoogleAnalytics template in the CWP Starter Theme

Moreover, the existing template should be refactored to use an alternative name, but still be automatically embedded into the page

@elliot-sawyer elliot-sawyer changed the title Matomo include does not work out of the box Make an embeddable template for Matomo May 1, 2020
@elliot-sawyer elliot-sawyer reopened this May 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant