integrations.blade.php
59 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!</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.</p><?php |
| 14 | endif; ?> |
| 15 | <p><a class="iawp-button purple" target="_blank" href="https://independentwp.com/knowledgebase/woocommerce/woocommerce-integration/">Watch tutorial →</a></p><?php |
| 16 | else : |
| 17 | if ($integrations->is_using_ecommerce_plugin()) : ?> |
| 18 | <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, |
| 19 | Devices, and Campaigns reports.</p><?php |
| 20 | else : ?> |
| 21 | <p class="iawp-category-description">Automatically track orders, conversion rates, total sales, refunds, and more in the Pages, Referrers, Geographic, |
| 22 | Devices, and Campaigns reports using Independent Analytics Pro.</p><?php |
| 23 | endif; ?> |
| 24 | <p><a class="iawp-button purple" target="_blank" href="https://independentwp.com/features/woocommerce-analytics/?utm_source=User+Dashboard&utm_medium=WP+Admin&utm_campaign=Integrations+Menu">Learn more about eCommerce analytics →</a></p><?php |
| 25 | endif; ?> |
| 26 | <div class="iawp-integration-list"><?php |
| 27 | foreach($integrations->ecommerce_integrations() as $integration) { |
| 28 | echo $integration->html(); |
| 29 | } ?> |
| 30 | </div> |
| 31 | </div> |
| 32 | <div class="integration-category"> |
| 33 | <h2>Form Plugin Integrations</h2><?php |
| 34 | if (iawp_is_pro()) : |
| 35 | if ($integrations->is_using_form_plugin()) : ?> |
| 36 | <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!</p><?php |
| 37 | else : ?> |
| 38 | <p class="iawp-category-description">Automatically track form submissions and conversion rates in the Pages, Referrers, Geographic, |
| 39 | Devices, and Campaigns reports.</p><?php |
| 40 | endif; ?> |
| 41 | <p><a class="iawp-button purple" target="_blank" href="https://independentwp.com/knowledgebase/form-tracking/track-form-submissions/">Watch tutorial →</a></p><?php |
| 42 | else : |
| 43 | if ($integrations->is_using_form_plugin()) : ?> |
| 44 | <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, |
| 45 | Devices, and Campaigns reports.</p><?php |
| 46 | else : ?> |
| 47 | <p class="iawp-category-description">Automatically track form submissions and conversion rates for every form in the Pages, Referrers, |
| 48 | Geographic, Devices, and Campaigns reports using Independent Analytics Pro.</p><?php |
| 49 | endif; ?> |
| 50 | <p><a class="iawp-button purple" target="_blank" href="https://independentwp.com/features/form-tracking/?utm_source=User+Dashboard&utm_medium=WP+Admin&utm_campaign=Integrations+Menu">Learn more about form tracking →</a></p><?php |
| 51 | endif; ?> |
| 52 | <div class="iawp-integration-list"><?php |
| 53 | foreach ($integrations->form_integrations() as $integration) { |
| 54 | echo $integration->html(); |
| 55 | } ?> |
| 56 | </div> |
| 57 | </div> |
| 58 | </div> |
| 59 | </div> |