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

Top Queries wrong #9

Open
Terkhos opened this issue Feb 17, 2014 · 4 comments
Open

Top Queries wrong #9

Terkhos opened this issue Feb 17, 2014 · 4 comments

Comments

@Terkhos
Copy link

Terkhos commented Feb 17, 2014

Top Queries are not bringing the right data on Top Queries, there's always a difference and it's not a small one.

As far as i could see the data from the URL already comes wrong so it's not a problem with the program, i think.

@Terkhos
Copy link
Author

Terkhos commented Feb 17, 2014

Actually, the "problem" is with the prop on the url, it is a filter where you can use ALL, WEB, MOBILE, IMAGE and VIDEO.

Maybe an option to choose wich filter you want to see would be nice

@chiragvels
Copy link

Hello Terkhos,

Can you guide me how to figure out that diffrent on top queries issue?
I am facing the same since I started to use this script.

Thanks,

@Terkhos
Copy link
Author

Terkhos commented Mar 19, 2014

Hello chiragvels,

If you take a look at one Pull Req i made you will see i made two improvements on the code, one at line 57 and another at line 311 where i first set the default filter (57) and on 311 i use this on the request URL.

Take a look here: https://github.com/Terkhos/php-webmaster-tools-downloads/blob/58d8cdb99178aee2734fa2d79f90d043a12a4135/src/gwtdata.php

If you take a look on Google Webmaster Tools on Search Traffic > Search Queries you will see that there's a filter for Search.

The original plugin made by eyecatchup was sending as a parameter ALL instead of only WEB or any other filter and it was adding all the values of all filter in only one, that's why the value was never the same from the api and Webmaster Tools.

Hope this help you.

@chiragvels
Copy link

Hello Terkhos,

Thanks for help. Yes, It's worked. :)

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

No branches or pull requests

2 participants