Interaction

Inherits from Xamarin.Forms.ContentView

Whenever you view a page in the mobile app, a page view interaction is automatically logged on the server. More specifically, they are queued up and sent to the server in bulk every minute or so. But sometimes you might want to record a custom interaction that the user had when viewing the page. Say for example, recording an interaction that they viewed a blog article. Yes, we know content channels have built-in functionality to do that now too. Why nitpick?

Anyway, this control takes up zero space and provides a simple way to record a custom interaction. You need to specify the Operation, Summary, ChannelId and then one of either ComponentId or ComponentName. All other properties are optional.

Properties

<Rock:Interaction Operation="Watched video"
    Summary="Watch"
    ChannelId="28"
    ComponentName="{{ video.Name | Escape }}"
    Data="{{ video.Url | Escape }}" />

Last updated

⚙️ Powered by Rock RMS