{"id":14067898,"url":"https://github.com/IronistM/googleTagManageR","last_synced_at":"2025-07-30T02:32:09.885Z","repository":{"id":55041711,"uuid":"88788123","full_name":"IronistM/googleTagManageR","owner":"IronistM","description":"An R package to interact with the Google Tag Manager API","archived":false,"fork":false,"pushed_at":"2021-01-13T14:11:32.000Z","size":104,"stargazers_count":13,"open_issues_count":5,"forks_count":5,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-08-13T07:14:01.173Z","etag":null,"topics":["api","google-tag-manager","r"],"latest_commit_sha":null,"homepage":"https://ironistm.github.io/googleTagManageR/","language":"R","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/IronistM.png","metadata":{"files":{"readme":"Readme.MD","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.md","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-04-19T20:31:24.000Z","updated_at":"2023-05-01T14:38:07.000Z","dependencies_parsed_at":"2022-08-14T09:50:55.026Z","dependency_job_id":null,"html_url":"https://github.com/IronistM/googleTagManageR","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/IronistM%2FgoogleTagManageR","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IronistM%2FgoogleTagManageR/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IronistM%2FgoogleTagManageR/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IronistM%2FgoogleTagManageR/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/IronistM","download_url":"https://codeload.github.com/IronistM/googleTagManageR/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228075634,"owners_count":17865508,"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":["api","google-tag-manager","r"],"created_at":"2024-08-13T07:05:50.086Z","updated_at":"2024-12-04T08:31:19.292Z","avatar_url":"https://github.com/IronistM.png","language":"R","funding_links":[],"categories":["R"],"sub_categories":[],"readme":"[![Travis-CI Build Status](https://travis-ci.org/IronistM/googleTagManageR.svg?branch=master)](https://travis-ci.org/IronistM/googleTagManageR)\n[![Coverage Status](https://img.shields.io/codecov/c/github/IronistM/googleTagManageR/master.svg)](https://codecov.io/github/IronistM/googleTagManageR?branch=master)\n\n## In Short\nThe R way to interact with Google's Tag Manager API.\n\n### Scope\nAt the moment listing of elements is available, but in the future both updates\nand delete will be supported. This is **not** a professional package and serves mostly as a way of organising code snippets for my work.\n\n### Credits\nMost of this is adopted from the excellent [autoGoogleAPI](https://github.com/MarkEdmondson1234/autoGoogleAPI) package from [Mark Edmondson](r@sunholo.com) and his most awesome [googleAnalyticsR](http://code.markedmondson.me/googleAnalyticsR) that I use daily.\n\n## Installation\nTo install the package in your `R` setup just use `devtools` and the `install_github()` function like below\n\n\n```R\ninstall.packages('devtools')\ndevtools::install_github('IronistM/googleTagManageR')\n```\n## Examples\n\n### Authenticate to GTM API\n\n```\ngtm_auth()\n```\n\n### List Accounts you have access\n\n\n\n```R\ngtm_accounts_list()\n```\n\nLet's say you want to get the details from `YOUR_ACCOUNT_ID`, then you use the following\n\n```R\ngtm_account(accountId = YOUR_ACCOUNT_ID)\n```\n\n### List Containers per account\n\nSimilarly, to get the containers of `YOUR_ACCOUNT_ID`, use the following\n\n```R\ngtm_containers_list(accountId = YOUR_ACCOUNT_ID)\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FIronistM%2FgoogleTagManageR","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FIronistM%2FgoogleTagManageR","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FIronistM%2FgoogleTagManageR/lists"}