templates/components/YandexMetrika.html.twig line 1

Open in your IDE?
  1. {% set userParams = app.user and attribute(app.user, 'getId') is defined and attribute(app.user, 'getEmail') is defined
  2.     ? "{UserID: #{app.user.id}, email: '#{app.user.email}', userType: '#{is_granted('ROLE_PARTNER') ? 'partner' : 'notary'}'}"|raw
  3.     : 'null' %}
  4. {% include 'tracking/yandex_metrika.html.twig' with {
  5.     counterId: this.getNeededHereCounterId(),
  6.     userParams: userParams
  7. } %}
  8. <!-- PUBLIC FL DOMAIN: {{ public_fl_domain }} -->