{"id":23509170,"url":"https://github.com/pbeart/google-analytics-cookie-parser","last_synced_at":"2025-07-01T14:31:30.273Z","repository":{"id":175865171,"uuid":"208668874","full_name":"pbeart/google-analytics-cookie-parser","owner":"pbeart","description":"A WIP forensics tool written in Python, for parsing Google Analytics cookies.","archived":false,"fork":false,"pushed_at":"2019-10-10T19:22:35.000Z","size":293,"stargazers_count":7,"open_issues_count":3,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-06-30T22:51:33.432Z","etag":null,"topics":["cookies","firefox","forensics","google-analytics","python"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pbeart.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2019-09-15T23:04:01.000Z","updated_at":"2024-01-12T15:35:55.000Z","dependencies_parsed_at":"2023-07-19T21:45:18.540Z","dependency_job_id":null,"html_url":"https://github.com/pbeart/google-analytics-cookie-parser","commit_stats":null,"previous_names":["pbeart/google-analytics-cookie-parser"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/pbeart/google-analytics-cookie-parser","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pbeart%2Fgoogle-analytics-cookie-parser","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pbeart%2Fgoogle-analytics-cookie-parser/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pbeart%2Fgoogle-analytics-cookie-parser/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pbeart%2Fgoogle-analytics-cookie-parser/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pbeart","download_url":"https://codeload.github.com/pbeart/google-analytics-cookie-parser/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pbeart%2Fgoogle-analytics-cookie-parser/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262981012,"owners_count":23394449,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cookies","firefox","forensics","google-analytics","python"],"created_at":"2024-12-25T11:39:10.582Z","updated_at":"2025-07-01T14:31:30.261Z","avatar_url":"https://github.com/pbeart.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cimg align=\"right\" src=\"https://raw.githubusercontent.com/pbeart/google-analytics-cookie-parser/master/docs/project_icon_1024.png\" width=\"128\"\u003e\n\n# google-analytics-cookie-parser\nA WIP forensics tool for Windows written in Python, for parsing Google Analytics cookies.\n## Always manually verify any results from this tool which you wish to use as evidence. \n\n### [Download latest version here](https://github.com/pbeart/google-analytics-cookie-parser/releases/latest)\n\n## Instructions for GUI use:\n\n\u003cimg src=\"https://raw.githubusercontent.com/pbeart/google-analytics-cookie-parser/master/docs/example_images/example1.png\" width=\"350\"\u003e\n\n#### Loading cookies\n+ Select the browser and browser version you're using from the dropdown at the top\n+ Find the cookies file using the instructions for your browser\n+ Click 'Process'\n\n#### Viewing and exporting\n+ You can view information for a given domain by selecting that domain with the Domain dropdown after loading a cookie file\n+ You can also export all Google Analytics cookies in a parsed format to .csv files in a chosen directory by clicking the 'Output to .csv' button\n\n## Instructions for CLI use:\n\n\u003cimg src=\"https://raw.githubusercontent.com/pbeart/google-analytics-cookie-parser/master/docs/example_images/example_cli_1.png\" width=\"350\"\u003e\n\n+ Every command requires both an input file path (`-i` or `--input`) and a browser name (`-b` or `--browser`) to be specified. Currently, `-b`/`--browser` can only be `firefox.3+` or `csv`\n\n#### Viewing cookie info\n+ The `info` command, which does not require any additional parameters, will show the number of GA cookies found and the number of unique domains for which any cookies were found\n\n\u003cimg src=\"https://raw.githubusercontent.com/pbeart/google-analytics-cookie-parser/master/docs/example_images/example_cli_info.png\"\u003e\n\n#### Listing domains\n+ The `list-domains` command, which does not require any additional parameters, will list all domains for which GA cookies were found\n\n\u003cimg src=\"https://raw.githubusercontent.com/pbeart/google-analytics-cookie-parser/master/docs/example_images/example_cli_list_domains.png\"\u003e\n\n#### Viewing domain information\n+ The `domain-info` command, which requires the additional parameter `-d` or `--domain`, will list a parsed version of all available information for the given domain. **The domain should be given in the format in which it is found with `list-domains`**\n\n\u003cimg src=\"https://raw.githubusercontent.com/pbeart/google-analytics-cookie-parser/master/docs/example_images/example_cli_domain_info.png\"\u003e\n\n#### Exporting all cookie information to .csv\n+ The `export-csv` command, which requires the additional parameter `-o` or `--output` which should be a directory path of the output directory, will export all found cookie data to .csv files in the given directory. The `-f` or `--force-overwrite` option can be given to automatically overwrite files if they exist without prompting the user.\n\n\n\u003cimg src=\"https://raw.githubusercontent.com/pbeart/google-analytics-cookie-parser/master/docs/example_images/example_cli_export_csv.png\"\u003e\n\n## GACP currently supports:\n* Reading and parsing cookies.sqlite from Firefox v3+ and any browser from which you can retrieve cookies as a .csv file\n* Analysing and parsing all relevant Google Analytics cookies (\\_ga, \\_\\_utma, \\_\\_utmb, \\_\\_utmz)\n* Presenting all available information for a given domain\n* Exporting GA cookie information to a .csv file\n\n### GACP is currently only tested on Firefox v3+ and .csv, and as always any critical evidence should be double-checked by manually inspecting the relevant cookies\n\n## Acknowledgements\nI would like to thank Kevin Ripa, for being such an excellent instructor and mentor, and providing the inspiration to create this tool.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpbeart%2Fgoogle-analytics-cookie-parser","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpbeart%2Fgoogle-analytics-cookie-parser","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpbeart%2Fgoogle-analytics-cookie-parser/lists"}