{% sw_extends '@Storefront/storefront/layout/meta.html.twig' %}
{% block layout_head_javascript_tracking %}
{{ parent() }}
{% if controllerName == 'Product' %}
<script>
window.lastSeenProductId = '{{ page.product.id }}';
window.lastSeenProductAddRoute = '{{ path('frontend.last.seen.product.add') }}';
</script>
{% endif %}
{% endblock %}