Romain / Matomo-IP-to-Company

A plugin for Matomo which gives you the name of the company that visited your website, based on its IP.
GNU General Public License v3.0
15 stars 11 forks source link

API for https://ipregistry.co/ #13

Open kingfinux opened 2 years ago

kingfinux commented 2 years ago

Hello,

thanks for the plugin. Would it be possible to also add the API from https://ipregistry.co/ They are way cheaper and have 100k free lookups

Romain commented 2 years ago

Hi @kingfinux ,

I like the idea, unfortunately, I don't have time to do it for the moment. If you feel like creating a PR, I'd be happy to consider it.

zaidan1 commented 1 month ago

@kingfinux @Romain I was able to make this plugin work with Matomo 5.1.0, and I have added two options:

kingfinux commented 1 month ago

@zaidan1 I'd love to test it. Thank you!

zaidan1 commented 1 month ago

@kingfinux https://github.com/zaidan1/Matomo-IP-to-Company This fork is under development. Please make a backup of your Matomo installation before testing this plugin.

zaidan1 commented 4 weeks ago

@kingfinux And do you have any problem or suggestion?

kingfinux commented 3 weeks ago

@zaidan1
I didn't get to test it yet. I'll try to give you a reply within the next 2 weeks.

coholm01 commented 4 days ago

@zaidan1 I tried to test the plugin today, but the installation failed: The package could not be installed. No functional plugins were found.

Plugin installation failed.

zaidan1 commented 4 days ago

@coholm01 Thank you for your feedback!

It seems like the plugin installation failed because the files might not have been zipped correctly. Please make sure that when creating the ZIP archive, the plugin files are directly included without any subfolders. If you are using Windows to create the ZIP, I recommend using 7zip to ensure the correct structure.

Here are the steps to ensure the plugin is installed properly:

Manual Installation via GUI:

Please let me know if you need further assistance!

Best regards

coholm01 commented 4 days ago

Sorry, I still can't get it to install. I tried zipping it myself and using the zip file downloaded from github. Installation fails

zaidan1 commented 4 days ago

@coholm01 I’m sorry to hear that it’s still not working. Could you please let me know which version of Matomo you’re using? This will help me troubleshoot the issue further.

coholm01 commented 4 days ago

I'm using WP 6.5.5 and Matomo 5.1.2

zaidan1 commented 4 days ago

@coholm01 custom Matomo plugins do not work with Matomo for WordPress.

Matomo for WordPress is a self-contained version of Matomo that runs within the WordPress environment, and it does not support custom plugins like a standalone Matomo installation. If you need to use custom plugins, you will need a standalone Matomo installation (either on your own server or through Matomo Cloud).

If you're trying to upload or install a custom plugin, it will only work on a standalone Matomo instance, not the WordPress version. If you would like to make the plugin compatible with Matomo for WordPress, I recommend creating a Feature Request her : https://github.com/zaidan1/Matomo-IP-to-Company/discussions/categories/feature-requests We could also consider extending the plugin specifically for WordPress, which would require some adjustments, since the WordPress version of Matomo works differently than the standalone version.

Let me know if you need any guidance on how to proceed!

coholm01 commented 4 days ago

Thanks for the info. I added a feature request