damjack / elm-newrelic-nreum / NewRelic.NREUM.Interaction

Returns a new API object that is bound to the current SPA interaction. This method returns an API object that is bound to a specific BrowserInteraction event. Each time this method is called for the same BrowserInteraction, a new object is created, but it still references the same interaction.

Configuration


type Interaction

Interaction type

Configuration Methods

init : String -> Interaction

Build Nreum NoticeError with specific action name

Overlay Configuration

addMessage : String -> Interaction -> Interaction

Add sets the text value of the HTML element that was clicked to Nreum Interaction

addAdditionalData : NewRelic.AdditionalData.AdditionalData -> Interaction -> Interaction

Add custom attribute to Nreum Interaction

Encoding

encode : Interaction -> Json.Encode.Value

Convert Nreum NoticeError to JSON