Skip to content

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Talivia for Swift / iOS

Measure iOS app screens and events in your Talivia analytics workspace.

This Swift package sends screen views, custom events, and user identity from native iOS apps to Talivia. Talivia connects website traffic and visitor journeys with verified payment revenue, helping you understand what drives paying customers. Share a Website ID between your website and app to view their activity together.

Talivia revenue analytics dashboard showing visitors, traffic sources, and payments

Explore Talivia | View website analytics | Read the documentation

This Swift Package Manager source is available from the public talivia-group/swift repository. Add version 0.1.0 in Xcode with the URL below. No private Talivia API key belongs in the app.

https://github.com/talivia-group/swift.git

In another Swift package, add .package(url: "https://github.com/talivia-group/swift.git", from: "0.1.0") to Package.swift and depend on the Talivia library product.

What you can measure

  • Native iOS screen views and app sessions.
  • Product events such as onboarding completion or feature use.
  • Known users, linked to your website profile when both use the same user ID.

Call screen when navigation changes and track for the actions that matter to your product. Current funnels remain visitor-based across devices; app-store purchases and acquisition campaigns need separate trusted integrations.

Track your app

import Talivia

let analytics = try Talivia(
    websiteId: "YOUR_WEBSITE_UUID",
    hostname: "example.com"
)
try await analytics.screen("Home")
try await analytics.track("signup_completed", data: ["plan": .string("pro")])
try await analytics.identify("your-stable-user-id")
// On logout: analytics.reset()

Methods are main-actor isolated. Track navigation changes explicitly. Use the same Website ID as the web tracker; use the same stable user ID in both, but cross-device funnels are not yet identity-merged. The retry queue is memory-only (100 events), not a durable offline store. Purchase revenue should be verified and sent from your server.

About

Talivia analytics SDK for native Swift and iOS apps

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages