PluginProbe
Independent Analytics – WordPress Analytics Plugin / 2.14.1
Independent Analytics – WordPress Analytics Plugin v2.14.1
2.15.5 2.15.4 2.15.3 2.15.2 2.15.1 2.15.0 2.14.10 trunk 1.1 1.10 1.10.1 1.11 1.12 1.13 1.14 1.15 1.16 1.17 1.17.1 1.17.2 1.17.3 1.17.4 1.18 1.18.1 1.19.0 All 120 releases
independent-analytics / views / journeys / timeline / click.blade.php
click.blade.php
30 lines 1.0 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 @php
2 /** @var IAWP\Journey\Events\Click $event */
3 @endphp
4
5 <?php if($event->has_multiple_rules()): ?>
6 <p>
7 <span class="timeline-contents-label"><?php esc_html_e('Link Patterns:', 'independent-analytics'); ?></span>
8 <ol>
9 <?php foreach ($event->rules() as $rule): ?>
10 <li><?php echo esc_html($rule); ?></li>
11 <?php endforeach; ?>
12 </ol>
13 </p>
14 <?php else: ?>
15 <p>
16 <span class="timeline-contents-label"><?php esc_html_e('Link Pattern:', 'independent-analytics'); ?></span>
17 <?php echo esc_html($event->rule()); ?>
18 </p>
19 <?php endif; ?>
20 <p>
21 <span class="timeline-contents-label"><?php esc_html_e('Target:', 'independent-analytics'); ?></span>
22 <?php if ($event->is_url_target()) : ?>
23 <a href="<?php echo esc_url($event->target()); ?>" target="_blank">
24 <?php echo esc_html($event->target()); ?><span class="dashicons dashicons-external"></span>
25 </a>
26 <?php else: ?>
27 <?php echo esc_html($event->target()); ?>
28 <?php endif; ?>
29 </p>
30