Skip to content

Commit

Permalink
chore: metric event name update (#456)
Browse files Browse the repository at this point in the history
  • Loading branch information
mrehan27 authored Jan 2, 2024
1 parent 030f28f commit dacbed5
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions Sources/DataPipeline/DataPipelineImplementation.swift
Original file line number Diff line number Diff line change
Expand Up @@ -227,8 +227,7 @@ class DataPipelineImplementation: DataPipelineInstance {
properties["recipient"] = token
}

// TODO: [CDP] Reverify event name before going live
analytics.track(name: "Journeys Delivery Metric", properties: properties)
analytics.track(name: "Report Delivery Event", properties: properties)
}
}

Expand Down Expand Up @@ -326,8 +325,7 @@ extension DataPipelineImplementation {
"deliveryId": deliveryId,
"recipient": token
])
// TODO: [CDP] Reverify event name before going live
var trackPushMetricEvent = TrackEvent(event: "Journeys Delivery Metric", properties: try? JSON(properties))
var trackPushMetricEvent = TrackEvent(event: "Report Delivery Event", properties: try? JSON(properties))
trackPushMetricEvent.timestamp = timestamp
analytics.process(event: trackPushMetricEvent)
}
Expand Down

0 comments on commit dacbed5

Please sign in to comment.