Question

For a project I'm using Sitecore in combination with Sitecore Digital Marketing System(DMS). I want to know if a component was called by a DMS rule; and if a component was called by a DMS rule I want to know by which one. So I can send the results of my DMS rules to Google Analytics. Does anyone know how to do that?

Thanks a lot.

Jordy

Was it helpful?

Solution

Look in Sitecore.Analytics.config in the app_config/include folder.

In there you'll find a reference to Sitecore.Analytics.Pipelines.InsertRenderings.Personalization which is a processor in the insertRenderings pipeline.

If you decompile that class (it's in Sitecore.Analytics.dll) you will see that it is responsible for taking action when personalization conditions are met.

I think you could probably extend this class to add the functionality you require. Then you can replace the original class reference in the config file with your new one.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top