Jetrack

Jetrack

Installation Guides

Bubble.io Installation

Install Jetrack on your Bubble application

Bubble.io allows you to add custom HTML code globally or per-page, making Jetrack integration straightforward.

Global Installation (All Pages)

For site-wide tracking, add the script to your application settings.

Steps

  1. Open your Bubble editor
  2. Click Settings (gear icon) in the left toolbar
  3. Navigate to the SEO / Metatags tab
  4. Find the Script/meta tags in header section
  5. Paste your BrandJet tracking script:
<script
    async
    defer
    data-website-id="your-unique-id"
    src="https://analytics.brandjet.ai/script.js">
</script>
  1. Click Save

Your tracking script now loads on all pages of your Bubble app!

Page-Specific Installation

To track only specific pages:

  1. Open the page in your Bubble editor
  2. Double-click the page background (outside any elements)
  3. In the Element Inspector, scroll to Page HTML Header
  4. Paste your tracking script
  5. The script will only load on that specific page

Using the HTML Element

For inline scripts or dynamic content:

  1. Drag an HTML element from the visual elements panel
  2. Place it on your page
  3. Add your tracking script in the HTML field
  4. Make sure the element is visible

Note: The global header method is recommended for analytics.

Important Notes (2024 Update)

As of July 2024, Bubble changed JavaScript script tags to type "module" for better performance. Your Brand Jet tracking script should work without modifications, but if you encounter issues:

  • Ensure the script uses async and defer attributes
  • Avoid using document.write in custom scripts
  • Use $('head').append() if dynamically adding scripts

What Gets Tracked

BrandJet tracks all Bubble pages including:

  • Landing pages
  • User dashboards
  • Workflows (page loads)
  • Custom pages
  • Pop-ups (if they trigger page loads)

Testing

  1. Add the tracking script to your Bubble app
  2. Click Preview to open your app
  3. Navigate through pages
  4. Check your BrandJet dashboard for visitor data

Note: Development mode traffic may be filtered. Test on your live site for accurate results.

Bubble Plans

Custom code in headers requires:

  • Personal Plan or higher
  • Some features may require Professional Plan

Check your Bubble plan if the option is disabled.

Troubleshooting

Script Not Loading

  • Verify you added the script to SEO / Metatags
  • Clear Bubble's cache: SettingsGeneralClear cache
  • Check browser console for errors

Not Tracking Page Views

  • Ensure the HTML element is visible (if using inline method)
  • Verify your website ID is correct
  • Check that the script appears in page source

Changes Not Appearing

  • Save your settings
  • Refresh your Bubble preview
  • Deploy to live if testing on production

Bubble Responsive Engine

BrandJet works with both:

  • Classic Bubble Editor
  • New Responsive Engine

No special configuration needed!

Custom Workflows

BrandJet automatically tracks page navigations in Bubble workflows. Custom event tracking can be added using the BrandJet JavaScript API.

Next Steps

On this page