{"id":21762102,"url":"https://github.com/segment-integrations/analytics-android-integration-google-analytics","last_synced_at":"2025-08-22T02:09:11.902Z","repository":{"id":142649266,"uuid":"46156371","full_name":"segment-integrations/analytics-android-integration-google-analytics","owner":"segment-integrations","description":"The Google Analytics analytics-android integration.","archived":false,"fork":false,"pushed_at":"2020-01-10T22:03:57.000Z","size":116,"stargazers_count":4,"open_issues_count":2,"forks_count":3,"subscribers_count":29,"default_branch":"master","last_synced_at":"2025-04-13T13:36:32.112Z","etag":null,"topics":["android"],"latest_commit_sha":null,"homepage":" https://segment.com/docs/integrations/google-analytics","language":"Java","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/segment-integrations.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2015-11-14T01:33:45.000Z","updated_at":"2020-01-10T22:04:00.000Z","dependencies_parsed_at":null,"dependency_job_id":"3ddbe431-f6f6-45d2-b237-67f7c28da128","html_url":"https://github.com/segment-integrations/analytics-android-integration-google-analytics","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"purl":"pkg:github/segment-integrations/analytics-android-integration-google-analytics","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/segment-integrations%2Fanalytics-android-integration-google-analytics","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/segment-integrations%2Fanalytics-android-integration-google-analytics/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/segment-integrations%2Fanalytics-android-integration-google-analytics/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/segment-integrations%2Fanalytics-android-integration-google-analytics/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/segment-integrations","download_url":"https://codeload.github.com/segment-integrations/analytics-android-integration-google-analytics/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/segment-integrations%2Fanalytics-android-integration-google-analytics/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271574431,"owners_count":24783319,"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","status":"online","status_checked_at":"2025-08-22T02:00:08.480Z","response_time":65,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["android"],"created_at":"2024-11-26T12:10:55.911Z","updated_at":"2025-08-22T02:09:11.879Z","avatar_url":"https://github.com/segment-integrations.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"analytics-android-integration-google-analytics\n==============================================\n\n[![Maven Central](https://maven-badges.herokuapp.com/maven-central/com.segment.analytics.android.integrations/google-analytics/badge.svg)](https://maven-badges.herokuapp.com/maven-central/com.segment.analytics.android.integrations/google-analytics)\n[![Javadocs](http://javadoc-badge.appspot.com/com.segment.analytics.android.integrations/google-analytics.svg?label=javadoc)](http://javadoc-badge.appspot.com/com.segment.analytics.android.integrations/google-analytics)\n\n**WARNING**: This SDK has been deprecated. On September 17th, 2019 this repository will be archived as read-only and no longer actively maintained. [Google is sunsetting their Google Analytics mobile SDKs on October 31st.](https://support.google.com/firebase/answer/9167112?hl=en). Please [see our migration tutorial](https://segment.com/docs/destinations/google-analytics/#migrating-deprecated-google-analytics-mobile-sdks-to-firebase) to learn more about migrating to our Firebase SDKs for Android. \n\nGoogle Analytics integration for [analytics-android](https://github.com/segmentio/analytics-android).\n\n## Installation\n\nTo install the Segment-Google Analytics integration, simply add this line to your gradle file:\n\n```\ncompile 'com.segment.analytics.android.integrations:google-analytics:+'\n```\n\n## Usage\n\nAfter adding the dependency, you must register the integration with our SDK.  To do this, import the Google Analytics integration:\n\n\n```\nimport com.segment.analytics.android.integrations.google.analytics.GoogleAnalyticsIntegration;\n\n```\n\nAnd add the following line:\n\n```\nanalytics = new Analytics.Builder(this, \"write_key\")\n                .use(GoogleAnalyticsIntegration.FACTORY)\n                .build();\n```\n\nPlease see [our documentation](https://segment.com/docs/integrations/google-analytics/#mobile-apps) for more information.\n\n## License\n\n```\nWWWWWW||WWWWWW\n W W W||W W W\n      ||\n    ( OO )__________\n     /  |           \\\n    /o o|    MIT     \\\n    \\___/||_||__||_|| *\n         || ||  || ||\n        _||_|| _||_||\n       (__|__|(__|__|\n\nThe MIT License (MIT)\n\nCopyright (c) 2014 Segment, Inc.\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsegment-integrations%2Fanalytics-android-integration-google-analytics","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsegment-integrations%2Fanalytics-android-integration-google-analytics","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsegment-integrations%2Fanalytics-android-integration-google-analytics/lists"}