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