Navigation Menu

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

Plugin latest new searches #5468

Closed
mattab opened this issue Jan 3, 2008 · 6 comments
Closed

Plugin latest new searches #5468

mattab opened this issue Jan 3, 2008 · 6 comments
Labels
Enhancement For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc. worksforme The issue cannot be reproduced and things work as intended.

Comments

@mattab
Copy link
Member

mattab commented Jan 3, 2008

Display the latest new search terms used by visitors to reach the website along with the date and the page linked to.
Keywords: third-party-plugin

@timo-bes
Copy link
Member

timo-bes commented Sep 1, 2010

I wrote a little plugin, that takes care of both #47 (latest links) and #48 (latest searches). It's called latest referrers.

The data is queried from the db on the fly, since archiving of the latest referrers doesn't make much sense...

You can download the plugin on github:

http://github.com/BeezyT/piwik-latestreferrers

Feedback of any kind is very welcome!

@sgiehl
Copy link
Member

sgiehl commented Sep 1, 2010

I just took a small look on your plugin. The way how you select the latest search terms seems not to be exact. You are grouping by referer_name, keyword and visit_entry_idaction_url - I would see the latest search terms independent from referer and/or target. A search term simply is new if it wasn't used before.

@timo-bes
Copy link
Member

timo-bes commented Sep 2, 2010

You're right, I guess I went from "latest searches" to "latest new searches" too quickly...

I group by all the values for "latest searches", because if somebody come to a website trough google/foo and yahoo/foo, i want to see both in "latest searches".

The example above is also interesting for "latest new searches". At the moment neither of the searches will show up, because the check for new searches is, whether the group has count 1, in the example it has count 2. An alternative would be selecting "where not exists (select ... where a.idaction < b.idaction)": that would give us the first occurences of a searchterm, but it would be quite a performance hog. What do you think? Is this little inaccuracy worth the performance?

(The update and a german translation are available on github)

@mattab
Copy link
Member Author

mattab commented Dec 4, 2010

EZdesign, is the plugin working fine in Piwik 1.0?

If yes, I will move it to 'third party plugins' so that more users could find it. Thanks

@timo-bes
Copy link
Member

timo-bes commented Dec 8, 2010

Yes, there are no issues I know of.

If there will be some in the future, you will be able to find them on github:

https://github.com/BeezyT/piwik-latestreferrers/issues

@mattab
Copy link
Member Author

mattab commented Feb 6, 2014

Along with the Piwik 2.0 release and new design for Piwik, we have also launched the official Plugins Marketplace to let any developer share their work to the thousands of Piwik users worldwide.

Maybe you'd like to publish your plugin there?

In any case, keep up the good work and we hope you enjoy Piwik 2!

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc. worksforme The issue cannot be reproduced and things work as intended.
Projects
None yet
Development

No branches or pull requests

3 participants