def add_product_get(**kwargs): backend = Backend() return page(config, backend, state, body=template( 'tpl/events_add', tags=backend.get_tags(), extra_attributes=extra_attributes['product'], event_type='product', helptext=helptext['product'], recommended_tags=[], handler='vimeo_product', **kwargs), page='add_product', **kwargs)
def add_analytics_get(**kwargs): backend = Backend() return page(config, backend, state, body=template( 'tpl/events_add', tags=backend.get_tags(), extra_attributes=extra_attributes['analytics'], event_type='analytics', helptext=helptext['analytics'], recommended_tags=[], handler='vimeo_analytics', timestamp_feeder=True, **kwargs), page='add_analytics', **kwargs)
def p(**kwargs): return page(config, backend, state, **kwargs)