diff --git a/README.md b/README.md index 92775bf..4aea11b 100644 --- a/README.md +++ b/README.md @@ -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: