{"id":21762135,"url":"https://github.com/segment-integrations/analytics-kotlin-optimizely-full-stack","last_synced_at":"2026-04-28T18:05:02.631Z","repository":{"id":142649288,"uuid":"569752975","full_name":"segment-integrations/analytics-kotlin-optimizely-full-stack","owner":"segment-integrations","description":null,"archived":false,"fork":false,"pushed_at":"2023-04-18T08:29:50.000Z","size":138,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-01-26T01:20:25.955Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Kotlin","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":null,"contributing":".github/CONTRIBUTING.md","funding":null,"license":null,"code_of_conduct":"CODE_OF_CONDUCT.md","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":"2022-11-23T14:34:44.000Z","updated_at":"2023-03-08T19:54:20.000Z","dependencies_parsed_at":null,"dependency_job_id":"8089863f-9000-4bec-9732-bbb8fa5d222c","html_url":"https://github.com/segment-integrations/analytics-kotlin-optimizely-full-stack","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":"segment-integrations/analytics-kotlin-destination-template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/segment-integrations%2Fanalytics-kotlin-optimizely-full-stack","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/segment-integrations%2Fanalytics-kotlin-optimizely-full-stack/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/segment-integrations%2Fanalytics-kotlin-optimizely-full-stack/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/segment-integrations%2Fanalytics-kotlin-optimizely-full-stack/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/segment-integrations","download_url":"https://codeload.github.com/segment-integrations/analytics-kotlin-optimizely-full-stack/tar.gz/refs/heads/main","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":[],"created_at":"2024-11-26T12:11:10.555Z","updated_at":"2026-04-28T18:04:57.594Z","avatar_url":"https://github.com/segment-integrations.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Analytics-Kotlin Optimizely-Full\n\nAdd Optimizely Full integration to your applications via this plugin for [Analytics-Kotlin](https://github.com/segmentio/analytics-kotlin).\n\n## Adding the dependency\nTo install the Segment-Optimizely-Full Stack integration, simply add this line to your gradle file:\n\n```\nimplementation 'com.segment.analytics.kotlin.destinations:optimizely-full-stack:\u003clatest_version\u003e'\n```\n\nOr the following for Kotlin DSL\n\n```\nimplementation(\"com.segment.analytics.kotlin.destinations:optimizely-full-stack:\u003clatest_version\u003e\")\n```\n\n\n## Using the Plugin in your App\n\nOpen the file where you setup and configure the Analytics-Kotlin library.  Add this plugin to the list of imports.\n\n```\nimport com.segment.analytics.kotlin.destinations.optimizelyfull.OptimizelyFullDestinaton\n```\nSince the Optimizely Manager should be initialized as soon as possible in your application subclass, we leave it up to you to create this instance. You must then pass it to the Plugin.\n\n```\n   manager = OptimizelyManager.builder()\n      .withSDKKey(\"\u003cWRITE_YOUR_OPTIMIZELY_SDK-KEY\u003e\")\n      .build(applicationContext)\n```\n\nJust under your Analytics-Kotlin library setup, call `analytics.add(plugin = ...)` to add an instance of the plugin to the Analytics timeline.\n\n```\n    analytics = Analytics(\"\u003cYOUR WRITE KEY\u003e\", applicationContext) {\n        this.flushAt = 3\n        this.trackApplicationLifecycleEvents = true\n    }\n    analytics.add(plugin = OptimizelyFullDestinaton(optimizelyManager = manager))\n```\n\nYour events will now begin to flow to Optimizely-Full Stack in device mode.\n\n\n## Support\n\nPlease use Github issues, Pull Requests, or feel free to reach out to our [support team](https://segment.com/help/).\n\n## Integrating with Segment\n\nInterested in integrating your service with us? Check out our [Partners page](https://segment.com/partners/) for more details.\n\nPlease see [our documentation](https://segment.com/docs/connections/destinations/catalog/optimizely-full-stack/) for more information.\n\n\n\n## License\n```\nMIT License\n\nCopyright (c) 2021 Segment\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-kotlin-optimizely-full-stack","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsegment-integrations%2Fanalytics-kotlin-optimizely-full-stack","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsegment-integrations%2Fanalytics-kotlin-optimizely-full-stack/lists"}