@register.tag
def crazy_egg(parser, token):
    bits = token.split_contents()
    if len(bits) > 1:
        raise TemplateSyntaxError("'%s' takes no arguments" % bits[0])
    return CrazyEggNode()
Crazy Egg tracking template tag.
dataset/ETHPy150Open jcassee/django-analytical/analytical/templatetags/crazy_egg.py/crazy_egg