{"id":15519543,"url":"https://github.com/barryceelen/wp-analytics-without-cookies","last_synced_at":"2026-04-11T21:42:44.681Z","repository":{"id":72312652,"uuid":"67534897","full_name":"barryceelen/wp-analytics-without-cookies","owner":"barryceelen","description":"Use basic Google Analytics 'universal' tracking without setting a cookie","archived":false,"fork":false,"pushed_at":"2017-07-27T16:31:59.000Z","size":35,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2026-03-25T23:49:43.569Z","etag":null,"topics":["cookie-consent","google-analytics","wordpress","wordpress-plugin"],"latest_commit_sha":null,"homepage":null,"language":"PHP","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/barryceelen.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,"zenodo":null}},"created_at":"2016-09-06T18:19:04.000Z","updated_at":"2017-07-27T16:12:56.000Z","dependencies_parsed_at":null,"dependency_job_id":"98b3082a-ce90-49aa-8e36-dff262aecd6c","html_url":"https://github.com/barryceelen/wp-analytics-without-cookies","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/barryceelen/wp-analytics-without-cookies","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/barryceelen%2Fwp-analytics-without-cookies","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/barryceelen%2Fwp-analytics-without-cookies/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/barryceelen%2Fwp-analytics-without-cookies/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/barryceelen%2Fwp-analytics-without-cookies/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/barryceelen","download_url":"https://codeload.github.com/barryceelen/wp-analytics-without-cookies/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/barryceelen%2Fwp-analytics-without-cookies/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31696743,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-11T21:17:31.016Z","status":"ssl_error","status_checked_at":"2026-04-11T21:17:24.556Z","response_time":54,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["cookie-consent","google-analytics","wordpress","wordpress-plugin"],"created_at":"2024-10-02T10:21:55.948Z","updated_at":"2026-04-11T21:42:44.673Z","avatar_url":"https://github.com/barryceelen.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Google Analytics without setting a cookie\n\n[![Build Status](https://travis-ci.org/barryceelen/wp-analytics-without-cookies.svg?branch=master)](https://travis-ci.org/barryceelen/wp-analytics-without-cookies)\n\nUses the [fingerprint2.js](https://github.com/Valve/fingerprintjs2) script to try and create a more or less unique identifier for a visitor. This will reduce the accuracy of your metrics as opposed to using Google's own methods, which may or may not be good enough for your tracking purposes.\n\nUpside is that no tracking cookies are created which is nice if you are concerned about showing a cookie consent warning for your tracking script.\nTracking *is* harmless, right?\n\nIt does add about 30KB page weight for the fingerprint2.js script, which you may or may not like.\n\n### Setting your analytics tracking ID\n\nThere is no settings page for this plugin. Set your own tracking id by adding a filter:\n\n```\nadd_filter( 'analytics_without_cookies_tracking_id', function() { return 'UA-XXXXXXX-XX'; } );\n```\n\n### Your visitor's IP adresses are anonymized by default\n\nTurn IP anonymization off if you are so inclined:\n\n```\nadd_filter( 'analytics_without_cookies_anonymize_ip', '__return_true' );\n```\n\n### Logged in users are not tracked by default\n\nTrack logged in users:\n\n```\nadd_filter( 'analytics_without_cookies_ignore_logged_in_users', '__return_false' );\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbarryceelen%2Fwp-analytics-without-cookies","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbarryceelen%2Fwp-analytics-without-cookies","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbarryceelen%2Fwp-analytics-without-cookies/lists"}