{% set previousAction = false %} {% for actionGroup in actionGroups %} {% if actionGroup.pageviewAction is not empty %} {{ postEvent('Live.renderAction', actionGroup.pageviewAction, previousAction, visitInfo) }} {% set previousAction = actionGroup.pageviewAction %} {% endif %} {% if actionGroup.actionsOnPage is not empty or actionGroup.refreshActions is not empty %} {% if actionGroup.pageviewAction is not empty %}
    1. {% endif %} {% for action in actionGroup.refreshActions %} {{ postEvent('Live.renderAction', action, previousAction, visitInfo) }} {% set previousAction = action %} {% endfor %}
    2. {% for action in actionGroup.actionsOnPage %} {{ postEvent('Live.renderAction', action, previousAction, visitInfo) }} {% set previousAction = action %} {% endfor %} {% if actionGroup.pageviewAction is not empty %}
  • {% endif %} {% endif %} {% endfor %} {% if visitInfo.truncatedActionsCount is defined %}
  • {{ 'Live_MorePagesNotDisplayed'|translate }}
  • {% endif %}