{"id":20102553,"url":"https://github.com/highlight/example-gatsby","last_synced_at":"2025-10-11T04:55:11.289Z","repository":{"id":115863243,"uuid":"390159904","full_name":"highlight/example-gatsby","owner":"highlight","description":"An example Gatsby application using Highlight.","archived":false,"fork":false,"pushed_at":"2023-02-09T05:24:12.000Z","size":7912,"stargazers_count":0,"open_issues_count":11,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-10-01T13:43:34.900Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"CSS","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"0bsd","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/highlight.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}},"created_at":"2021-07-27T23:58:56.000Z","updated_at":"2021-07-28T21:17:49.000Z","dependencies_parsed_at":"2023-06-25T23:50:06.278Z","dependency_job_id":null,"html_url":"https://github.com/highlight/example-gatsby","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/highlight/example-gatsby","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/highlight%2Fexample-gatsby","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/highlight%2Fexample-gatsby/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/highlight%2Fexample-gatsby/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/highlight%2Fexample-gatsby/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/highlight","download_url":"https://codeload.github.com/highlight/example-gatsby/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/highlight%2Fexample-gatsby/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279006216,"owners_count":26084063,"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-10-11T02:00:06.511Z","response_time":55,"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":"2024-11-13T17:31:42.521Z","updated_at":"2025-10-11T04:55:11.271Z","avatar_url":"https://github.com/highlight.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Gatsby 3 and Highlight Example Application\n\n## Install the Highlight Gatsby Plugin\n\n```sh\nnpm install @highlight-run/gatsby-plugin-highlight\n\n# or using Yarn\nyarn add @highlight-run/gatsby-plugin-highlight\n```\n\n## Register Highlight as a Plugin\n\nIn your `gatsby-config.js`:\n\n\n```js\nmodule.exports = {\n  plugins: [\n    {\n      resolve: \"@highlight-run/gatsby-plugin-highlight\",\n      options: {\n        orgID: 'MY_ORG_ID',\n        // See all the options here: https://docs.highlight.run/reference#options\n    \tdisableNetworkRecording: false,\n    \tdisableConsoleRecording: false,\n\t\tenableStrictPrivacy: false,\n\t\tenvironment: 'production',\n    \tversion: '5.2.3',\n    \tnetworkRecording: true,\n      }\n    },\n  ]\n}\n```\n\n## Calling Highlight Methods\n\nIf you need to call any [Highlight methods](https://docs.highlight.run/reference#track), you can do so by importing `H` from `highlight.run`\n\n```jsx\n// In Component.jsx\nimport { H } from 'highlight.run';\n\nconst Component = () =\u003e (\n\t\u003cbutton onClick={() =\u003e {\n\t\tH.track('fancyButtonClicked');\n\t}}\u003e\n\t\tMy fancy button\n\t\u003c/button\u003e\n);\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhighlight%2Fexample-gatsby","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhighlight%2Fexample-gatsby","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhighlight%2Fexample-gatsby/lists"}