def google_adwords_signup(context):
    """
    Output signup info in the format that Google adwords needs.
    """
    request = context['request']
    try:
        request = context['request']
    except KeyError:
        print >> sys.stderr, "Template satchmo.show.templatetags.google.google_adwords_sale couldn't get the request from the context.  Are you missing the request context_processor?"
        return ""

    secure = request.is_secure()
    try:
        language_code = request.LANGUAGE_CODE
    except __HOLE__:
        language_code = settings.LANGUAGE_CODE

    return({"GOOGLE_ADWORDS_ID": config_value('GOOGLE', 'ADWORDS_ID'),
            'Store': settings.SITE_NAME,
            'value': 1,
            'label': 'signup',
            'secure' : secure,
            'language_code' : language_code})
dataset/ETHPy150Open dokterbob/satchmo/satchmo/apps/satchmo_store/shop/templatetags/satchmo_google.py/google_adwords_signup