module Analytical module Modules class Quantcast include Analytical::Modules::Base def initialize(options={}) super @tracking_command_location = [:head_append, :body_append] end def init_javascript(location) init_location(location) do case location.to_sym when :head_append js = <<-HTML HTML js when :body_append js = <<-HTML HTML js end end end end end end