I have tried to set the data source over the DIL so that it does not end up in the "Online Datasource" generic data source. For pixel tracking I would use "d_src" as a query parameter before submitting the signal. That's why assumed that adding the following line would already solve this problem. Nevertheless it does not work for me, now the signals are completely lost.
We have this legacy Dil.create function available in doc Configure Merge Rule Code to pass data source Id(dpid) using DIL code.However,we recommend using visitorApi.js to pass in the data source id.More information is available on link:
Thanks for your reply. It's not actually the reply to my answer, so probably I need to explain it better:
I know that I can set the data source for pixel and impression calls. What I want to do is to set the data source also for calls going to AAM over the DIL api.
If you use the server2server integration over Adobe Analytics you get your different report suites as an own data source. So I was wondering when I have the setup with GA + DIL in the frontend and send data directly to AAM, can I also set the data source on these calls. In my opinion it would be nice to keep the traffic separate from the generic "Online Datasource".
In other words is there a way to set the data source over the DIL api.