{"id":30847508,"url":"https://github.com/hexydec/server-log-insights-tracking","last_synced_at":"2025-09-07T02:13:59.637Z","repository":{"id":259312170,"uuid":"876982459","full_name":"hexydec/server-log-insights-tracking","owner":"hexydec","description":"Tracking code to improve tracking with Server Log Insights","archived":false,"fork":false,"pushed_at":"2025-09-01T22:58:49.000Z","size":40,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-02T00:27:02.864Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hexydec.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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-10-22T22:08:29.000Z","updated_at":"2025-09-01T22:58:53.000Z","dependencies_parsed_at":"2024-10-24T09:26:17.458Z","dependency_job_id":"4cb1ca48-6ede-40ba-95fc-033215920a2f","html_url":"https://github.com/hexydec/server-log-insights-tracking","commit_stats":null,"previous_names":["hexydec/server-log-insights-tracking"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/hexydec/server-log-insights-tracking","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hexydec%2Fserver-log-insights-tracking","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hexydec%2Fserver-log-insights-tracking/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hexydec%2Fserver-log-insights-tracking/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hexydec%2Fserver-log-insights-tracking/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hexydec","download_url":"https://codeload.github.com/hexydec/server-log-insights-tracking/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hexydec%2Fserver-log-insights-tracking/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273986629,"owners_count":25202708,"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","status":"online","status_checked_at":"2025-09-07T02:00:09.463Z","response_time":67,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2025-09-07T02:13:58.469Z","updated_at":"2025-09-07T02:13:59.616Z","avatar_url":"https://github.com/hexydec.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Server Log Insights Tracking Code\n\nThis repository provides tracking code for [Server Log Insights](https://serverloginsights.com), a server logs analytics tool.\n\n## Usage\n\nAdd this repository as a dependency in your `package.json` file using NPM:\n\n```\nnpm i --save hexydec/server-log-insights-tracking#main\n```\n\nYou can build the tracking into your javascript bundle like this:\n\n```javascript\nimport tracking from \"../node_modules/server-log-insights-tracking/src/tracking.js\";\n\ndocument.addEventListener(\"DOMContentLoaded\", () =\u003e {\n\ttracking();\n});\n```\n\nYou can also update the base address of the tracking endpoint like this:\n\n```javascript\ntracking(\"/the-base-address-of-my-website/\");\n```\n\nThe tracking code uses the endpoint [`/slid.json`](src/slid.json). The endpoint doesn't have to exist for the system to pick up the data in your server logs, but it is better to place the file in your root directory so that your logs are not filled with 404 errors.\n\n## Licence\n\nThe MIT License (MIT). Please see [License File](LICENCE) for more information.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhexydec%2Fserver-log-insights-tracking","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhexydec%2Fserver-log-insights-tracking","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhexydec%2Fserver-log-insights-tracking/lists"}