Skip to content

Matomo plugin should not enforce HTTPS protocol #571

Description

@botic

🐛 The bug

The current implementation does not fully respect the URL provided as tracker and enforces withHttps() for the tracker URL. This prevents local testing on a HTTP-only localhost endpoint:

Image

Initialization works, but further requests fail because of the HTTPS "upgrade".

🛠️ To reproduce

https://stackblitz.com/edit/nuxt-starter-pvvyjkse?file=nuxt.config.ts

🌈 Expected behavior

If I configure a Matomo URL by myself, I don't want the plugin to modify it – even with good intentions.

ℹ️ Additional context

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions