Skip to content
This repository has been archived by the owner on Nov 1, 2022. It is now read-only.

Commit

Permalink
Closes #11582 Add baidu search ad telemetry
Browse files Browse the repository at this point in the history
  • Loading branch information
rxumoz committed Jan 21, 2022
1 parent 9804553 commit 6a1f398
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
Expand Up @@ -104,7 +104,11 @@ abstract class BaseSearchTelemetry {
queryParam = "word",
codeParam = "from",
codePrefixes = listOf("1000969a"),
followOnParams = listOf("oq")
followOnParams = listOf("oq"),
extraAdServersRegexps = listOf(
"^https?://www\\.baidu\\.com/baidu\\.php?",
"^https?://m\\.baidu\\.com/baidu\\.php?"
)
),
SearchProviderModel(
name = "bing",
Expand Down
3 changes: 3 additions & 0 deletions docs/changelog.md
Expand Up @@ -11,6 +11,9 @@ permalink: /changelog/
* [Gecko](https://github.com/mozilla-mobile/android-components/blob/main/buildSrc/src/main/java/Gecko.kt)
* [Configuration](https://github.com/mozilla-mobile/android-components/blob/main/.config.yml)

* **feature-search**
* Adds the `extraAdServersRegexps` of Baidu to help sending the baidu search telemetry of ads. [#11582](https://github.com/mozilla-mobile/android-components/pull/11582)

* **support-ktx**
* 🚒 Bug fixed [issue #11527](https://github.com/mozilla-mobile/android-components/issues/11527) - Fix some situations in which the immersive mode wasn't properly applied.

Expand Down

0 comments on commit 6a1f398

Please sign in to comment.