{"id":15024753,"url":"https://github.com/lingobus/vue-gtagjs","last_synced_at":"2025-04-12T13:03:29.647Z","repository":{"id":57396142,"uuid":"112723800","full_name":"lingobus/vue-gtagjs","owner":"lingobus","description":"Google gtag.js for Vue.js","archived":false,"fork":false,"pushed_at":"2017-12-12T08:26:08.000Z","size":54,"stargazers_count":13,"open_issues_count":1,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-10-31T12:39:58.253Z","etag":null,"topics":["google-analytics","google-gtag","googleanalytics","gtags","vue","vuejs"],"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/lingobus.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":"2017-12-01T09:54:03.000Z","updated_at":"2021-11-08T11:02:19.000Z","dependencies_parsed_at":"2022-09-18T12:10:30.374Z","dependency_job_id":null,"html_url":"https://github.com/lingobus/vue-gtagjs","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lingobus%2Fvue-gtagjs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lingobus%2Fvue-gtagjs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lingobus%2Fvue-gtagjs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lingobus%2Fvue-gtagjs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lingobus","download_url":"https://codeload.github.com/lingobus/vue-gtagjs/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223518564,"owners_count":17158688,"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":["google-analytics","google-gtag","googleanalytics","gtags","vue","vuejs"],"created_at":"2024-09-24T20:00:52.265Z","updated_at":"2024-11-07T13:04:47.159Z","avatar_url":"https://github.com/lingobus.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# vue-gtagjs\n\nGoogle gtag.js for Vue.js\n\nInstall\n====\n\u003e yarn add vue-gtagjs\n\nUsage\n====\n\n## with vue router\n```js\nimport gtagjs from 'vue-gtagjs'\nimport VueRouter from 'vue-router'\n\n\nVue.use(VueRouter)\nconst router = new VueRouter()\ngtagjs(router, GA_TRACKING_ID, {debug: true, scriptId: 'gtagjs'})\n```\n\n## Without vue router\n```js\nimport gtagjs from 'vue-gtagjs'\ngtagjs(set =\u003e set(location.pathname), GA_TRACKING_ID, {debug: true, scriptId: 'customId'})\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flingobus%2Fvue-gtagjs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flingobus%2Fvue-gtagjs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flingobus%2Fvue-gtagjs/lists"}