Events data from two websites into one dataset | Community
Skip to main content
Level 2
August 23, 2024
Solved

Events data from two websites into one dataset

  • August 23, 2024
  • 3 replies
  • 768 views

Hi,

I have two different datastreams to send WebSDK data from two different websites into the same dataset using the same websdk schema. My question is, when I build an audience or use these events, how would I differentiate between the events coming from website a or website b? Is it a good way to do it or should I setup a new dataset for different website? I am just confused how the dataset would differentiate that the data coming from website belongs to website a or website b. Thank you

Best answer by arpan-garg

Hi @saurabhdeswal  - Is it recommended to use different dataset per source. In your case since the source is different recommendation is to use a different dataset for different websites. In case its not an option, you can add a parameter in your schema (for example source) and ingest the value of this source as website A or B directly from the source system. You can also use web url as an option to differentiate.

 

Thanks,

Arpan

3 replies

RiteshY18
Community Advisor
Community Advisor
August 23, 2024

can you check dataset and XDM Event class, i believe class name should be different for each website - based on the class name you can figure out 

Umamaheswari_Yakkala
Community Advisor
Community Advisor
August 26, 2024

Hi, 

 

  Is there a specific reason you're combining data from two websites into one?

 

Thanks You,

Uma

arpan-garg
Community Advisor
arpan-gargCommunity AdvisorAccepted solution
Community Advisor
August 27, 2024

Hi @saurabhdeswal  - Is it recommended to use different dataset per source. In your case since the source is different recommendation is to use a different dataset for different websites. In case its not an option, you can add a parameter in your schema (for example source) and ingest the value of this source as website A or B directly from the source system. You can also use web url as an option to differentiate.

 

Thanks,

Arpan