diff options
Diffstat (limited to 'app/helpers/tracking_helper.rb')
-rw-r--r-- | app/helpers/tracking_helper.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/helpers/tracking_helper.rb b/app/helpers/tracking_helper.rb index 3f53bd535b2..1beb88548c5 100644 --- a/app/helpers/tracking_helper.rb +++ b/app/helpers/tracking_helper.rb @@ -13,6 +13,10 @@ module TrackingHelper } end + def tracking_attrs_data(label, action, property) + tracking_attrs(label, action, property).fetch(:data, {}) + end + private def tracking_enabled? |