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: Adds a widget showing average page number in search engines page results (works with Google, Yahoo, Live, etc.) #502

Closed
robocoder opened this issue Jan 15, 2009 · 19 comments
Labels
Enhancement For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc. wontfix If you can reproduce this issue, please reopen the issue or create a new one describing it.

Comments

@robocoder
Copy link
Contributor

What page did the site appear in the search results?

Features of this version
- provides a widget with average page result from google, yahoo, and a few other search engines for each keyword.

How to install
- [download the plugin](http://issues.piwik.org/attachments/502/SearchEnginePosition-v1.zip?format=raw)
- unzip, it will create a directory SearchEnginePosition
- copy this directory in piwik/plugins/
- go to Piwik > Settings > Plugins and enable the plugin

NOTE

To maximise the usefulness of the plugin, you may want to force Piwik to keep all your keywords data. See [the FAQ](http://piwik.org/faq/how-to/#faq_54) for more details.
In your config.ini.php, add the following:

```
[General]
datatable_archiving_maximum_rows_referers = 500
datatable_archiving_maximum_rows_subtable_referers = 5000
```

Adding a new search engine

Check out the file in plugins/SearchEnginePosition/DataFiles/SearchEngines.php to add a new search engine. Post a comment with the new entry and we’ll add it in the next release of the plugin. thanks!

Changelog
- 1.0: initial release
- 1.1: best keywords are now displayed under Referers>Search engines and keywords, as expected
- 1.2: compatibility with Piwik 0.2.35
- 1.3: compatibility with Piwik 0.4.1
- 1.4: compatibility with Piwik 0.6
- 2011 March: compatibility with Piwik 1.2

Author Contact
If you have feedback about this plugin, or want to help, please contact Radek at (radek at maciaszek.pl) or leave a comment.
Keywords: seo rankings keywords

@robocoder
Copy link
Contributor Author

See discussion in: http://forum.piwik.org/index.php?showtopic=103

@anonymous-matomo-user
Copy link

I couldn’t install the plugin. I copied the two folders (Filter and DataFiles) into the plugins-directory and added the two names of the folders in the config-file. Is there anything else I have to do? Is there any installation guide available?

@robocoder
Copy link
Contributor Author

frag-titus: please use the forum for future support requests; you have to enable the plugin from your Piwik admin panel.

@anonymous-matomo-user
Copy link

Maybe the position can be a link to the resource ? so i got "Google Page 1" so you can link with the keyword to
http://www.google.de/search?q=piwik&num=10&start=0
http://www.google.de/search?q=piwik&num=10&start=10
http://www.google.de/search?q=piwik&num=10&start=20

best regards
Tom

@mattab
Copy link
Member

mattab commented May 13, 2009

Please update to the latest version for compatibility with 0.2.35

@anonymous-matomo-user
Copy link

Piwik 0.4 - nothing happens when I click "activate" on plugin, page just reloads.

@anonymous-matomo-user
Copy link

Replying to neroZ:

Piwik 0.4 - nothing happens when I click "activate" on plugin, page just reloads.

I'm having the same issue with 0.4.1

Is there something I can check to see why it's happening (or not happening) so I can add something useful?

@anonymous-matomo-user
Copy link

Replying to geniosity:

Replying to neroZ:

Piwik 0.4 - nothing happens when I click "activate" on plugin, page just reloads.

I'm having the same issue with 0.4.1

Is there something I can check to see why it's happening (or not happening) so I can add something useful?

I'm having this issue with 0.4.3

After activating the plugin and adding its widget to the dashboard I get a widget called "Best search engines with average page". When klicking on a listed search enginge I get a text "Loading..." but nothing else happens.

@robocoder
Copy link
Contributor Author

From forum discussion, there's also interest in tracking the keyword's position within the results (e.g., using Google's "cd=" parameter).

@anonymous-matomo-user
Copy link

Some extra information to attachement just posted:

In DataFiles/SearchEngines.php the closing ?> was missing this resulted in require_once errors. This again resulted in not tracking SearchEngines this problem should be solved with the fix.

@anonymous-matomo-user
Copy link

Attachment: Still a require_error in detectRefererSearchEnginePosition function. Fixed this by adding PIWIK_INCLUDE_PATH infront of the require to get the right path.
SearchEnginePosition_fix.zip

@mattab
Copy link
Member

mattab commented Apr 12, 2010

In Piwik 0.6, there is a backward incompatible API change in the archiving code.

All SearchEnginePosition users will need to upgrade to the latest SearchEnginePosition plugin after they upgrade Piwik to 0.6. Piwik will automatically disable the SearchEnginePosition plugin during the upgrade to 0.6.

@anonymous-matomo-user
Copy link

I tried this plugin for the first time on Piwiki 0.5.5. I didn't use the latest version from matt, because I'm not sure if it is backward compatible. But my problem is that I didn't see search enginge position. The widget shows exactly the same information as the "normal" search engine widget.

@mattab
Copy link
Member

mattab commented Mar 3, 2011

Attachment: SearchEnginePosition compatible with Piwik >= 1.2
SearchEnginePosition.zip

@mattab
Copy link
Member

mattab commented Mar 3, 2011

Added zip compatibility with Piwik 1.2

@anonymous-matomo-user
Copy link

Replying to matt:

I've got the same Problem as ChristianSchneider.
I've updated to Piwik 1.2 and also installed the actual SearchEnginePosition.zip, but I can't see any search engine position. The widget behaves like standard search engine widget...

@mattab
Copy link
Member

mattab commented Mar 5, 2011

OK I'm moving this plugin away from the list until it is fixed some day...

@mattab
Copy link
Member

mattab commented Mar 11, 2011

Another bug report: Fatal error: Declaration of Piwik_SearchEnginePosition_Filter_AddAveragePage::filter() must be compatible with that of Piwik_DataTable_Filter::filter() in /var/www/plugins/SearchEnginePosition/Filter/AddAveragePage.php on line 18

@anonymous-matomo-user
Copy link

Das Widget zeigt genau die gleichen Informationen wie die "normale" Suchmaschinen-Widget.

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. wontfix If you can reproduce this issue, please reopen the issue or create a new one describing it.
Projects
None yet
Development

No branches or pull requests

3 participants