Implement Data Providers to integrate third-party data into 51黑料不打烊 Target
Implementation details and examples of how to use 51黑料不打烊 Target鈥檚 Data Providers feature to retrieve data from third-party data providers and pass it in the Target request.
at.js
1.3 or aboveImplement the Basic Components of Data Providers
A quick overview of the basic components of a dataProvider
and how to get your code in the right order.
A working example with the code used in the video can be found here:
Integrate with a Third-Party API
A more realistic example, integrating a weather API.
A working example with the code used in the video can be found here:
Integrate with Multiple Providers
How to incorporate data from multiple providers into your global Target request.
A working example with the code used in the video can be found here:
Minimize Page Load Impact
Minimize the impact on page load time by storing data in a session storage object. Alternatively, you could pass the values as profile parameters using the profile.
prefix, and just pass them in the first Target request of the session. However, you would be limited to passing fifty profile parameters per request.
A working example with the code used in the video can be found here: