Opened 3 years ago

Closed 2 years ago

Last modified 2 years ago

#2718 closed New feature (fixed)

Group all Google search SSL unknown keywords under "Keyword not defined"

Reported by: matt Owned by:
Priority: major Milestone: 1.7 Piwik 1.7
Component: Core Keywords:
Cc: Sensitive: no

Description (last modified by matt)

See Piwik Keyword not defined FAQ

See google announcement

We should make sure that the "search engine" appears as google still, but keyword would appear as "Keyword not provided"

Change History (11)

comment:1 Changed 3 years ago by vipsoft (robocoder)

  • Owner set to vipsoft

comment:2 Changed 3 years ago by matt (mattab)

Apparently it is not standard SSL behavior, they somehow still pass the referrer but with empty &q= query parameter.

comment:3 Changed 3 years ago by matt (mattab)

In the log_visit DB, I suggest that the referer_name be "google" and referer_keyword be empty string. During archiving, the datatable label would be a constant KEYWORD_NOT_PROVIDED. Then, this will be replaced in an API filter with the localized string eg. "Keyword not provided" in english.

comment:4 follow-up: Changed 3 years ago by vipsoft (robocoder)

For the detection logic:

  • no referrer - track as a search engine with empty keyword
  • a referrer with specified query parameter but empty is also a search engine with empty keyword
  • where the keyword is non-empty, track as search engine with non-empty keyword
  • where the keyword detection fails, track as external website

comment:5 in reply to: ↑ 4 Changed 3 years ago by matt (mattab)

Replying to vipsoft:

For the detection logic:

  • no referrer - track as a search engine with empty keyword

No referrer == Direct entry, not search engine :)

Otherwise OK!

comment:6 Changed 2 years ago by vipsoft (robocoder)

  • Owner vipsoft deleted

What about the case where the referrer is just http://domain.tld

comment:7 Changed 2 years ago by matt (mattab)

  • Resolution set to fixed
  • Status changed from new to closed

(In [5604]) Fixes #2718

  • Only fixes for Google for now, we can generalize the code later when other search engines start doing the same
  • Marking hidden keywords as "Keyword not defined"
  • Linking the keyword to the new FAQ: Piwik Keyword not defined

comment:8 Changed 2 years ago by matt (mattab)

(In [5756]) Refs #2718

  • do not display "Your top converting keywords are: 'Keyword not defined'" because it is very irritating!

comment:9 Changed 2 years ago by matt (mattab)

  • Description modified (diff)

comment:10 Changed 2 years ago by matt (mattab)

(In [5800]) Refs #2718

  • Do not display "Keyword not defined" in the widget showing top keywords per page

comment:11 Changed 2 years ago by matt (mattab)

  • Priority changed from normal to major
  • Summary changed from Google search SSL by default for default users cause keyword not to be tracked to Group all Google search SSL unknown keywords under "Keyword not defined"
  • Type changed from Bug to New feature
Note: See TracTickets for help on using tickets.