I would like to track a logged in user email when the user downloads PDF extension of a media item.
Currently I can track downloads, but not their logged in user email. Please let me know how to customise this programmatically in Sitecore 9.
I would like to track a logged in user email when the user downloads PDF extension of a media item.
Currently I can track downloads, but not their logged in user email. Please let me know how to customise this programmatically in Sitecore 9.
You can add a download event to a user interaction by using the
client.AddInteraction()
extension method. For example, the below code adds a new interaction with a download event to an existing contact.