{"id":15561856,"url":"https://github.com/doodzik/metalsmith-google-analytics","last_synced_at":"2025-04-23T22:54:26.920Z","repository":{"id":57295560,"uuid":"47450404","full_name":"doodzik/metalsmith-google-analytics","owner":"doodzik","description":"a metalsmith plugin to add google analytics to your html site","archived":false,"fork":false,"pushed_at":"2015-12-07T15:43:28.000Z","size":10,"stargazers_count":9,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-09T11:04:16.898Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/doodzik.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-12-05T09:40:41.000Z","updated_at":"2018-05-04T03:50:04.000Z","dependencies_parsed_at":"2022-08-27T12:20:27.058Z","dependency_job_id":null,"html_url":"https://github.com/doodzik/metalsmith-google-analytics","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/doodzik%2Fmetalsmith-google-analytics","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/doodzik%2Fmetalsmith-google-analytics/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/doodzik%2Fmetalsmith-google-analytics/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/doodzik%2Fmetalsmith-google-analytics/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/doodzik","download_url":"https://codeload.github.com/doodzik/metalsmith-google-analytics/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249859721,"owners_count":21335989,"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-10-02T16:10:30.106Z","updated_at":"2025-04-23T22:54:26.901Z","avatar_url":"https://github.com/doodzik.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# metalsmith-google-analytics\n\nA Metalsmith plugin to add the google analytics code to all html files\n\n## Installation\n\n```\n$ npm install --save metalsmith-google-analytics\n```\n\n## Example\n\n```javascript\nvar Metalsmith      = require('metalsmith')\nvar googleAnalytics = require('metalsmith-google-analytics')\n\nMetalsmith(__dirname)\n\n  // Build your full site here...\n\n  .use(googleAnalytics('API-KEY'))\n\n  .build()\n```\n\n### Options\n\n### googleAnalytics(apiKey [,asyncScript])\n\n#### `asyncScript` (optional)\n\n( default: true )\n\n- specify if you want to load the synchronous or asynchronous script\n  (doesn't support ie9)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdoodzik%2Fmetalsmith-google-analytics","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdoodzik%2Fmetalsmith-google-analytics","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdoodzik%2Fmetalsmith-google-analytics/lists"}