π‘ Getting Started with HTML/CSS/JS
Trakg works out of the box with any static or dynamic website built using plain HTML, CSS, and JavaScript.β Recommended Setup
Just add the following script before the closing</body>
tag in your main HTML file:
YOUR_ID_GIVEN
with the unique Site ID from your Trakg Dashboard.
π Example: index.html
π‘ Best Practices
β Usedefer
to ensure the script loads after HTML is parsedβ Keep the script at the end of the
<body>
for best performanceβ Works with any form using native
form
, input
, textarea
, or select
tagsβ No need for extra configuration or dependencies
π Youβre Ready!
Once the script is added, Trakg will automatically:- Track user interactions on your forms
- Capture partially filled form data
- Log completed submissions
- Show real-time analytics in your Trakg dashboard