The MoEngage Web SDK can track user data and events to enhance analytics and display onsite messages, cards, and Web Personalization in LG TVs (webOS) and Samsung Tizen OS TV.
The integration is the same as the standard SDK integration for any other website.
However, make sure to follow these steps:
- Do not add the serviceworker.js file, as Push Notification does not work here.
disable_web_push: trueto the initialization config., so that the SDK does not initialize Push Notification module. More details are available here.
You can use all of the existing Web SDK methods for data, events tracking, and session tracking for Smart TVs. For more information, refer to this section.
There are no additional steps required here. OSM will work seamlessly without any integration effort.
Follow the steps to enable Web Personalization module.
To use the Cards feature, refer to the Cards section.
We have created the following sample apps for reference.