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

Detect when a website uses WordPress, or Wix and link to our relevant guides #14891

Closed
mattab opened this issue Sep 12, 2019 · 3 comments
Closed
Labels
c: Onboarding For issues that make the experience of getting Matomo up and running better. duplicate For issues that already existed in our issue tracker and were reported previously.

Comments

@mattab
Copy link
Member

mattab commented Sep 12, 2019

When a website doesn't yet have data tracked in Matomo, then we could try and detect whether the website is using WordPress or Wix, and then based on this information we could show a special section which links to our guides (with maybe the WP or Wix logo), in the No data has been recorded yet, get set up below screen.

The guides we would like to include:

@mattab mattab added the c: Onboarding For issues that make the experience of getting Matomo up and running better. label Sep 12, 2019
@tsteur
Copy link
Member

tsteur commented Sep 12, 2019

It's fine if detection works only in like 90% of the cases for example. Like to detect wordpress we can do simply a file_get_contents($websiteUrl, $timeout = 5) and then check if the output contains wp-content/ or so. Not sure if and how wix can but seems they have the word wix quite often in the HTML and eg meta attributes like wixMobileViewport , X-Wix-Meta-Site-Id, wixstatic.com urls . need to check on an actual wix site how to best detect it.

@mattab
Copy link
Member Author

mattab commented Dec 21, 2020

This library might be helpful https://github.com/madeITBelgium/Wappalyzer
this is a port of the popular Wappalyzer in PHP

@tsteur
Copy link
Member

tsteur commented Jul 5, 2022

@mattab I believe this was done in #16787 . Can we close it?

@mattab mattab closed this as completed Jul 8, 2022
@mattab mattab added the duplicate For issues that already existed in our issue tracker and were reported previously. label Jul 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c: Onboarding For issues that make the experience of getting Matomo up and running better. duplicate For issues that already existed in our issue tracker and were reported previously.
Projects
None yet
Development

No branches or pull requests

2 participants