{"id":19324379,"url":"https://github.com/sweenr/gatsby-plugin-firstparty","last_synced_at":"2026-05-18T14:32:13.743Z","repository":{"id":57244630,"uuid":"463239428","full_name":"sweenr/gatsby-plugin-firstparty","owner":"sweenr","description":"Gatsby plugin for Firstparty analytics tool","archived":false,"fork":false,"pushed_at":"2022-02-24T17:38:47.000Z","size":2,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-13T15:51:24.370Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sweenr.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}},"created_at":"2022-02-24T17:26:55.000Z","updated_at":"2022-02-24T17:38:51.000Z","dependencies_parsed_at":"2022-09-01T06:12:00.010Z","dependency_job_id":null,"html_url":"https://github.com/sweenr/gatsby-plugin-firstparty","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/sweenr/gatsby-plugin-firstparty","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sweenr%2Fgatsby-plugin-firstparty","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sweenr%2Fgatsby-plugin-firstparty/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sweenr%2Fgatsby-plugin-firstparty/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sweenr%2Fgatsby-plugin-firstparty/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sweenr","download_url":"https://codeload.github.com/sweenr/gatsby-plugin-firstparty/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sweenr%2Fgatsby-plugin-firstparty/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33181015,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-18T09:27:30.708Z","status":"ssl_error","status_checked_at":"2026-05-18T09:27:28.300Z","response_time":71,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":[],"created_at":"2024-11-10T02:04:56.857Z","updated_at":"2026-05-18T14:32:13.729Z","avatar_url":"https://github.com/sweenr.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# gatsby-plugin-firstparty\n\nGatsby plugin to connect your site to [Firstparty](https://firstpartyhq.com/) analytics tool.\n\n## Install\n\n`npm install --save gatsby-plugin-firstparty`\n\n## How to use\n\n```javascript\n// gatsby-config.js\nmodule.exports = {\n    ...\n    plugins: [\n        {\n            resolve: `gatsby-plugin-firstparty`,\n            options: {\n                // your source URL starting with \"fp.\"\n                sourceUrl: \"fp.yourdomain.com\",\n                // your write key for this source from the Sources page\n                writeKey: \"YOUR_SOURCE_WRITE_KEY\",\n            }\n        },\n        ...\n    ]\n}\n```\n\n## How it works\n\nThis plugin adds the Firstparty tracking script to the `\u003chead\u003e` of every page as documented in the Firstparty setup instructions. After downloading the script, it loads the firstparty object with your write key and domain and logs the page view.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsweenr%2Fgatsby-plugin-firstparty","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsweenr%2Fgatsby-plugin-firstparty","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsweenr%2Fgatsby-plugin-firstparty/lists"}