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

keyword "a" from baidu #2632

Closed
anonymous-matomo-user opened this issue Aug 17, 2011 · 6 comments
Closed

keyword "a" from baidu #2632

anonymous-matomo-user opened this issue Aug 17, 2011 · 6 comments
Labels
Bug For errors / faults / flaws / inconsistencies etc. worksforme The issue cannot be reproduced and things work as intended.
Milestone

Comments

@anonymous-matomo-user
Copy link

In my keyword list,
there is always an "a" from baidu.

@anonymous-matomo-user
Copy link
Author

Attachment: screenshot
piwik.jpg

@anonymous-matomo-user
Copy link
Author

This may help: http://betterwp.net/wordpress-tips/get-search-keywords-from-referrer/

In this part

    // Check some major search engines to get the correct query var
    $search_engines = array(
        'q' => 'alltheweb|aol|ask|ask|bing|google',
        'p' => 'yahoo',
        'wd' => 'baidu'
    );

It seems that baidu uses the parameter name wd for the search string, maybe the error is related with the name of the parameter for the search string.

@robocoder
Copy link
Contributor

The problem isn't the parameter name. (We already check for wd, word, and kw -- the latter being some variants.)

The problem is encoding. We'll check to see if Baidu has changed their encoding. If it's still gb2312, then the problem is either your php doesn't have the iconv and mbstring extensions, or your server is missing the iconv libraries needed for the encoding conversion.

@robocoder
Copy link
Contributor

Can you look in your Apache access log, and post the raw referrer URL from baidu? Thanks.

@robocoder
Copy link
Contributor

(I'm guessing the URL is encoding some characters, in which case the fix from #2631 will probably help.)

@robocoder
Copy link
Contributor

No response. Closing. Can re-investigate if feedback to comment:4 is received.

@anonymous-matomo-user anonymous-matomo-user added this to the 1.6 Piwik 1.6 milestone Jul 8, 2014
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug For errors / faults / flaws / inconsistencies etc. worksforme The issue cannot be reproduced and things work as intended.
Projects
None yet
Development

No branches or pull requests

2 participants