#NEWLINE# def pageview( self , customer_id , page , **data ) : #NEWLINE# #INDENT# 'Track a pageview for a given customer_id' #NEWLINE# url = self . get_event_query_string ( customer_id ) #NEWLINE# post_data = { #NEWLINE# #INDENT# 'type' : 'page' , #NEWLINE# 'name' : page , #NEWLINE# 'data' : data , #NEWLINE# #UNINDENT# } #NEWLINE# self . send_request ( 'POST' , url , post_data )