Send Data From Edge to Analytics | Community
Skip to main content
Level 2
Jun 27, 2023 3:45 PM UTC
Solved

Send Data From Edge to Analytics

I have AEP Edge Configured on my mobile app.

How do I send data from Edge to Analytics? I have added Adobe analytics service in my data stream and mapped to a test report suite but can't see the data. What else is needed to see the data?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
leocwlau
leocwlauAccepted solution
New Participant
Jun 28, 2023 9:01 AM UTC

Another reference, developer.adobe.com/client-sdks/documentation/getting-started/track-events/#send-events-to-edge-network, create the ExperienceEvent and send it out. A sample Swift code for a simple page view tracking

let xdmData: [String: Any] = [ "eventType": "web.webpagedetails.pageViews", "web": [ "webPageDetails": [ "name": "Intro|Splash" ] ], ] let experienceEvent = ExperienceEvent(xdm: xdmData) Edge.sendEvent(experienceEvent: experienceEvent)

 

2 replies

leocwlau
leocwlauAccepted solution
New Participant
Jun 28, 2023 9:01 AM UTC

Another reference, developer.adobe.com/client-sdks/documentation/getting-started/track-events/#send-events-to-edge-network, create the ExperienceEvent and send it out. A sample Swift code for a simple page view tracking

let xdmData: [String: Any] = [ "eventType": "web.webpagedetails.pageViews", "web": [ "webPageDetails": [ "name": "Intro|Splash" ] ], ] let experienceEvent = ExperienceEvent(xdm: xdmData) Edge.sendEvent(experienceEvent: experienceEvent)

 

Translate
yuhuisg
New Participant
Jun 27, 2023 3:52 PM UTC

You can check this tutorial for a guide on how to implement Analytics with the Mobile SDK: https://experienceleague.adobe.com/docs/platform-learn/implement-mobile-sdk/experience-cloud/analytics.html?lang=en

Translate