Send Data From Edge to Analytics | Community
Skip to main content
June 27, 2023
Solved

Send Data From Edge to Analytics

  • June 27, 2023
  • 2 replies
  • 700 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
Community Advisor and Adobe Champion
leocwlauCommunity Advisor and Adobe ChampionAccepted solution
Community Advisor and Adobe Champion
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)