Skip to main content
Level 2
June 27, 2023
Solved

Send Data From Edge to Analytics

  • June 27, 2023
  • 2 replies
  • 728 views

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.
Best answer by leocwlau

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

yuhuisg
Community Advisor
Community Advisor
June 27, 2023

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

leocwlau
Adobe Champion and Community Advisor
leocwlauAdobe Champion and Community AdvisorAccepted solution
Adobe Champion and Community Advisor
June 28, 2023

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)