{% set from = app.request.query.get('from')|default('') %}
<script>
document.cookie = "from_param={{ from }}; path=/; max-age=86400";
</script>