Skip to main content
Level 2
Feb 27, 2024 4:18 AM UTC
Solved

How to use Data Providers - Web SDK ?

Hey everyone,

I'm looking to use data providers in WebSDK to grab real-time data via API. In at.js, we've got , but I'm a bit lost on how to do it in WebSDK. Any help!


Thankyou

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
alexbishop
alexbishopAccepted solution
Adobe Employee
Feb 28, 2024 8:21 AM UTC

It's not supported in the same way in Web SDK (see here), so it would be something where you would need to control the sequencing of the requests i.e., first make a request to the API of whichever data provider you need and then include that data in either the XDM or Data object that you pass in your Web SDK sendEvent request

1 reply

alexbishop
Adobe Employee
alexbishopAdobe EmployeeAccepted solution
Adobe Employee
Feb 28, 2024 8:21 AM UTC

It's not supported in the same way in Web SDK (see here), so it would be something where you would need to control the sequencing of the requests i.e., first make a request to the API of whichever data provider you need and then include that data in either the XDM or Data object that you pass in your Web SDK sendEvent request

Translate