Implementation Guide
Vanilla JS / HTML
Integrate using modern lifecycle hooks. The client automatically handles route changes for you.
1. Installation
Add the script tag to your HTML.
2. Initialization
Call init when your app mounts and destroy when it unmounts to prevent memory leaks.
<!-- Include via CDN -->
<script src="https://cdn.tagtics.online/client.js"></script>
<script>
window.addEventListener('DOMContentLoaded', () => {
if (window.Tagtics) {
window.Tagtics.init({
apiKey: "YOUR_API_KEY"
});
}
});
</script>