integrations.blade.php
55 lines
| 1 | @php /** @var \IAWP\Integrations\Integrations $integrations */ @endphp |
| 2 | |
| 3 | <div class="integrations-menu"> |
| 4 | <div class="integrations-menu-inner"> |
| 5 | <h1>Integrations</h1> |
| 6 | <div class="integration-category"> |
| 7 | <h2>eCommerce Plugin Integrations</h2><?php |
| 8 | if (iawp_is_pro()) : |
| 9 | if ($integrations->is_using_ecommerce_plugin()) : ?> |
| 10 | <p class="iawp-category-description">Your site is actively tracking all sales made with <strong><?php echo esc_html($integrations->active_ecommerce_plugin()->name()); ?></strong> thanks to the Independent Analytics Pro plugin! <a target="_blank" href="https://independentwp.com/knowledgebase/woocommerce/woocommerce-integration/">Watch video tutorial <span class="dashicons dashicons-external"></span></a></p><?php |
| 11 | else : ?> |
| 12 | <p class="iawp-category-description">Automatically track orders, conversion rates, total sales, refunds, and more in the Pages, Referrers, Geographic, |
| 13 | Devices, and Campaigns reports. <a target="_blank" href="https://independentwp.com/knowledgebase/woocommerce/woocommerce-integration/">Watch video tutorial <span class="dashicons dashicons-external"></span></a></p><?php |
| 14 | endif; |
| 15 | else : |
| 16 | if ($integrations->is_using_ecommerce_plugin()) : ?> |
| 17 | <p class="iawp-category-description"><strong>You're missing out on data!</strong> You could be tracking <strong><?php echo esc_html($integrations->active_ecommerce_plugin()->name()); ?></strong> orders, conversion rates, total sales, refunds, and more in the Pages, Referrers, Geographic, |
| 18 | Devices, and Campaigns reports. <a target="_blank" href="https://independentwp.com/features/woocommerce-analytics/?utm_source=User+Dashboard&utm_medium=WP+Admin&utm_campaign=Integrations+Menu">Learn more <span class="dashicons dashicons-external"></span></a></p><?php |
| 19 | else : ?> |
| 20 | <p class="iawp-category-description">Automatically track orders, conversion rates, total sales, refunds, and more in the Pages, Referrers, Geographic, |
| 21 | Devices, and Campaigns reports using Independent Analytics Pro. <a target="_blank" href="https://independentwp.com/features/woocommerce-analytics/?utm_source=User+Dashboard&utm_medium=WP+Admin&utm_campaign=Integrations+Menu">Learn more <span class="dashicons dashicons-external"></span></a></p><?php |
| 22 | endif; |
| 23 | endif; ?> |
| 24 | <div class="iawp-integration-list"><?php |
| 25 | foreach($integrations->ecommerce_integrations() as $integration) { |
| 26 | echo $integration->html(); |
| 27 | } ?> |
| 28 | </div> |
| 29 | </div> |
| 30 | <div class="integration-category"> |
| 31 | <h2>Form Plugin Integrations</h2><?php |
| 32 | if (iawp_is_pro()) : |
| 33 | if ($integrations->is_using_form_plugin()) : ?> |
| 34 | <p class="iawp-category-description">Your site is actively tracking all form submissions made with <strong><?php echo esc_html($integrations->active_form_plugin()->name()); ?></strong> thanks to the Independent Analytics Pro plugin! <a target="_blank" href="https://independentwp.com/knowledgebase/form-tracking/track-form-submissions/">Watch video tutorial <span class="dashicons dashicons-external"></span></a></p><?php |
| 35 | else : ?> |
| 36 | <p class="iawp-category-description">Automatically track form submissions and conversion rates in the Pages, Referrers, Geographic, |
| 37 | Devices, and Campaigns reports. <a target="_blank" href="https://independentwp.com/knowledgebase/form-tracking/track-form-submissions/">Watch video tutorial <span class="dashicons dashicons-external"></span></a></p><?php |
| 38 | endif; |
| 39 | else : |
| 40 | if ($integrations->is_using_form_plugin()) : ?> |
| 41 | <p class="iawp-category-description"><strong>You're missing out on data!</strong> You could be tracking <strong><?php echo esc_html($integrations->active_form_plugin()->name()); ?></strong> submissions and conversion rates in the Pages, Referrers, Geographic, |
| 42 | Devices, and Campaigns reports. <a target="_blank" href="https://independentwp.com/features/form-tracking/?utm_source=User+Dashboard&utm_medium=WP+Admin&utm_campaign=Integrations+Menu">Learn more <span class="dashicons dashicons-external"></span></a></p><?php |
| 43 | else : ?> |
| 44 | <p class="iawp-category-description">Automatically track form submissions and conversion rates for every form in the Pages, Referrers, |
| 45 | Geographic, Devices, and Campaigns reports using Independent Analytics Pro. <a target="_blank" href="https://independentwp.com/features/form-tracking/?utm_source=User+Dashboard&utm_medium=WP+Admin&utm_campaign=Integrations+Menu">Learn more <span class="dashicons dashicons-external"></span></a></p><?php |
| 46 | endif; |
| 47 | endif; ?> |
| 48 | <div class="iawp-integration-list"><?php |
| 49 | foreach ($integrations->form_integrations() as $integration) { |
| 50 | echo $integration->html(); |
| 51 | } ?> |
| 52 | </div> |
| 53 | </div> |
| 54 | </div> |
| 55 | </div> |