|
77 | 77 | </p> |
78 | 78 | </div> |
79 | 79 |
|
| 80 | + |
| 81 | + <?php if (! defined('KOKO_ANALYTICS_PRO')) : ?> |
| 82 | + <div class="ka-locked-section"> |
| 83 | + <div class="ka-locked-section-button"> |
| 84 | + <a href="https://www.kokoanalytics.com/pricing/?utm_source=koko-analytics&utm_medium=link&utm_campaign=free-plugin-settings-tracking" class="btn btn-koko btn-sm"> |
| 85 | + <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-unlock me-2" viewBox="0 0 16 16"><path fill-rule="evenodd" d="M12 0a4 4 0 0 1 4 4v2.5h-1V4a3 3 0 1 0-6 0v2h.5A2.5 2.5 0 0 1 12 8.5v5A2.5 2.5 0 0 1 9.5 16h-7A2.5 2.5 0 0 1 0 13.5v-5A2.5 2.5 0 0 1 2.5 6H8V4a4 4 0 0 1 4-4M2.5 7A1.5 1.5 0 0 0 1 8.5v5A1.5 1.5 0 0 0 2.5 15h7a1.5 1.5 0 0 0 1.5-1.5v-5A1.5 1.5 0 0 0 9.5 7z"/></svg> |
| 86 | + Unlock with Pro |
| 87 | + </a> |
| 88 | + </div> |
| 89 | + <div class="ka-locked-section-contents"> |
| 90 | + <div class="mb-4"> |
| 91 | + <label class="ka-label"><?php esc_html_e('Enable geo-location?', 'koko-analytics'); ?></label> |
| 92 | + <div class="mb-2"> |
| 93 | + <label class="me-1"><input type="radio" disabled> <?php esc_html_e('Yes', 'koko-analytics'); ?></label> |
| 94 | + <label><input type="radio" checked="checked" disabled> <?php esc_html_e('No', 'koko-analytics'); ?></label> |
| 95 | + </div> |
| 96 | + <p class="description"><?php esc_html_e('Select "yes" if you want Koko Analytics to geo-locate visitors by their IP address.', 'koko-analytics'); ?></p> |
| 97 | + </div> |
| 98 | + <div class="mb-4"> |
| 99 | + <label class="ka-label"><?php esc_html_e('Enable device tracking?', 'koko-analytics'); ?></label> |
| 100 | + <div class="mb-2"> |
| 101 | + <label class="me-1"><input type="radio" disabled> <?php esc_html_e('Yes', 'koko-analytics'); ?></label> |
| 102 | + <label><input type="radio" checked="checked" disabled> <?php esc_html_e('No', 'koko-analytics'); ?></label> |
| 103 | + </div> |
| 104 | + <p class="description"><?php esc_html_e('Select "yes" if you want Koko Analytics to count browsers, operating systems and device types.', 'koko-analytics'); ?></p> |
| 105 | + </div> |
| 106 | + <div class="mb-0"> |
| 107 | + <label class="ka-label"><?php esc_html_e('Enable UTM tracking?', 'koko-analytics'); ?></label> |
| 108 | + <div class="mb-2"> |
| 109 | + <label class="me-1"><input type="radio" disabled> <?php esc_html_e('Yes', 'koko-analytics'); ?></label> |
| 110 | + <label><input type="radio" checked="checked" disabled> <?php esc_html_e('No', 'koko-analytics'); ?></label> |
| 111 | + </div> |
| 112 | + <p class="description"><?php esc_html_e('Select "yes" if you want Koko Analytics to track utm_source, utm_medium and utm_campaign parameters from the URL query string or hash.', 'koko-analytics'); ?></p> |
| 113 | + </div> |
| 114 | + </div> |
| 115 | + </div> |
| 116 | + <?php endif; ?> |
| 117 | + |
80 | 118 | <?php do_action('koko_analytics_output_after_tracking_settings', $settings); ?> |
81 | 119 |
|
82 | 120 | <div> |
83 | 121 | <input type="submit" class="btn btn-primary" value="<?= esc_attr__('Save Changes') ?>"> |
84 | 122 | </div> |
85 | 123 | </form> |
86 | | - |
87 | | - |
88 | | -<?php if (!defined('KOKO_ANALYTICS_PRO_VERSION')) : ?> |
89 | | - <p class="text-muted mt-5"><?= sprintf(__('Collect country, browser, operating system and device statistics with %s.', 'koko-analytics'), '<a href="https://www.kokoanalytics.com/pricing/#utm_source=koko-analytics&utm_medium=link&utm_campaign=free-plugin-settings-tracking-upgrade">Koko Analytics Pro</a>'); ?></p> |
90 | | -<?php endif; ?> |
|
0 commit comments