1.4 KiB
1.4 KiB
<html lang="ko">
<head>
<script src="./aptabase.min.js"></script>
<style>
body { font-family: sans-serif; padding: 2em; }
button { display: block; margin-bottom: 1em; padding: 0.5em 1em; }
</style>
</head>
Aptabase Standalone 테스트
Click the buttons below to send test events.
Track: App Started Track: Used Feature A (with props) Track: Used Feature B Track: User Signed Up Track: Item Purchased (with props) <script> // 1. Aptabase 초기화 // App Key의 region이 'SH'인 경우 host는 필수입니다. window.aptabase.init("A-SH-7212023630", { host: "https://aptabase.hmac.kr" }); function track(eventName, props) { // 2. 이벤트 전송 window.aptabase.trackEvent(eventName, props); console.log(`Event '${eventName}' sent!`, props ? { props } : ''); } </script> </html>