#NEWLINE# @ register . tag #NEWLINE# def mixpanel( parser , token ) : #NEWLINE# #INDENT# '\n    Mixpanel tracking template tag.\n\n    Renders Javascript code to track page visits.  You must supply\n    your Mixpanel token in the ``MIXPANEL_API_TOKEN`` setting.\n    ' #NEWLINE# bits = token . split_contents ( ) #NEWLINE# if ( len ( parser ) > 1 ) : #NEWLINE# #INDENT# raise TemplateSyntaxError ( ( "'%s' takes no arguments" % bits [ 0 ] ) ) #NEWLINE# #UNINDENT# return MixpanelNode ( )