diff --git a/snowplow-tracker/src/main/java/com/snowplowanalytics/core/event/WebViewReader.kt b/snowplow-tracker/src/main/java/com/snowplowanalytics/core/event/WebViewReader.kt index 7f5300717..258a30086 100644 --- a/snowplow-tracker/src/main/java/com/snowplowanalytics/core/event/WebViewReader.kt +++ b/snowplow-tracker/src/main/java/com/snowplowanalytics/core/event/WebViewReader.kt @@ -38,7 +38,6 @@ class WebViewReader( val pingYOffsetMax: Int? = null ) : AbstractEvent() { - // Public methods override val dataPayload: Map get() { @@ -48,7 +47,6 @@ class WebViewReader( payload[Parameters.USERAGENT] = useragent if (selfDescribingEventData != null) payload[Parameters.WEBVIEW_EVENT_DATA] = selfDescribingEventData - if (pageUrl != null) payload[Parameters.PAGE_URL] = pageUrl if (pageTitle != null) payload[Parameters.PAGE_TITLE] = pageTitle if (referrer != null) payload[Parameters.PAGE_REFR] = referrer @@ -63,5 +61,4 @@ class WebViewReader( if (pingYOffsetMax != null) payload[Parameters.PING_YOFFSET_MAX] = pingYOffsetMax return payload } - }