Module: GoogleAnalyticsMailer::GoogleAnalytics

Extended by:
ActiveSupport::Concern
Defined in:
lib/google_analytics_mailer.rb

Overview

This module provides methods to deal with parameter merging and similar stuff

Instance Method Summary collapse

Instance Method Details

#computed_analytics_paramsHash

This method return the actual parameters to use when building links

Returns:

  • (Hash)

    computed parameters



51
52
53
# File 'lib/google_analytics_mailer.rb', line 51

def computed_analytics_params
  @_computed_ga_params ||= self.class.google_analytics_class_params.merge(@_ga_instance_params || {})
end