Skip to main content

Chrome Extension Sync

The HostMetrics Chrome extension provides a one-click alternative to manual CSV downloads. It scrapes trip earnings data directly from Turo’s website and sends it to HostMetrics for import.

What the Extension Does

Instead of downloading a CSV from Turo and uploading it to HostMetrics, the extension:
  1. Reads trip earnings data from the Turo dashboard page
  2. Packages the data in the same format as a Trip Earnings CSV
  3. Sends it to the HostMetrics API for processing
  4. Shows sync progress and results in the extension popup

Installation

The extension can be installed two ways:
  • Chrome Web Store — Install directly from the store listing
  • Manual install — Download the ZIP from HostMetrics and load as an unpacked extension in chrome://extensions
For step-by-step setup, see Chrome Extension Setup.

Sync Flow

  • turo-earnings.js — Scrapes trip earnings data from the Turo earnings page
  • turo-page-interceptor.js — Intercepts Turo API responses for additional data capture
  • hostmetrics-bridge.js — Bridges communication between the Turo page context and the extension
service-worker.js handles the extension lifecycle, manages authentication state, and coordinates data transfer between content scripts and the HostMetrics API.

Progress Tracking

During sync, the extension popup shows:
  • Current step (reading data, sending to server, processing)
  • Progress percentage
  • Number of trips found
  • Estimated time remaining

Error States

The extension requires the user to be on the Turo earnings page (turo.com/us/en/account/earnings) for the scrape to work. The extension popup will prompt navigation if needed.

Last Sync Display

The TuroSyncStatus component on the Data Sources page shows:
  • Last successful sync timestamp
  • Number of trips synced
  • Sync source (extension vs manual CSV)
The ExtensionSyncButton component provides an in-app trigger that communicates with the installed extension.

Extension Files

Security

The extension only accesses Turo pages (declared in the manifest permissions). Data is sent exclusively to the HostMetrics API over HTTPS. No credentials are stored in the extension — it uses the user’s existing Turo browser session.