Tagtics

TTaaggttiiccss

Overview

  • Introduction
  • Features
  • Tech Stack

Implementations

  • Client Overview
  • React / Next.js
  • Vue 3
  • Angular
  • Svelte
  • Solid.js
  • Vanilla JS / HTML
DDooccss
Dashboard
ImplementationsVanilla JS
Implementation Guide

Vanilla JS / HTML

Integrate TTaaggttiiccss 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>