Skip to content

Commit

Permalink
Improve README
Browse files Browse the repository at this point in the history
  • Loading branch information
g3ortega committed Apr 24, 2024
1 parent 117ac76 commit 6f8acd2
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,18 @@ UTMConversion.retrieve_utm_data([session_id])

* Implement the `record_conversion(session_id, event_data)` method in your chosen storage adapter to record conversions along with the associated session ID and any relevant event data.

To record a new conversion:

```ruby
UTMConversion.record_conversion(session_id, event_data)
```

UTM data is stored automatically, but to call it manually you can use the following method:

```ruby
UTMConversion.store_utm_data(session_id, event_data)
```

## Customization

* Storage Adapters:
Expand Down

0 comments on commit 6f8acd2

Please sign in to comment.