Sha256: a1fe29cec89dc46ba9dd31bb5f32c79cdcdf21daa4f01521ca7e5673a789d57d
Contents?: true
Size: 609 Bytes
Versions: 9
Compression:
Stored size: 609 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][0,4]}/#{options[:key][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
9 entries across 9 versions & 1 rubygems