lib/gabba/custom_vars.rb
# Public: Delete a previously set custom variable so if is not passed along and logged by Google Analytics
# (http://code.google.com/apis/analytics/docs/tracking/gaTrackingCustomVariables.html)
#
# index  - Integer between 1 and 5 for this custom variable
#
# Example:
#   g = Gabba::Gabba.new("UT-1234", "mydomain.com")
#   g.delete_custom_var(1)
#
Delete a previously set custom variable so if is not passed along and logged by Google Analytics

index  - Integer between 1 and 5 for this custom variable


Delete a previously set custom variable so if is not passed along and logged by Google Analytics index - Integer between 1 and 5 for this custom variable
def delete_custom_var(index)
        raise "Index must be between 1 and 5" unless (1..5).include?(index)
        @custom_vars.delete_at(index)
      end
def delete_custom_var ( index ) raise "Index must be between 1 and 5" unless ( 1 .. 5 ) . include? ( index ) @custom_vars . delete_at ( index ) end
Public: Delete a previously set custom variable so if is not passed along and logged by Google Analytics
(http://code.google.com/apis/analytics/docs/tracking/gaTrackingCustomVariables.html)
Public : Delete a previously set custom variable so if is not passed along and logged by Google Analytics ( http : // code . google . com / apis / analytics / docs / tracking / gaTrackingCustomVariables . html )
index