Skip to main content

LLM Tracking: Monitor and Control Personal LLM Usage

Overview

LLM Tracking shows which accounts employees use on web-based AI tools, such as ChatGPT and Claude. It's part of Swif Browser Security, Swif's browser extension.

Employees often use AI tools with personal accounts, such as a personal Gmail address, instead of their work account. Company code and data can then end up in accounts your organization doesn't control. LLM Tracking helps you find this, and act on it.

LLM Tracking works two ways:

Automatic account detection

Rule-based tracking

What it does

Records which account is signed in to supported AI apps

Tracks personal accounts, and can notify employees or block access

Needs a rule?

No

Yes

What employees see

Nothing

A notice or a block, depending on the rule

Privacy: cookie and token values never reach Swif. To find out which account is signed in, Swif Browser Security reads some of the AI app's own cookies or site data, in the browser. Those values stay in the browser, or go only to the AI app's own server. Swif receives only the account's email address and domain, which app it's on, whether the account is work or personal, the device, and the time.

Swif never collects passwords, prompts, responses, or chat history.

To see AI coding agents and their accounts on the device itself, such as Claude Code or Cursor, use the Swif AI Agent Activity Monitoring Policy.


Automatic account detection

When an employee opens a supported AI app in their browser, Swif Browser Security detects the account they're signed in to, and records it. It runs in the background, with nothing shown to the employee, and doesn't need a rule.

Supported apps

AI app

Web pages

ChatGPT and OpenAI

chatgpt.com, OpenAI Platform

Claude

claude.ai, console.anthropic.com

Cursor

cursor.com

Cline

app.cline.bot

Warp

app.warp.dev

OpenCode

opencode.ai

Hermes

portal.nousresearch.com (shown in reports as Nous Portal)

Grok

grok.com

How it works

  • Only signed-in accounts are recorded. Visiting a supported app while signed out records nothing.

  • One record per app every 10 minutes. Reloading the page, switching tabs, or opening the app again within 10 minutes doesn't create more records.

  • Account switches are recorded right away. If an employee signs out and signs in with a different account, for example from a work account to a personal one, Swif records the new account when they next open or return to the page.

Browsers

Automatic account detection works in Swif Browser Security 2.2.38 or later, in Chrome, Edge, and Firefox. It isn't available in Safari yet, on Mac, iPhone, or iPad.

Where detections appear

Automatic detections are recorded as Account detected events. They don't appear on the Insight Dashboard, which shows rule-based sessions only.


How the signed-in account is identified

Each AI app shows its signed-in account differently, so Swif Browser Security reads what each app needs, in the browser:

App

What's read in the browser

Claude

The lastActiveOrg cookie, which holds an organization ID. The extension uses it to ask Claude's own server which account is signed in.

ChatGPT

The oai-client-auth-info cookie, which holds the user's name and email, and whether ChatGPT's sign-in cookie exists

DeepSeek (rule-based tracking only)

DeepSeek's sign-in token, from the site's own storage. The extension uses it to ask DeepSeek's server for the email. The token is sent only to DeepSeek.

No cookie or token value is ever sent to Swif.


Rule-based tracking

With a rule, you can track personal accounts on more AI tools, and choose what happens when one is found.

Supported tools

Tool

Monitored domains

ChatGPT

chatgpt.com, chat.openai.com

Claude

claude.ai

Gemini

gemini.google.com

Copilot

copilot.microsoft.com

Perplexity

perplexity.ai, www.perplexity.ai

DeepSeek

chat.deepseek.com

Gemini, Copilot, Perplexity, and DeepSeek are tracked only when a rule includes them.

How accounts are classified

Swif Browser Security checks the signed-in account, and classifies it:

Detail

Values

Sign-in state

Signed in, anonymous, or unknown

Sign-in type

Work, if the email matches one of your rule's work domains. Personal, for consumer domains such as gmail.com, yahoo.com, outlook.com, hotmail.com, and protonmail.com. Unknown, if it can't tell.

Confidence

High, medium, or low

What happens when a personal account is found

Rule action

What happens

Track only

The session is recorded. Nothing is shown to the employee.

Show acknowledgement notice

A notice tells the employee they're using a personal account on a monitored AI tool.

Block access

The employee can't keep using the tool with a personal account, until they switch to a work account or sign out.


What employees see

Acknowledgement notice

The notice names the AI tool, and has two options:

  • I understand: closes the notice for this page. It appears again if the employee reloads or returns to the page.

  • Close (X): closes the notice for 24 hours. It appears again on the next visit after that.

The notice doesn't stop the employee from using the tool.

Block

With blocking on, the employee sees a screen that stops them from using the tool with a personal account. To continue, they switch to a work account or sign out.

Automatic account detection never shows anything to employees.


Set up rules

Go to Settings > Team Settings > LLM Account Monitoring. If you haven't created a rule yet, you'll see a prompt to create your first one.

Create a rule

  1. Click Create Rule.

  2. Fill in the fields:

Field

What to enter

Rule Name

A descriptive name

Work Domains

Your organization's email domains. Your domain is filled in for you. Add others, such as a subsidiary's, as needed. At least one is required.

LLM Tools to Monitor

All six are selected. Clear any you don't want to monitor.

User Groups

The groups the rule applies to

Action When Personal Account Is Detected

Track only, show acknowledgement notice, or block access

3. Click Create.


You can create several rules, with different tools, work domains, and actions, for different groups.

Edit or delete a rule

Click the ⋮ menu on the rule's row, and select Edit or Delete. Deleting a rule stops rule-based tracking for it right away.

The rules table

  • More than two tools: the table shows the first two, with a +X badge. Hover over it to see the rest.

  • Filter rules by user group, tool, or action.

  • Sort by any column.


See AI usage on the Insight Dashboard

Go to Shadow IT > Insight Dashboard, and find the AI Adoption & Usage section.

Widget

What it shows

LLM Account Sessions by Sign-In Type

A chart of sessions by Work, Personal, and Unknown. Hover over a segment for its count and percentage.

LLM Sessions by Tool

Sessions for each tool, by sign-in type, with a trend compared with the previous period: a red up arrow for more use, a green down arrow for less, and gray for no change

Both widgets use the time range at the top of the section, Last 30 days by default.

Click a tool to see its sessions by sign-in type, its trend, and the rules that apply to it.

Click a rule to open it in LLM Account Monitoring.


Technical details

No sign-in needed

LLM Tracking doesn't need employees to sign in to Swif Browser Security. On enrolled devices, it identifies the device by its Swif enrollment.

Events

Event

When it's sent

account_detected

Automatic account detection found a signed-in account

session_start, active_ping, session_end

A rule-based tracking session starts, continues, or ends

acknowledge

The employee acknowledged the notice

block_triggered, block_resolved

A block was shown, or resolved

Each event includes the app and its domain, the sign-in state and type, the confidence level, the email address and its domain, the device, a session ID, and a timestamp.


FAQ

Does Swif see what employees type into AI tools?

No. Swif never reads or sends prompts, responses, or chat history. It records only which account is signed in.

Does Swif Browser Security read cookies?

It reads some of the AI app's own cookies or site data in the browser, only to find out which account is signed in. See How the signed-in account is identified. Cookie and token values are never sent to Swif.

Does automatic detection work in Safari?

Not yet. It works in Chrome, Edge, and Firefox.

Does automatic account detection interrupt employees?

No. It runs in the background, and shows nothing.

What happens if an employee isn't signed in?

Automatic account detection records nothing. With a rule, the session is recorded with sign-in type Unknown, and no notice is shown.

Does it work in Incognito or private browsing?

Yes, if the employee has allowed Swif Browser Security there. Extensions don't run in private windows by default. Once allowed, automatic detection and rule-based tracking both work as normal.

Each browser has its own setting: Chrome's Incognito, Edge's InPrivate, and Firefox's private windows.

What happens if I delete all rules?

Rule-based tracking stops: no notices, blocks, or rule-based records. Automatic account detection keeps recording signed-in accounts on supported apps.

Can I set different rules for different teams?

Yes. Each rule applies to the user groups you choose.

Why isn't Gemini detected automatically?

Gemini, Copilot, Perplexity, and DeepSeek are tracked only with a rule. Create a rule that includes them.


Related resources

Did this answer your question?