Example #1
0
def visit_member_landing_page(user, source):
    """
    Mark user as visited member landing page
    :param source: string containing source of traffic
    :param user:
    :return:
    """
    _core_facade.visit_member_landing_page(user, source)
    _email_marketing_facade.tag_as.delay(user.email, user.id, 'potential-member')
Example #2
0
def visit_member_landing_page(user, source):
    """
    Mark user as visited member landing page
    :param source: string containing source of traffic
    :param user:
    :return:
    """
    _core_facade.visit_member_landing_page(user, source)
    try:
        _mailchimp_facade.tag_as(user.email, 'potential-member')
    except _MailChimpError:
        pass  # Ok not handling, probably invalid email