Skip to content

Fix #604 - feat: matomo plugin #1182

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

Closed
wants to merge 1 commit into from
Closed

Fix #604 - feat: matomo plugin #1182

wants to merge 1 commit into from

Conversation

qdot
Copy link

@qdot qdot commented Jan 11, 2019

Summary

Plugin for supporting Matomo analytics as a vuepress plugin. Most matomo-node or vue-matomo modules don't play well with SSR (see #604, #605), so this tries to fix that by just integrating matomo code as a 1.x plugin. Currently has minimal options, but works.

What kind of change does this PR introduce? (check at least one)

  • Bugfix
  • Feature
  • Code style update
  • Refactor
  • Docs
  • Build-related changes
  • Other, please describe:

If changing the UI of default theme, please provide the before/after screenshot:

No UI changes

Does this PR introduce a breaking change? (check one)

  • Yes
  • No

If yes, please describe the impact and migration path for existing applications:

The PR fulfills these requirements:

  • When resolving a specific issue, it's referenced in the PR's title (e.g. fix #xxx[,#xxx], where "xxx" is the issue number)

You have tested in the following browsers: (Providing a detailed version will be better.)

  • Chrome
  • Firefox
  • Safari
  • Edge
  • IE

If adding a new feature, the PR's description includes:

  • A convincing reason for adding this feature
  • Related documents have been updated
  • Related tests have been updated

To avoid wasting your time, it's best to open a feature request issue first and wait for approval before working on it.

Other information:

If this isn't accepted, I can maintain the plugin as a non-official module, as it's already in use in my own vuepress projects as an in-repo plugin. However, there's been enough requests for matomo help that I figured I'd try submitting to the main project to see if there was interest. I left the maintainer entries in the package.json as the main vuepress maintainer, not sure if that would need to change to me as it would be a vuepress org owned module if accepted

@qdot qdot changed the title FIX #604 - feat: matomo plugin Fix #604 - feat: matomo plugin Jan 11, 2019
@qdot
Copy link
Author

qdot commented Jan 13, 2019

Finding that this is broken in more than a few ways, and it may take me a bit to fix. Closing for now.

@qdot qdot closed this Jan 13, 2019
@qdot
Copy link
Author

qdot commented Jan 13, 2019

Fixed but just published as my own plugin, because it's going to probably require continued updates/maintenance:

https://www.npmjs.com/package/vuepress-plugin-matomo

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

Successfully merging this pull request may close these issues.

1 participant