Jetrack

Jetrack

Installation Guides

Framer Installation

Install Jetrack on your Framer website

Framer makes it easy to add Jetrack to your website using the Custom Code feature.

Installation Steps

Step 1: Open Project Settings

  1. Open your Framer project
  2. Click the Settings icon (gear icon) in the top-right corner

Step 2: Navigate to Custom Code

  1. In the left sidebar, click General
  2. Scroll down to find the Custom Code section
  3. Click + Add Script (or the + button if you have existing scripts)

Step 3: Configure the Script

  1. Name: Enter "Jetrack" or a descriptive name
  2. Location: Select headEnd (recommended for analytics)
  3. Paste your tracking script:
<script
    async
    defer
    data-website-id="your-unique-id"
    src="https://analytics.brandjet.ai/script.js">
</script>
  1. Run: Select Once (default)
  2. Click Save

Step 4: Publish Your Site

Custom code only appears on your published site, not in the preview.

  1. Click Publish in the top-right
  2. Your tracking script is now live!

Script Placement Options

Framer offers several placement locations:

  • headStart: Beginning of <head> tag
  • headEnd: End of <head> tag (recommended for analytics)
  • bodyStart: Beginning of <body> tag
  • bodyEnd: End of <body> tag

Recommended: Use headEnd for analytics scripts.

Page-Specific Tracking

To track only specific pages:

  1. In the Custom Code section, select specific pages from the dropdown
  2. The script will only load on those pages

Run on Every Page Visit

For single-page Framer sites with view transitions:

  1. In the script settings, change Run to On Every Page Visit
  2. This ensures tracking on route changes

Using the Embed Component

Alternative method for visual embedding:

  1. Go to Insert menu
  2. Search for Embed
  3. Drag the Embed component onto your canvas
  4. Add your script in the HTML section

Note: Using Custom Code in Settings is the recommended approach.

Framer Sites (formerly FramerX)

These instructions work for both:

  • Framer (current web-based editor)
  • Framer Sites (legacy desktop app)

Testing

  1. Publish your Framer site
  2. Visit your live site (not preview)
  3. Open browser Dev Tools (F12)
  4. Check Network tab for script.js
  5. Verify data in your BrandJet dashboard

Troubleshooting

Script Not Loading

  • Make sure you published your site (custom code doesn't run in preview)
  • Verify the script location is set to headEnd
  • Check that your website ID is correct

Custom Code Not Running

  • Framer sites are SPAs (single-page applications)
  • Use "Run On Every Page Visit" for tracking all page navigations
  • Refresh your published site

Changes Not Appearing

  • Re-publish your Framer site
  • Clear browser cache
  • Wait a few minutes for changes to propagate

Framer Motion & Animations

BrandJet tracking works seamlessly with:

  • Framer Motion animations
  • Page transitions
  • Interactive components
  • All Framer effects

Best Practices

  • Use clear, descriptive names for your scripts
  • Place analytics scripts in headEnd
  • Test on your published site, not in preview
  • Use environment-specific tracking for staging vs. production

Next Steps

On this page