PixelSender
interface PixelSender
Interface for sending anonymous analytics events (pixels). This interface is primarily intended for use within custom OfflinePixel
implementations. For general-purpose pixel sending, refer to the com.duckduckgo.app.statistics.pixels.Pixel interface.
Functions
Link copied to clipboard
abstract fun enqueuePixel(pixelName: String, parameters: Map<String, String>, encodedParameters: Map<String, String>): Completable
Sends a pixel with the specified name and parameters. Unlike the sendPixel()
method, this method also persists the pixel in the local database, allowing it to be retried in case of network issues or other failures.