{"id":23338759,"url":"https://github.com/appfeel/analytics-google-adid","last_synced_at":"2025-04-09T22:32:21.314Z","repository":{"id":24051995,"uuid":"27437733","full_name":"appfeel/analytics-google-adid","owner":"appfeel","description":"Enable iOS IDFA collection on Google Analytics (combine with appfeel/analytics-cordova)","archived":false,"fork":false,"pushed_at":"2019-01-03T16:44:07.000Z","size":19,"stargazers_count":11,"open_issues_count":6,"forks_count":5,"subscribers_count":5,"default_branch":"master","last_synced_at":"2024-04-26T05:43:15.411Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Objective-C","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/appfeel.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}},"created_at":"2014-12-02T15:05:58.000Z","updated_at":"2021-11-14T20:21:19.000Z","dependencies_parsed_at":"2022-08-22T08:40:38.062Z","dependency_job_id":null,"html_url":"https://github.com/appfeel/analytics-google-adid","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/appfeel%2Fanalytics-google-adid","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/appfeel%2Fanalytics-google-adid/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/appfeel%2Fanalytics-google-adid/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/appfeel%2Fanalytics-google-adid/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/appfeel","download_url":"https://codeload.github.com/appfeel/analytics-google-adid/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248123627,"owners_count":21051504,"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-12-21T03:16:20.367Z","updated_at":"2025-04-09T22:32:21.271Z","avatar_url":"https://github.com/appfeel.png","language":"Objective-C","funding_links":[],"categories":[],"sub_categories":[],"readme":"Google Analytics Plugin\n=======================\n\nThis plugin depends on [com.analytics.google](https://github.com/appfeel/analytics-google).\nCordova (PhoneGap) 3.0+ Plugin to connect to Google Analytics native SDK.\nEnables [advertising id collection (IDFA)](https://support.google.com/analytics/answer/2444872) to get enhanced analytics (Demographics and Interests).\n\n**iOS CAUTION:** Ensure to check advertising id option when you publish your app. Otherwise it will be rejected.\n\nPrerequisites:\n* A Cordova 3.0+ project for iOS and/or Android\n* A Mobile App property through the Google Analytics Admin Console\n\n---\n## Platform SDK supported ##\n\n* iOS, using Google Analytics SDK for iOS, v3.10\n* Android, using Google Play Services for Android, v6.1\n\n---\n## Quick start ##\n\nTo install this plugin, follow the [Command-line Interface Guide](http://cordova.apache.org/docs/en/edge/guide_cli_index.md.html#The%20Command-line%20Interface). You can use one of the following command lines:\n\n* `cordova plugin add cordova-plugin-analytics-adid`\n* `cordova plugin add https://github.com/appfeel/analytics-google-adid.git`\n\nMake sure to review the Google Analytics [terms](http://www.google.com/analytics/terms/us.html) and [SDK Policy](https://developers.google.com/analytics/devguides/collection/protocol/policy)\n\n---\n## Javascript API ##\n\n*Note:* All success callbacks are in the form `'function () {}'`, and all failure callbacks are in the form `'function (err) {}'` where `err` is a String explaining the error reason.\n\n### Start Google Analytics ###\n#### startAdIdTrackerWithId(id, success, fail);\nStart Analtytics tracker with advertising id collection enabled:\n\n* {String}     id:      (Required) your Google Analytics Universal code: UA-XXXXXXX-X.\n* {function()} success: (Optional) success callback.\n* {function()} failure: (Optional) failure callback.\n\n### Advertising id ###\n#### getAdId(success, error);\nGets the advertising id (IDFA).\n\n* {function()} success:    (Optional) success callback with advertising id (IDFA) as string argument.\n* {function()} failure:    (Optional) failure callback.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fappfeel%2Fanalytics-google-adid","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fappfeel%2Fanalytics-google-adid","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fappfeel%2Fanalytics-google-adid/lists"}