File tree Expand file tree Collapse file tree 3 files changed +35
-0
lines changed
app/src/main/java/com/duckduckgo/app/global/api
autofill/autofill-impl/src/main/java/com/duckduckgo/autofill/impl/pixel
duckplayer/duckplayer-impl/src/main/java/com/duckduckgo/duckplayer/impl Expand file tree Collapse file tree 3 files changed +35
-0
lines changed Original file line number Diff line number Diff line change @@ -105,6 +105,8 @@ object PixelInterceptorPixelsRequiringDataCleaning : PixelParamRemovalPlugin {
105105 AppPixelName .SPLASHSCREEN_FAILED_TO_LAUNCH .pixelName to PixelParameter .removeAll(),
106106 AppPixelName .MENU_ACTION_NEW_TAB_PRESSED_FROM_SITE .pixelName to PixelParameter .removeAll(),
107107 AppPixelName .MENU_ACTION_NEW_TAB_PRESSED_FROM_SERP .pixelName to PixelParameter .removeAll(),
108+ AppPixelName .SETTINGS_SYNC_PRESSED .pixelName to PixelParameter .removeAtb(),
109+ AppPixelName .SETTINGS_EMAIL_PROTECTION_PRESSED .pixelName to PixelParameter .removeAtb(),
108110 )
109111 }
110112}
Original file line number Diff line number Diff line change @@ -32,6 +32,7 @@ import com.duckduckgo.autofill.impl.pixel.AutofillPixelNames.AUTOFILL_IMPORT_PAS
3232import com.duckduckgo.autofill.impl.pixel.AutofillPixelNames.AUTOFILL_IMPORT_PASSWORDS_USER_JOURNEY_SUCCESSFUL
3333import com.duckduckgo.autofill.impl.pixel.AutofillPixelNames.AUTOFILL_IMPORT_PASSWORDS_USER_JOURNEY_UNSUCCESSFUL
3434import com.duckduckgo.autofill.impl.pixel.AutofillPixelNames.AUTOFILL_IMPORT_PASSWORDS_USER_TOOK_NO_ACTION
35+ import com.duckduckgo.autofill.impl.pixel.AutofillPixelNames.AUTOFILL_MANAGEMENT_SCREEN_OPENED
3536import com.duckduckgo.autofill.impl.pixel.AutofillPixelNames.AUTOFILL_ONBOARDING_SAVE_PROMPT_DISMISSED
3637import com.duckduckgo.autofill.impl.pixel.AutofillPixelNames.AUTOFILL_ONBOARDING_SAVE_PROMPT_EXCLUDE
3738import com.duckduckgo.autofill.impl.pixel.AutofillPixelNames.AUTOFILL_ONBOARDING_SAVE_PROMPT_SAVED
@@ -202,6 +203,8 @@ enum class AutofillPixelNames(override val pixelName: String) : Pixel.PixelName
202203object AutofillPixelsRequiringDataCleaning : PixelParamRemovalPlugin {
203204 override fun names (): List <Pair <String , Set <PixelParameter >>> {
204205 return listOf (
206+ AUTOFILL_MANAGEMENT_SCREEN_OPENED .pixelName to PixelParameter .removeAtb(),
207+
205208 EMAIL_USE_ALIAS .pixelName to PixelParameter .removeAll(),
206209 EMAIL_USE_ADDRESS .pixelName to PixelParameter .removeAll(),
207210 EMAIL_TOOLTIP_DISMISSED .pixelName to PixelParameter .removeAll(),
Original file line number Diff line number Diff line change 1+ /*
2+ * Copyright (c) 2025 DuckDuckGo
3+ *
4+ * Licensed under the Apache License, Version 2.0 (the "License");
5+ * you may not use this file except in compliance with the License.
6+ * You may obtain a copy of the License at
7+ *
8+ * http://www.apache.org/licenses/LICENSE-2.0
9+ *
10+ * Unless required by applicable law or agreed to in writing, software
11+ * distributed under the License is distributed on an "AS IS" BASIS,
12+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+ * See the License for the specific language governing permissions and
14+ * limitations under the License.
15+ */
16+
17+ package com.duckduckgo.duckplayer.impl
18+
19+ import com.duckduckgo.common.utils.plugins.pixel.PixelParamRemovalPlugin
20+ import com.duckduckgo.common.utils.plugins.pixel.PixelParamRemovalPlugin.PixelParameter
21+ import com.duckduckgo.di.scopes.AppScope
22+ import com.squareup.anvil.annotations.ContributesMultibinding
23+ import javax.inject.Inject
24+
25+ @ContributesMultibinding(AppScope ::class )
26+ class DuckPlayerPixelParamRemovalPlugin @Inject constructor() : PixelParamRemovalPlugin {
27+ override fun names (): List <Pair <String , Set <PixelParameter >>> = listOf (
28+ DuckPlayerPixelName .DUCK_PLAYER_SETTINGS_PRESSED .pixelName to PixelParameter .removeAtb(),
29+ )
30+ }
You can’t perform that action at this time.
0 commit comments