Expand my Community achievements bar.

Web SDK : Modify Config ID Dynamically.

Avatar

Employee

9/14/22

Description - Modify the Config ID that's been set on the run of web SDK extension, based on a certain action of the user on page where a pageload /page refresh/ Navigation

Why is this feature important to you - consider a scenario, where user provide a consent and a page load/ refresh doesn't happen. based on the consent of user if he enabled Analytics and disables personalization and Advertising opt In's. we need to send data using data streamA with service enabled only for analytics.
user case 2: If  user opt out Analytics and opt In Adverting and Personalization , we need to send data using data streamB with service enabled for event forwarding and Target. 

How would you like the feature to work - Providing a option to Developer to modify config ID in web SDK before send event.

Current Behaviour - We are not able to change the config ID until a page reload / refresh / navigation takes place

1 Comment

Avatar

Level 2

10/26/22

Thanks for posting this idea. I'm also encountering the same type of situation, and we've contemplated doing the same approach of managing multiple datastream IDs dynamically in the client application. However, this would mean the logic to decide which datastream ID to use has to reside within the client app. The more ideal capability is to have some Rules engine to enable event filtering at the Datastream level, so that we can selectively decide which XDM event would be consumed or not consumed by a given Datastream service. 

 

I've posted that as an idea here https://experienceleaguecommunities.adobe.com/t5/adobe-experience-platform-ideas/rules-based-engine-...

 

Thanks