question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Can't categorize activities by URLs

See original GitHub issue

Environment

Browser: Firefox 73.0.1 (64-bit) and Google Chrome Version 80.0.3987.122 (Official Build) (64-bit) Operating system: Windows 10 Pro 1909 OS Type: 64-bit

Debug info from plugin

Number of active tabs: 1
Tabs:
{
    "id": 20,
    "index": 0,
    "windowId": 109,
    "highlighted": true,
    "active": true,
    "attention": false,
    "pinned": false,
    "status": "complete",
    "hidden": false,
    "discarded": false,
    "incognito": false,
    "width": 1080,
    "height": 1824,
    "lastAccessed": 1582933480468,
    "audible": false,
    "mutedInfo": {
        "muted": false
    },
    "isArticle": false,
    "isInReaderMode": false,
    "sharingState": {
        "camera": false,
        "microphone": false
    },
    "successorTabId": -1,
    "url": "https://learn.javascript.ru/",
    "title": "Современный учебник JavaScript",
    "favIconUrl": "data:image/png;base64,..."
}

Appnames in the Watcher

image image

The issue

Hi, I use ActivityWatch with Chrome and Firefox extensions. But activities are only tracking by tabnames, not by URL in both browsers. For example, with these settings: image image or image i have no information about activity image but if I set like this: image my activties appear image

Issue Analytics

  • State:open
  • Created 4 years ago
  • Reactions:6
  • Comments:13 (5 by maintainers)

github_iconTop GitHub Comments

5reactions
ErikBjarecommented, May 11, 2022

@ethanicus I’m afraid this has stalled a bit due to the difficulty in getting the required transforms right.

Right now, the general workaround is to either:

  1. not rely on URLs if possible
  2. install a browser extension that appends the domain or full URL to the window title (like: this for Firefox, and this for Chrome). That way, you can at least still use URLs for categorization.

I’ve noted that this is getting a bit untenable (and def an understandable source of confusion), so upping the priority a bit.

4reactions
ErikBjarecommented, Apr 25, 2021

@yutotakano That’s how it works right now.

The issue is that the url field is not in the events being categorized in the query. What’s needed is something to merge the web events with the window events, like worked on in https://github.com/ActivityWatch/aw-server-rust/pull/179.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Categorize events by URL - Features - ActivityWatch Forum
Categorize events by URL ... Some websites (say, Github) do not include its name in its title, making it impossible to categorize it...
Read more >
Incorrect Categorization - Palo Alto Networks
Follow these steps to determine a URL's category and request a category change if you believe it is incorrectly categorized.
Read more >
Incorrect URL Categorization - TechDocs - Broadcom Inc.
Solution · Reproduce the issue by browsing to the same website. · In the activity log, enter the Ticket Id in the Tab...
Read more >
Solved: URL Categorization - Cisco Community
Hello. I have read some post, but can't find information how to get my website categorized for Cisco web filters. Any idea or...
Read more >
How to Include Category and Subcategory in WordPress URLs
However, if you are using the default WordPress URL structure, then your categories and subcategories are not included in the post URLs. Some ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found