diff options
Diffstat (limited to 'app/helpers/tracking_helper.rb')
-rw-r--r-- | app/helpers/tracking_helper.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/helpers/tracking_helper.rb b/app/helpers/tracking_helper.rb index 221d9692661..7957038c21e 100644 --- a/app/helpers/tracking_helper.rb +++ b/app/helpers/tracking_helper.rb @@ -1,13 +1,13 @@ # frozen_string_literal: true module TrackingHelper - def tracking_attrs(label, event, property) + def tracking_attrs(label, action, property) return {} unless tracking_enabled? { data: { track_label: label, - track_event: event, + track_action: action, track_property: property } } |