Skip to content

Commit

Permalink
Improved SPM documentation (#459)
Browse files Browse the repository at this point in the history
  • Loading branch information
brototyp authored Sep 5, 2024
1 parent b34e87e commit 6b86f84
Showing 1 changed file with 6 additions and 2 deletions.
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

0 comments on commit 6b86f84

Please sign in to comment.