Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improved SPM documentation #459

Merged
merged 1 commit into from
Sep 5, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,11 @@ github "matomo-org/matomo-sdk-ios"

You can use the Swift Package Manager as integration method. If you want to use the Swift Package Manager as integration method, either use Xcode to add the package dependency or add the following dependency to your Package.swift:

`.package(url: "https://github.com/matomo-org/matomo-sdk-ios.git", from: "v7.5"),`
`.package(url: "https://github.com/matomo-org/matomo-sdk-ios.git", from: "v7.5.0"),`

and in your dependencies:

`.product(name: "MatomoTracker", package: "matomo-sdk-ios")`

</details>

Expand Down Expand Up @@ -133,7 +137,7 @@ matomoTracker.userId = "coolUsername123"

All future events being tracked by the SDK will be associated with this userID, as opposed to the default UUID created for each Visitor.

### Custom Visitor ID persisted on app starts
### Custom Visitor ID persisted on app starts

MatomoTracker will generate an `_id` upon first usage and will use this value to recognize the current visitor. This `_id` is persisted over app starts.

Expand Down
Loading