Sha256: 7846d973a0ef7033db93720549764e0f0606c28e51ae02fafde96c8f154ec462
Contents?: true
Size: 619 Bytes
Versions: 15
Compression:
Stored size: 619 Bytes
Contents
module Analytical module Modules class CrazyEgg include Analytical::Modules::Base def initialize(options={}) super @tracking_command_location = :body_append end def init_javascript(location) init_location(location) do code_url = "#{options[:key].to_s[0,4]}/#{options[:key].to_s[4,4]}" js = <<-HTML <!-- Analytical Init: CrazyEgg --> <script type="text/javascript" src="#{protocol}://s3.amazonaws.com/new.cetrk.com/pages/scripts/#{code_url}.js"> </script> HTML js end end end end end
Version data entries
15 entries across 15 versions & 2 rubygems