A powerful Chrome extension designed for automation agencies to track employee activities, identify time sinks, detect repetitive patterns, and discover automation opportunities using AI analysis.
This extension helps automation consultants:
- Track what employees actually do - Monitor clicks, forms, navigation, and time spent
- Identify time sinks - See where time is being wasted on repetitive tasks
- Detect patterns - Automatically find repetitive actions that could be automated
- Get AI insights - Use GPT-4 or Claude to analyze patterns and suggest automation opportunities
- Make informed decisions - Export data and review AI recommendations before implementing automation
Perfect for automation agencies working with businesses that have 5+ employees where manual observation isn't scalable.
- β Page navigation tracking - Every URL visit with timestamps
- β Click tracking - All mouse clicks with element details
- β Form submission tracking - Capture form interactions
- β Time tracking - Precise time spent on each domain
- β Input tracking - Detect data entry patterns
- β Copy/paste detection - Identify repetitive data transfer
- β Keyboard shortcuts - Track power user behaviors
- π Repetitive navigation - Same URLs visited multiple times
- π Repetitive forms - Frequent form submissions on same domains
- π±οΈ High click activity - Detect manual workflows requiring many clicks
- β±οΈ Time sinks - Identify domains consuming excessive time
- π Repetitive click patterns - Same elements clicked repeatedly
- π€ OpenAI GPT-4 integration - Advanced pattern analysis
- π€ Anthropic Claude integration - Alternative AI analysis
- π‘ Automation recommendations - AI suggests RPA, API, or browser automation solutions
- π Impact prioritization - Ranked by time saved Γ frequency
- π ROI estimation - Estimated time savings for each opportunity
- πΈ Automatic screenshots - Captures screens when triggers are detected
- π― Smart triggers - Screenshots on form submissions, repetitive clicks, high input activity
- β° Periodic snapshots - Optional scheduled screenshots every 5 minutes
- πΌοΈ Screenshot gallery - Browse captured screens with metadata
- πΎ Storage management - Automatic compression and cleanup to prevent storage issues
- π Visual workflow documentation - See exactly what users are doing
- π Real-time statistics - Live activity metrics
- π Visual insights - Time by domain, event counts, pattern severity
- πΈ Screenshot gallery - Visual record of workflows with filtering
- π€ Data export - Export full activity data as JSON (including screenshots)
- π¨ Beautiful UI - Gradient design with intuitive tabs
The extension requires PNG icons. Generate them from the SVG:
cd icons
./generate-icons.shOr manually convert icons/icon.svg to PNG at these sizes:
icon16.png- 16x16 pixelsicon48.png- 48x48 pixelsicon128.png- 128x128 pixels
You can use online tools:
- Open Chrome and navigate to
chrome://extensions/ - Enable "Developer mode" (toggle in top-right)
- Click "Load unpacked"
- Select this directory (Test2)
- The extension should now appear in your toolbar
- Click the extension icon
- Click "Options" button
- Select your AI provider (OpenAI or Anthropic)
- Enter your API key
- Save settings
Getting API Keys:
- OpenAI: https://platform.openai.com/api-keys
- Anthropic: https://console.anthropic.com/
Once installed, the extension automatically tracks:
- Every page you visit
- Every click you make
- Every form you submit
- Time spent on each site
No action required - just browse normally!
- Click the extension icon to open the dashboard
- Navigate through four tabs:
- Overview: See total events, clicks, forms, and time by domain
- Patterns: View detected automation opportunities
- Screenshots: Browse visual records of workflows
- AI Insights: Get AI-powered recommendations
Automatic Capture: Screenshots are automatically captured when:
- Forms are submitted (see what data is being entered)
- Repetitive click patterns detected (catch manual workflows)
- High input activity occurs (identify data entry tasks)
- Optionally: Every 5 minutes (enable in Options)
Viewing Screenshots:
- Open dashboard β "Screenshots" tab
- Browse captured screenshots as thumbnails
- Click any screenshot to view full size
- Filter by trigger type (forms, repetitive clicks, etc.)
- Delete unwanted screenshots
Manual Capture:
- Click "Capture Now" button in Screenshots tab for instant capture
Settings:
- Configure triggers in Options β Screenshot Settings
- Adjust throttle time to prevent spam
- Set maximum screenshots to keep
- Enable/disable specific triggers
Manual Analysis:
- Open the dashboard
- Go to the "Patterns" tab
- Click "Run Analysis"
- View detected patterns sorted by severity (High/Medium/Low)
Automatic Analysis:
- By default, runs every 30 minutes
- Configure interval in Options
- Configure AI provider in Options (see Step 3 above)
- Open dashboard β "AI Insights" tab
- Click "Analyze with AI"
- Wait ~10-30 seconds for analysis
- Review AI recommendations for:
- Top automation opportunities
- Recommended automation approach
- Estimated time savings
- Priority ranking
Export all tracking data for external analysis:
- Open dashboard
- Click "Export Data" button
- Save the JSON file
- Use with your own analysis tools or share with clients
Export includes:
- All tracked activities
- Detected patterns
- Captured screenshots (with metadata)
- Timestamps and metadata
Access via: Extension icon β Options button
- AI Provider: Choose OpenAI, Anthropic, or None
- API Key: Securely stored locally
- Toggle tracking for: clicks, forms, navigation, time, inputs
- Customize what gets tracked
- Auto-analysis interval: 15min, 30min, 1hr, 2hr, or manual only
- Enable/disable screenshot capture globally
- Trigger toggles: Form submissions, repetitive clicks, high input activity
- Periodic screenshots: Optional 5-minute interval captures
- Throttle time: Minimum seconds between screenshots (10s - 5min)
- Storage limit: Max screenshots to keep (20, 50, 100, or 200)
- Data retention: 7, 30, 90 days, or keep all
- Exclude sensitive sites: Auto-exclude banking, healthcare
- Exclude domains: Custom domain blacklist
- β All data stored locally in Chrome storage
- β No external servers except AI APIs (when enabled)
- β No tracking of credentials or sensitive form data
- β API keys stored securely in Chrome's sync storage
- URLs visited
- Click locations (element type, ID, class)
- Form submissions (without form data)
- Time spent per domain
- Navigation patterns
- Screenshots (with triggers and metadata, stored as compressed JPEG)
- β Passwords or credentials
- β Actual form field values
- β Incognito/private browsing
- β Content of text you type
- β Personal messages
- Activity data sent to AI providers only when you click "Analyze with AI"
- You can disable AI entirely
- AI providers (OpenAI/Anthropic) have their own privacy policies
- Consider this before analyzing sensitive business workflows
Scenario: Client has 10 employees doing manual data entry
- Install extension on employee machines (with permission)
- Track activities for 1-2 weeks
- Run pattern analysis
- Review AI recommendations
- Identify top 3-5 automation opportunities
- Export data for client presentation
- Implement highest-ROI automations first
Benefits:
- Data-driven automation decisions
- Quantified time savings
- Clear before/after metrics
- Employee buy-in (they see what's repetitive)
- Repetitive form filling β RPA with auto-fill
- Frequent navigation to same pages β Browser shortcuts or bookmarks
- High click counts on admin panels β API integration
- Copy/paste between systems β Data pipeline automation
- Excessive time on manual tasks β Process automation
- Manifest V3 - Latest Chrome extension standard
- Service Worker - Background processing
- Content Scripts - Page-level tracking
- Chrome Storage API - Local data persistence
- Chrome Alarms API - Scheduled analysis
Test2/
βββ manifest.json # Extension configuration
βββ background.js # Service worker (main logic)
βββ content.js # Activity tracking script
βββ popup/ # Dashboard UI
β βββ popup.html
β βββ popup.css
β βββ popup.js
βββ options/ # Settings page
β βββ options.html
β βββ options.css
β βββ options.js
βββ icons/ # Extension icons
β βββ icon.svg
β βββ icon16.png
β βββ icon48.png
β βββ icon128.png
βββ README.md
- Maximum ~10MB in Chrome local storage
- Extension keeps last 10,000 events
- Older events automatically removed
- Configure retention period in Options
tabs- Track active tabsstorage- Save activity dataactiveTab- Access current pagealarms- Schedule periodic analysisscripting- Inject content scriptswebNavigation- Track page navigation<all_urls>- Track all websites
- Threshold: β₯5 visits to same URL
- Severity:
- High: β₯20 visits
- Medium: 10-19 visits
- Low: 5-9 visits
- Threshold: β₯3 form submissions on same domain
- Severity:
- High: β₯10 submissions
- Medium: 5-9 submissions
- Low: 3-4 submissions
- Threshold: β₯50 clicks on same domain
- Severity:
- High: β₯200 clicks
- Medium: 100-199 clicks
- Low: 50-99 clicks
- Threshold: β₯2 hours on same domain
- Severity:
- High: β₯8 hours
- Medium: 4-7 hours
- Low: 2-3 hours
- Check if extension is enabled in
chrome://extensions/ - Verify tracking settings in Options
- Reload the page you're testing on
- Check browser console for errors (F12)
- Verify API key is correct in Options
- Check API provider has credits/quota
- Try switching providers
- Check browser console for error messages
- Generate PNG icons from SVG (see Installation step 1)
- Ensure files are named correctly:
icon16.png,icon48.png,icon128.png - Reload extension in
chrome://extensions/
- Browse some websites first (data only tracks when active)
- Wait a few minutes for data to accumulate
- Click refresh/reopen dashboard
- Check storage isn't full (clear old data if needed)
IMPORTANT: Before deploying this extension:
- β Get employee consent - Inform employees they're being tracked
- β Check local laws - Employee monitoring laws vary by location
- β Be transparent - Explain the purpose (finding automation, not surveillance)
- β Limit scope - Only track work-related activities
- β Respect privacy - Don't track personal browsing
- β Share benefits - Automation helps employees too (less tedious work)
Recommended approach:
- Present as "automation opportunity finder"
- Show employees the patterns found
- Involve them in deciding what to automate
- Make it opt-in when possible
- Never use for performance monitoring
Future enhancements:
- Desktop app version (for non-browser activities)
- Screenshot capture for visual workflows
- Video recording of repetitive tasks
- Direct integration with RPA tools (UiPath, Automation Anywhere)
- Team dashboard (aggregate data from multiple employees)
- Pre-built automation templates based on patterns
- Cost/benefit calculator for automation ROI
- API for custom integrations
See LICENSE file for details.
For issues or questions:
- Check Troubleshooting section above
- Review browser console for errors
- Verify all files are present and correctly named
- Ensure Chrome is up to date
Built for automation agencies to scale their discovery process and make data-driven automation decisions.
Happy automating! π€