Hi, so we have a universal JS source that we use a...
# support
c
Hi, so we have a universal JS source that we use across all our products/domains. However, we want to set up a device-mode only destination (Hotjar) to receive events from just one of our domains. What would be the best way to do this? Client-side Event Filtering would not help us here unless we could filter the events by a specific event property? Is something like that possible?
h
Device mode transforms will soon be available where you can dump events based on props
👍 1
k
In the mean time while device mode transformations is released, you can try out the filtering using the integrations object. You can enable the Hotjar using the integrations object on the requried products/domains and disable it where you do not want it. For more details refer here
c
@kind-carpenter-27609 When you say "on the required products/domains and disable it where you do not want" how would you do that within the integrations object in a track/page call? I understand how to simply turn a specific integration on or off but not how to turn it on or off based on a property within that event.
Also, do we have an ETA on when device mode transforms will be available?
k
I thought they were on different pages when you had mentioned the term different products/domains. Based on the properties of an event, you cannot do that. Also Device Mode Transforms is in beta stage at the moment and should be made available soon to enterprise customers.
👍 1
h
@kind-carpenter-27609 why cant you return null in a transform based on an event prop?
k
You can do it from transformations. I guess @cuddly-ice-9680 was asking how to set the integration options dynamically from the client side itself based on the event properties itself. User can write their own custom logic to set the integration options for an event before firing it, but we do not have a way to do that from the SDK itself
👍 1
h
Ah, I thought you were referencing transforms with your statement
👍 1
c
Thank you for clarifying! Really appreciate the feedback.