lib/optimizely_server_side/experiment.rb
# Hidden omniture tag for HTML tracking
Hidden omniture tag for HTML tracking
Hidden omniture tag for HTML tracking
def omniture_tag(evar: nil)
      if @selected_variation_key
        key = "#{@experiment_key}:#{@selected_variation_key}"
        %Q(<input type="hidden" name="ab_#{key}" id="ab_id_#{key}" value="" data-optimizely="#{key}" data-optimizely-evar="#{evar}"/>).html_safe
      end
    end
def omniture_tag ( evar : nil ) if @selected_variation_key key = "#{@experiment_key}:#{@selected_variation_key}" %Q(<input type="hidden" name="ab_#{key}" id="ab_id_#{key}" value="" data-optimizely="#{key}" data-optimizely-evar="#{evar}"/>) . html_safe end end
Hidden omniture tag for HTML tracking
Hidden omniture tag for HTML tracking
#"<input type='hidden' data-optimizely=#{@experiment_key}:#{@selected_variation_key} data-optimizely-evar=#{evar}></input>".html_safe #{}"<input type='hidden' data-optimizely=#{@experiment_key}:#{@selected_variation_key} data-optimizely-evar=#{evar}></input>".html_safe
evar
<not_specific>