This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const sendMessageEventHandler = event => { | |
if (event.data?.event_source !== 'ikeono' && event.data?.event_name !== 'send_message') return; | |
console.log(`Received event from ikeono`, event.data) | |
// Here you can call gtag('event') | |
// https://developers.google.com/analytics/devguides/collection/ga4/events?client_type=gtag | |
} | |
window.addEventListener(sendMessageEventHandler) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let className = String(describing: TheClass.self) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let title = NSLocalizedString("title", comment: "comment") |