Module: Workarea::Listrak::Analytics
- Defined in:
- lib/workarea/listrak/analytics.rb,
app/helpers/workarea/listrak/analytics/helper.rb
Defined Under Namespace
Modules: Helper
Class Method Summary collapse
-
.config ⇒ Object
Shorthand for analytics module specific configuration.
- .javascript_config ⇒ Object
Class Method Details
.config ⇒ Object
Shorthand for analytics module specific configuration.
5 6 7 |
# File 'lib/workarea/listrak/analytics.rb', line 5 def self.config Workarea.config.listrak.analytics end |
.javascript_config ⇒ Object
9 10 11 12 13 14 |
# File 'lib/workarea/listrak/analytics.rb', line 9 def self.javascript_config { merchantId: config[:merchant_id], emailIds: config[:email_capture_ids] }.compact.to_json end |