-
-
Notifications
You must be signed in to change notification settings - Fork 1
3.2.2. Analytics
Ettiene Mare edited this page Mar 6, 2020
·
3 revisions
The Polaris Workflow Analytics will listen to all the workflow and input events.
The events will be send as a windows post message.
Go to the 3.2.3. Messages page for a list of events.
The component is implemented as a web component.
Simply add Polaris Workflow Analytics on the web page to use.
<polaris-analytics></polaris-analytics>
Register the event listener and send the data to your analytics collector.
<script>
window.addEventListener('wfMessage', (event) => {
const msg = event.detail;
switch (msg.type) {
case "ERROR": return this.logAnalytics(msg);
.....
.....
case "WORKFLOW_CHANGED": return logAnalytics(msg);
}
});
</script>
-
3.1.Introduction
3.2. Core
3.3. Services
3.3.1. Workflow
3.3.2. Analytics
3.3.3. Config
3.3.4. Model
3.3.5. Validator
3.3.6. Http3.4. Validators
3.5. Pipes
3.5.1. Currency
3.6. Activities
3.6.1. Page
3.6.2. Api
3.6.3. Assign
3.6.4. Decision
3.6.5. Code
3.6.6. IPC
3.6.7. Finish
3.6.8. Redirect
3.6.9. Switch
3.6.10. Custom3.7. Web Components
3.7.1. React