Hype xAPI Documentation

⌘K
👋 WELCOME to HypeXAPI
Introduction
What is Hype?
What is xAPI?
Why are we doing it?
How are we doing it?
Functions in Hype xAPI
hypeDocument
HypeXAPI
Docs powered by archbee 
1min

HypeXAPI.sendStatementByDataset

This function sends a statement based on dataset attributes. To use this function, simply pass in the element that you want the attributes to be taken from. The function will then send a statement based on those attributes. For example, if you have an element with the following attributes: data-xapi-actor = "John Doe" data-xapi-verb = "likes" data-xapi-object = "cats" The function will send a statement like this: John Doe likes cats

JS
|




Updated 03 Mar 2023
Did this page help you?
Yes
No
UP NEXT
HypeXAPI.sendStatementByDictonary
Docs powered by archbee