Class: Staccato::Pageview

Inherits:
Object
  • Object
show all
Includes:
Hit
Defined in:
lib/staccato/pageview.rb

Overview

Pageview Hit type field definitions

Author:

  • Tony Pitale

Constant Summary collapse

FIELDS =

Pageview field definitions

{
  hostname: 'dh', # moved to GLOBAL_OPTIONS
  path: 'dp', # moved to GLOBAL_OPTIONS
  title: 'dt' # moved to GLOBAL_OPTIONS
}

Constants included from Hit

Hit::BOOLEAN_FIELDS, Hit::GLOBAL_OPTIONS

Instance Method Summary collapse

Methods included from Hit

#add_custom_dimension, #add_custom_metric, #add_measurement, #custom_dimensions, #custom_metrics, #fields, included, #initialize, #measurements, #params, #session_control, #track!

Methods included from BooleanHelpers

#boolean_field?, #convert_boolean, #convert_booleans, #integer_for

Instance Method Details

#typeObject

pageview hit type



15
16
17
# File 'lib/staccato/pageview.rb', line 15

def type
  :pageview
end