Supported Frameworks & Platforms
React
Use Trakg in your React app by adding the script to
public/index.html or
dynamically inside a layout component.Next.js
For Next.js, embed the script in
app/layout.tsx or _document.js (for
legacy apps).Vue.js
Add the Trakg script to your
public/index.html or in your root App.vue
layout.Laravel (Blade)
Include the script in your
layouts/app.blade.php just before </body> to track all Blade-based forms.HTML / CSS / JS
Using plain HTML? Simply paste the script before the closing
</body> tag on your site.Custom Frameworks
As long as your forms render HTML on the frontend, Trakg works
out-of-the-box with minimal setup.