{"id":19194329,"url":"https://github.com/jadengis/ngx-clarity","last_synced_at":"2026-01-06T05:58:59.816Z","repository":{"id":57701793,"uuid":"497838585","full_name":"jadengis/ngx-clarity","owner":"jadengis","description":"Angular module to add the tracking code for microsoft.clarity.com","archived":false,"fork":false,"pushed_at":"2024-12-15T07:40:02.000Z","size":720,"stargazers_count":20,"open_issues_count":1,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-16T19:12:14.235Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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/jadengis.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}},"created_at":"2022-05-30T07:39:38.000Z","updated_at":"2025-02-13T11:11:16.000Z","dependencies_parsed_at":"2023-12-01T21:23:58.396Z","dependency_job_id":"f6a6862c-719c-422d-bf5c-43673f1be39b","html_url":"https://github.com/jadengis/ngx-clarity","commit_stats":{"total_commits":5,"total_committers":1,"mean_commits":5.0,"dds":0.0,"last_synced_commit":"fe01b6138864ee04e201433751f32ade1859cdef"},"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jadengis%2Fngx-clarity","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jadengis%2Fngx-clarity/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jadengis%2Fngx-clarity/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jadengis%2Fngx-clarity/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jadengis","download_url":"https://codeload.github.com/jadengis/ngx-clarity/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249869027,"owners_count":21337500,"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":[],"created_at":"2024-11-09T12:01:19.774Z","updated_at":"2026-01-06T05:58:59.765Z","avatar_url":"https://github.com/jadengis.png","language":"TypeScript","funding_links":[],"categories":["Development Utilities"],"sub_categories":["Analytics"],"readme":"# Ngx-Clarity\n\n[![Build](https://github.com/jadengis/ngx-clarity/actions/workflows/test.yml/badge.svg)](https://github.com/jadengis/ngx-clarity/actions/workflows/test.yml)\n[![Test](https://github.com/jadengis/ngx-clarity/actions/workflows/build.yml/badge.svg)](https://github.com/jadengis/ngx-clarity/actions/workflows/build.yml)\n[![Lint](https://github.com/jadengis/ngx-clarity/actions/workflows/lint.yml/badge.svg)](https://github.com/jadengis/ngx-clarity/actions/workflows/lint.yml)\n\nA useful Angular library that automatically injects the script tag required to use [Microsoft Clarity](https://clarity.microsoft.com/).\n\n## Installation\n\nnpm:\n\n```bash\nnpm install --save ngx-clarity\n```\n\nYarn:\n\n```bash\nyarn add ngx-clarity\n```\n\n## Compatibility\n\n| Version | Angular Version |\n| ------- | --------------- |\n| `1.x.x` | `\u003e=13 \u003c15`      |\n| `2.x.x` | `\u003e=15 \u003c20`      |\n\n## Features\n\n- Automatically inject scripts for [Microsoft Clarity](https://clarity.microsoft.com/).\n\n## Usage\n\nImport `provideClarity` from `ngx-clarity` and pass the required configuration when using it as a provider during application bootstrap.\n\n```typescript\nimport { provideClarity } from 'ngx-clarity';\n\n@NgModule({\n  providers: [\n    provideClarity({\n      enabled: true,\n      projectId: 'my-project-id',\n    }),\n  ],\n})\nexport class AppModule {}\n\n// Or if you are using standalone bootstrap\n\nbootstrapApplication(AppComponent, {\n  providers: [\n    provideClarity({\n      enabled: true,\n      projectId: 'my-project-id',\n    }),\n  ],\n});\n```\n\nThe supported configuration parameters are:\n\n| Property  | Requirement | Description                                                                                                   |\n| --------- | ----------- | ------------------------------------------------------------------------------------------------------------- |\n| enabled   | Required    | Whether or not this module is enabled. Useful for disabling the analytics script in development environments. |\n| projectId | Required    | Your Microsoft Clarity project Id. This is found in the Microsoft Clarity console.                            |\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjadengis%2Fngx-clarity","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjadengis%2Fngx-clarity","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjadengis%2Fngx-clarity/lists"}