/
Discussion Forum: Telemetry Events

Discussion Forum: Telemetry Events

This document details about telemetry events generated from discussion-ui library & how to capture the event

 

Event emitted by Discussion-UI library

Interact

{ "eid": "INTERACT", "edata": { "id": "category-card", "type": "CLICK", "pageid": "discussion-category" }, "context": { "cdata": [ { "id": 13, "type": "Category" } ], "object": { "id": 13, "type": "Category", "ver": "1", "rollup": { "l1": { "id": 6, "type": "Category" }, "l2": { "id": 8, "type": "Category" } } } } }

Impression

{ "eid": "IMPRESSION", "edata": { "type": "view", "pageid": "discussion-home", "uri": "/discussion/category/13%2Fannouncements" }, "context": { "cdata": [ { "id": 13, "type": "Category" } ] } }

 

Integration in the portal:

Capturing telemetry events triggered by the Discussion-UI Library

import { DiscussionEventsService } from 'discussion-ui'; constructor(private discussionEvents: DiscussionEventsService) { } ngOnInit() { this.discussionEvents.telemetryEvent.subscribe(event => { console.log('telemetryEvent', event); }); }

Related content

Discussion Forum
Discussion Forum
More like this
Discussion Forum: Integration
Discussion Forum: Integration
Read with this
Developer's Doc: How to set-up and use Discussions-UI library
Developer's Doc: How to set-up and use Discussions-UI library
More like this
Discussion forum notifications
Discussion forum notifications
More like this
Telemetry V3.1 Specifications
Telemetry V3.1 Specifications
More like this
Telemetry Changes of 2.6.0
Telemetry Changes of 2.6.0
More like this