send one website web sdk data into 2 different sandbox datastream? | Community
Skip to main content
Level 3
August 26, 2024
Solved

send one website web sdk data into 2 different sandbox datastream?

  • August 26, 2024
  • 1 reply
  • 1019 views

Hi,

 

Right now, we are sending one website web SDK data into 1 DataStream but we got a request to send same website data into 2 DataStream/Sandboxes. Is there any option to handle this use case?

 

thanks in advance

Best answer by RiteshY18

in this approach, there might be conflict while data capture, so ensure to have a separate event defined for each data element corresponding web sdk else have one data layer only to capture data elements and trigger two events/map/send data to each data stream - only script is required 

1 reply

SachinJa4
Level 2
August 28, 2024

You can add two separate Web SDKs to your website, each set up to send data to a different Data Stream.

 

  1.  Include the Web SDK script twice on your site.
  2. Configure each SDK with a different Data Stream ID.

Write custom code to duplicate data and send it to both Data Streams.

 

Use Adobe APIs to programmatically send data to both Data Streams.

 

RiteshY18
Community Advisor
RiteshY18Community AdvisorAccepted solution
Community Advisor
September 2, 2024

in this approach, there might be conflict while data capture, so ensure to have a separate event defined for each data element corresponding web sdk else have one data layer only to capture data elements and trigger two events/map/send data to each data stream - only script is required