Expand my Community achievements bar.

SOLVED

How to use Data Providers - Web SDK ?

Avatar

Level 2

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

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

1 Accepted Solution

Avatar

Correct answer by
Employee Advisor

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

View solution in original post

1 Reply

Avatar

Correct answer by
Employee Advisor

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