{"id":26030436,"url":"https://github.com/zunda-pixel/googleanalytics-swift","last_synced_at":"2026-01-02T18:14:10.067Z","repository":{"id":276247609,"uuid":"926944269","full_name":"zunda-pixel/googleanalytics-swift","owner":"zunda-pixel","description":"Google Analytics REST API Client for Swift","archived":false,"fork":false,"pushed_at":"2025-02-18T00:36:09.000Z","size":18,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-18T01:27:22.019Z","etag":null,"topics":["google","googleanalytics","swift"],"latest_commit_sha":null,"homepage":"","language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zunda-pixel.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-02-04T06:01:09.000Z","updated_at":"2025-02-18T00:34:24.000Z","dependencies_parsed_at":null,"dependency_job_id":"466ce226-3bf1-47f0-98bf-7280bca412b5","html_url":"https://github.com/zunda-pixel/googleanalytics-swift","commit_stats":null,"previous_names":["zunda-pixel/googleanalytics-swift"],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zunda-pixel%2Fgoogleanalytics-swift","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zunda-pixel%2Fgoogleanalytics-swift/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zunda-pixel%2Fgoogleanalytics-swift/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zunda-pixel%2Fgoogleanalytics-swift/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zunda-pixel","download_url":"https://codeload.github.com/zunda-pixel/googleanalytics-swift/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242262533,"owners_count":20098994,"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":["google","googleanalytics","swift"],"created_at":"2025-03-06T18:28:50.923Z","updated_at":"2026-01-02T18:14:10.061Z","avatar_url":"https://github.com/zunda-pixel.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"## GoogleAnalytics Measurement Protocol for Swift\n\n[![](https://img.shields.io/endpoint?url=https%3A%2F%2Fswiftpackageindex.com%2Fapi%2Fpackages%2Fzunda-pixel%2Fgoogleanalytics-swift%2Fbadge%3Ftype%3Dswift-versions)](https://swiftpackageindex.com/zunda-pixel/googleanalytics-swift)\n[![](https://img.shields.io/endpoint?url=https%3A%2F%2Fswiftpackageindex.com%2Fapi%2Fpackages%2Fzunda-pixel%2Fgoogleanalytics-swift%2Fbadge%3Ftype%3Dplatforms)](https://swiftpackageindex.com/zunda-pixel/googleanalytics-swift)\n\n[GA4 Measurement Protocol](https://developers.google.com/analytics/devguides/collection/protocol/ga4)\n\n```swift\nlet client = GoogleAnalytics(\n  httpClient: .urlSession(.shared),\n  apiSecret: \"bCab-SdfDBi2L3ZPaYHYfw\",\n  id: .firebase(\n    firebaseAppId: \"1:211175559289:ios:121555f3c816aecc3cd5d8\",\n    appInstanceId: UUID().uuidString.replacingOccurrences(of: \"-\", with: \"\")\n  )\n)\n\nlet sessionId = UUID().uuidString.replacingOccurrences(of: \"-\", with: \"\")\n\ntry await client.send(for: .login(\n  method: \"Email\",\n  sessionId: sessionId,\n  engagementTime: 123\n))\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzunda-pixel%2Fgoogleanalytics-swift","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzunda-pixel%2Fgoogleanalytics-swift","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzunda-pixel%2Fgoogleanalytics-swift/lists"}