{"id":21762130,"url":"https://github.com/segment-integrations/analytics-android-integration-optimizely","last_synced_at":"2026-04-30T02:34:10.266Z","repository":{"id":142649272,"uuid":"48201733","full_name":"segment-integrations/analytics-android-integration-optimizely","owner":"segment-integrations","description":"The Optimizely analytics-android integration.","archived":false,"fork":false,"pushed_at":"2017-01-05T19:03:38.000Z","size":445,"stargazers_count":0,"open_issues_count":0,"forks_count":2,"subscribers_count":32,"default_branch":"master","last_synced_at":"2025-01-26T01:20:26.606Z","etag":null,"topics":["android"],"latest_commit_sha":null,"homepage":"","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-12-17T22:32:51.000Z","updated_at":"2017-06-14T00:32:06.000Z","dependencies_parsed_at":null,"dependency_job_id":"98890ab8-b9fd-4a4e-91d9-9bd5324d9cca","html_url":"https://github.com/segment-integrations/analytics-android-integration-optimizely","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/segment-integrations%2Fanalytics-android-integration-optimizely","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/segment-integrations%2Fanalytics-android-integration-optimizely/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/segment-integrations%2Fanalytics-android-integration-optimizely/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/segment-integrations%2Fanalytics-android-integration-optimizely/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-optimizely/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244739944,"owners_count":20501990,"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":["android"],"created_at":"2024-11-26T12:11:10.495Z","updated_at":"2026-04-30T02:34:05.248Z","avatar_url":"https://github.com/segment-integrations.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"analytics-android-integration-optimizely\n========================================\n\n[![Maven Central](https://maven-badges.herokuapp.com/maven-central/com.segment.analytics.android.integrations/optimizely/badge.svg)](https://maven-badges.herokuapp.com/maven-central/com.segment.analytics.android.integrations/optimizely)\n[![Javadocs](http://javadoc-badge.appspot.com/com.segment.analytics.android.integrations/optimizely.svg?label=javadoc)](http://javadoc-badge.appspot.com/com.segment.analytics.android.integrations/optimizely)\n\nOptimizely integration for [analytics-android](https://github.com/segmentio/analytics-android).\n\n## Installation\n\nTo install the Segment-Optimizely integration, simply add this line to your gradle file:\n\n```\ncompile 'com.segment.analytics.android.integrations:optimizely:+'\n```\n\n## Usage\n\nSince Optimizely needs to be initialized as early as possible during your application lifecycle, this integration is not initialized directly by Segment after fetching settings. Instead, we initialize Optimizely when you create the factory.\n\n```\nAnalytics analytics = new Analytics.Builder(context, writeKey)\n  .use(OptimizelyIntegration.factory(application, optimizelyToken))\n  ...\n  .build();\n```\n\nNote the different syntax used here - instead of using a global singleton instance, we use a method that creates the factory on demand.\n\nPlease see [our documentation](https://segment.com/docs/integrations/optimizely/) 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-optimizely","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsegment-integrations%2Fanalytics-android-integration-optimizely","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsegment-integrations%2Fanalytics-android-integration-optimizely/lists"}