{% extends '@WebProfiler/Profiler/layout.html.twig' %} {% block toolbar %} {% if collector.hasData %} {% set icon %} {{ include("@PimcorePersonalization/Profiler/target.svg.twig") }} {% if collector.documentTargetGroup is not null %} {{ collector.documentTargetGroup.name }} {% endif %} {% endset %} {% set text %}
{% if collector.documentTargetGroup is not null %}
Document Target Group {{ collector.documentTargetGroup.name }}
{% endif %}
Matched Rules {{ collector.rules|length }}
{% if collector.targetGroups is not empty %}
Target Groups
{% for targetGroup in collector.targetGroups %}
{{ targetGroup.name }} {{ targetGroup.count }}
{% endfor %} {% else %}
Target Groups 0
{% endif %}
{% endset %} {{ include('@WebProfiler/Profiler/toolbar_item.html.twig', { link: true }) }} {% endif %} {% endblock %} {% block menu %} {{ include("@PimcorePersonalization/Profiler/target.svg.twig") }} Targeting {% endblock %} {% block panel %}

Targeting

{% if not collector.hasData %}

No targeting data available.

{% else %}
{% if collector.documentTargetGroup is not null %}
{{ collector.documentTargetGroup.name }} Document Target Group
{% endif %}
{{ collector.rules|length }} Matched Rules
{{ collector.targetGroups|length }} Assigned Target Groups

Results

Matched Targeting Rules

{% for rule in collector.rules %} {% else %} {% endfor %}
ID Name Duration Conditions Actions
{{ rule.id }} {{ rule.name }} {{ rule.duration|round(2) }} ms {{ profiler_dump(rule.conditions, maxDepth=maxDepth|default(0)) }} {{ profiler_dump(rule.actions, maxDepth=maxDepth|default(0)) }}
(no rules matched)

Assigned Target Groups

{% for targetGroup in collector.targetGroups %} {% else %} {% endfor %}
ID Name Threshold Assignment Count
{{ targetGroup.id }} {{ targetGroup.name }} {{ targetGroup.threshold }} {{ targetGroup.count }}
(no target group assignments)

Target Groups assigned to Documents

{% for assignment in collector.documentTargetGroups %} {% else %} {% endfor %}
Document ID Path Target Group ID Name
{{ assignment.document.id }} {{ assignment.document.path }} {{ assignment.targetGroup.id }} {{ assignment.targetGroup.name }}
(no target groups were assigned to documents)

Visitor Info

Visitor Info

{{ include('@PimcoreCore/Profiler/key_value_table.html.twig', { data: collector.visitorInfo }, with_context = false) }}

Storage

Session Storage

{{ include('@PimcoreCore/Profiler/key_value_table.html.twig', { data: collector.storage.session }, with_context = false) }}

Visitor Storage

{{ include('@PimcoreCore/Profiler/key_value_table.html.twig', { data: collector.storage.visitor }, with_context = false) }}
{% endif %} {% endblock %}