Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <configuration xmlns:patch="http://www.sitecore.net/xmlconfig/">
- <sitecore>
- <pipelines>
- <processItem>
- <processor type="YourNamespace.ProcessProfileProcessor,YourAssembly"
- patch:instead="processor[@type='Sitecore.Analytics.Pipelines.ProcessItem.ProcessProfiles, Sitecore.Analytics']"/>
- </processItem>
- </pipelines>
- </sitecore>
- </configuration>
- public class ProcessProfileProcessor : ProcessItemProcessor
- {
- public override void Process(ProcessItemArgs args)
- {
- Assert.ArgumentNotNull((object) args, "args");
- foreach (TrackingField trackingParameter in args.TrackingParameters)
- {
- TrackingProcessor.ProcessProfiles(args.Interaction, trackingParameter);
- }
- }
- }
- public static class TrackingProcessor
- {
- public static void ProcessProfiles(CurrentInteraction interaction, TrackingField field)
- {
- // Your Logic goes here.
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement