← All platforms

    Installation Guide · Plain HTML / Static Site

    How to Add Agent Analytics to Your Website

    One script captures what visitors browse. That becomes memory your analytics can understand. And agents like Jack turn it into actions — recovery emails, demand segments, conversion insights.

    Install on Plain HTML / Static Site

    📄

    Plain HTML / Static Site

    For any static HTML website, simply add the script to your HTML files.

    Easy·1 min·1 method

    Direct Implementation

    Add the script to the <head> of every HTML page, or to a shared include file.

    1
    Open your HTML file(s) in a text editor

    Use any code editor like VS Code, Sublime Text, or even Notepad.

    2
    Find the <head> section near the top of the file

    The <head> section starts right after the opening <html> tag. It contains meta tags and the title.

    3
    Paste the tracking script inside the tag

    Place it near other script tags or at the top of <head> for earliest loading.

    Paste this
    <script async src="https://analytics.tradly.dev/tracker.js" data-server="https://analytics.tradly.dev" data-project="marketplace"></script>
    4
    Save the file and upload to your server

    If you're using FTP or a hosting panel, upload the updated file.

    Troubleshooting (3 common issues)
    • Make sure the script is in EVERY HTML page you want to track
    • If using a static site generator (Hugo, Jekyll, etc.), add it to your base template instead
    • After uploading, hard refresh your browser (Cmd+Shift+R) to see the changes

    Need help? Contact support@tradly.dev or check our FAQ.

    Last updated: January 2025