{"id":18135370,"url":"https://github.com/cornholio6969/internalanalytics","last_synced_at":"2026-05-03T07:40:57.701Z","repository":{"id":260597324,"uuid":"881785356","full_name":"Cornholio6969/InternalAnalytics","owner":"Cornholio6969","description":"A Tampermonkey script for blocking internal traffic in Google Analytics","archived":false,"fork":false,"pushed_at":"2024-11-01T09:07:51.000Z","size":2,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-12T22:37:32.488Z","etag":null,"topics":["google-analytics-4","js","tampermonkey"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Cornholio6969.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2024-11-01T08:16:02.000Z","updated_at":"2024-11-27T11:19:22.000Z","dependencies_parsed_at":"2024-11-01T09:28:31.589Z","dependency_job_id":"ec235331-8a43-4d90-8914-7a7a97ff0177","html_url":"https://github.com/Cornholio6969/InternalAnalytics","commit_stats":null,"previous_names":["cornholio6969/internalanalytics"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Cornholio6969%2FInternalAnalytics","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Cornholio6969%2FInternalAnalytics/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Cornholio6969%2FInternalAnalytics/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Cornholio6969%2FInternalAnalytics/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Cornholio6969","download_url":"https://codeload.github.com/Cornholio6969/InternalAnalytics/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247517564,"owners_count":20951709,"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":["google-analytics-4","js","tampermonkey"],"created_at":"2024-11-01T14:06:42.658Z","updated_at":"2026-05-03T07:40:57.645Z","avatar_url":"https://github.com/Cornholio6969.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# InternalTrafficShield\n\n**InternalTrafficShield** is a simple yet powerful script to prevent internal traffic from skewing your website’s analytics. By marking visits from internal devices as \"internal,\" this solution ensures your data remains clean and accurate for SEO tracking and insights. Perfect for online stores and businesses with in-house ordering workflows, this script works seamlessly with Google Analytics 4 (GA4) and is deployable via Chrome or browser extensions.\n\n---\n\n### 🌟 **Features**\n\n- 🚫 **Blocks Internal Traffic** — Keep internal orders from affecting your analytics.\n- 🛠 **Easy Setup** — Deploy via Chrome's developer console or Tampermonkey.\n- 📊 **Improved Data Quality** — Focus on real customer insights without in-house traffic noise.\n\n---\n\n### 🔧 **How It Works**\n\nThe script sets a custom parameter `traffic_type` as `internal` for in-house devices, allowing Google Analytics to exclude these visits via a filter.\n\n### 📝 **Installation Instructions**\n\n1. **Using Chrome Console**:\n   - Open your website in Chrome, press `F12` to open Developer Tools, and paste the script in the Console.\n\n2. **Using Tampermonkey**:\n   - Install the Tampermonkey extension, create a new script, paste the code, and save.\n\n### ⚙️ **Configuration**\n\n- **Edit GA4 Filter**: Add a custom filter in GA4 to exclude `traffic_type = internal` visits from your analytics.\n\n---\n\n### 📜 **License**\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcornholio6969%2Finternalanalytics","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcornholio6969%2Finternalanalytics","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcornholio6969%2Finternalanalytics/lists"}