@register.tag
def google_analytics(parser, token):
    bits = token.split_contents()
    # collect parameters if available
    debug = 'False'
    if len(bits) > 1:
        debug = bits[1]
    if len(debug) > 0:
        debug = (debug[0].lower() == 't')
    # build and return the node
    return GoogleAnalyticsNode(debug)
Parser method that build a GoogleAnalyticsNode for rendering.
dataset/ETHPy150Open praekelt/django-google-analytics/google_analytics/templatetags/google_analytics_tags.py/google_analytics