From 38d73288400e2dcee5042181196ac95f486e4841 Mon Sep 17 00:00:00 2001 From: Mike Letellier Date: Wed, 22 Oct 2025 16:11:00 -0300 Subject: [PATCH 01/19] Update UTM mapping --- classes/controllers/FrmAppController.php | 4 +- .../controllers/FrmDashboardController.php | 2 +- classes/helpers/FrmAppHelper.php | 100 +++++++++++++----- classes/models/fields/FrmFieldCaptcha.php | 4 + 4 files changed, 81 insertions(+), 29 deletions(-) diff --git a/classes/controllers/FrmAppController.php b/classes/controllers/FrmAppController.php index 1d24104697..677bc0c54f 100644 --- a/classes/controllers/FrmAppController.php +++ b/classes/controllers/FrmAppController.php @@ -580,8 +580,8 @@ public static function admin_init() { if ( 'formidable-pro-upgrade' === FrmAppHelper::get_param( 'page' ) && ! FrmAppHelper::pro_is_installed() && current_user_can( 'frm_view_forms' ) ) { $redirect = FrmSalesApi::get_best_sale_value( 'menu_cta_link' ); $utm = array( - 'medium' => 'upgrade', - 'content' => 'submenu-upgrade', + 'campaign' => 'upgrade', + 'content' => 'submenu-upgrade', ); if ( $redirect ) { diff --git a/classes/controllers/FrmDashboardController.php b/classes/controllers/FrmDashboardController.php index 96dd97d546..0cebe1752f 100644 --- a/classes/controllers/FrmDashboardController.php +++ b/classes/controllers/FrmDashboardController.php @@ -256,7 +256,7 @@ private static function view_args_entries_placeholder( $forms_count ) { $copy = sprintf( /* translators: %1$s: HTML start of a tag, %2$s: HTML close a tag */ __( 'See the %1$sform documentation%2$s for instructions on publishing your form', 'formidable' ), - '', + '', '' ); return array( diff --git a/classes/helpers/FrmAppHelper.php b/classes/helpers/FrmAppHelper.php index d07449a6a2..3900fe469b 100644 --- a/classes/helpers/FrmAppHelper.php +++ b/classes/helpers/FrmAppHelper.php @@ -115,52 +115,97 @@ public static function get_affiliate() { /** * @since 3.04.02 - * @param array|string $args + * + * @param array|string $args If a string is passed, it is used for the utm_campaign attribute. * @param string $page */ public static function admin_upgrade_link( $args, $page = '' ) { - if ( empty( $page ) ) { - $page = 'https://formidableforms.com/lite-upgrade/'; - } else { + if ( $page ) { $page = str_replace( 'https://formidableforms.com/', '', $page ); $page = 'https://formidableforms.com/' . $page; + } else { + $page = 'https://formidableforms.com/lite-upgrade/'; } - $anchor = ''; if ( is_array( $args ) ) { - $medium = $args['medium'] ?? ''; - if ( isset( $args['content'] ) ) { - $content = $args['content']; - } - if ( isset( $args['anchor'] ) ) { - $anchor = '#' . $args['anchor']; - } + self::adjust_legacy_utm_args( $args ); } else { - $medium = $args; + $args = array( 'campaign' => $args ); } $query_args = array( - 'utm_source' => 'WordPress', - 'utm_medium' => $medium, - 'utm_campaign' => 'liteplugin', + 'utm_source' => 'plugin', + 'utm_medium' => self::get_utm_medium(), ); + $query_args = self::maybe_add_utm_license( $query_args ); - if ( isset( $content ) ) { - $query_args['utm_content'] = $content; + if ( isset( $args['campaign'] ) ) { + $query_args['utm_campaign'] = $args['campaign']; } - if ( is_array( $args ) && isset( $args['param'] ) ) { + if ( isset( $args['content'] ) ) { + $query_args['utm_content'] = $args['content']; + } + + if ( isset( $args['param'] ) ) { $query_args['f'] = $args['param']; } - if ( is_array( $args ) && ! empty( $args['plan'] ) ) { + if ( ! empty( $args['plan'] ) ) { $query_args['plan'] = $args['plan']; } - $link = add_query_arg( $query_args, $page ) . $anchor; + $link = add_query_arg( $query_args, $page ); + + if ( isset( $args['anchor'] ) ) { + $link .= '#' . $args['anchor']; + } + return self::make_affiliate_url( $link ); } + /** + * If medium is "pro", add an additional utm_license param with their active license type. + * + * @since x.x + * + * @param array $query_args + * @return array + */ + private static function maybe_add_utm_license( $query_args ) { + if ( 'pro' === $query_args['utm_medium'] && is_callable( 'FrmProAddonsController::get_readable_license_type' ) ) { + $query_args['utm_license'] = strtolower( FrmProAddonsController::get_readable_license_type() ); + } + + return $query_args; + } + + /** + * @since x.x + * + * @return string + */ + private static function get_utm_medium() { + return self::pro_is_connected() ? 'pro' : 'lite'; + } + + /** + * Change campaign from "liteplugin" to what we're currently using for medium. + * + * @since x.x + * + * @param array $args + * @return array + */ + private static function adjust_legacy_utm_args( $args ) { + if ( isset( $args['medium'] ) ) { + $args['campaign'] = $args['medium']; + unset( $args['medium'] ); + } + + return $args; + } + /** * @since 6.21 * @@ -168,24 +213,27 @@ public static function admin_upgrade_link( $args, $page = '' ) { * @param array $utm */ public static function maybe_add_missing_utm( $cta_link, $utm ) { + $utm = self::adjust_legacy_utm_args( $utm ); $query_args = array(); if ( false === strpos( $cta_link, 'utm_source' ) ) { - $query_args['utm_source'] = 'WordPress'; + $query_args['utm_source'] = 'plugin'; } - if ( false === strpos( $cta_link, 'utm_campaign' ) ) { - $query_args['utm_campaign'] = 'liteplugin'; + if ( false === strpos( $cta_link, 'utm_medium' ) ) { + $query_args['utm_medium'] = self::get_utm_medium(); } - if ( false === strpos( $cta_link, 'utm_medium' ) && isset( $utm['medium'] ) ) { - $query_args['utm_medium'] = $utm['medium']; + if ( false === strpos( $cta_link, 'utm_campaign' ) && isset( $utm['campaign'] ) ) { + $query_args['utm_campaign'] = $utm['campaign']; } if ( false === strpos( $cta_link, 'utm_content' ) && isset( $utm['content'] ) ) { $query_args['utm_content'] = $utm['content']; } + $query_args = self::maybe_add_utm_license( $query_args ); + return $query_args ? add_query_arg( $query_args, $cta_link ) : $cta_link; } diff --git a/classes/models/fields/FrmFieldCaptcha.php b/classes/models/fields/FrmFieldCaptcha.php index 8ce0dedf44..b84de5acf7 100644 --- a/classes/models/fields/FrmFieldCaptcha.php +++ b/classes/models/fields/FrmFieldCaptcha.php @@ -180,6 +180,10 @@ protected function recaptcha_api_url( $frm_settings ) { $api_js_url .= '&hl=' . $lang; } + // Since this URL initially ends with ? and we never use add_query_arg, remove the extra + // & that appears immediately after the ? + $api_js_url = str_replace( '?&', '?', $api_js_url ); + /** * @param string $api_js_url */ From 3a0f316c1c618a83469703f98c852ee85d3e02a5 Mon Sep 17 00:00:00 2001 From: Mike Letellier Date: Wed, 22 Oct 2025 16:13:43 -0300 Subject: [PATCH 02/19] Use the new arg --- classes/helpers/FrmAppHelper.php | 4 ++-- classes/helpers/FrmDashboardHelper.php | 4 ++-- classes/views/dashboard/templates/pro-features-list.php | 4 ++-- classes/views/frm-settings/license_box.php | 8 ++++---- classes/views/shared/admin-footer-links.php | 2 +- 5 files changed, 11 insertions(+), 11 deletions(-) diff --git a/classes/helpers/FrmAppHelper.php b/classes/helpers/FrmAppHelper.php index 3900fe469b..e637e7e7be 100644 --- a/classes/helpers/FrmAppHelper.php +++ b/classes/helpers/FrmAppHelper.php @@ -1510,8 +1510,8 @@ public static function print_admin_banner( $should_show_lite_upgrade ) { $upgrade_link = FrmSalesApi::get_best_sale_value( 'lite_banner_cta_link' ); $utm = array( - 'medium' => 'settings-license', - 'content' => 'lite-banner', + 'campaign' => 'settings-license', + 'content' => 'lite-banner', ); if ( $upgrade_link ) { diff --git a/classes/helpers/FrmDashboardHelper.php b/classes/helpers/FrmDashboardHelper.php index 5249ac9fae..09ee78fe44 100644 --- a/classes/helpers/FrmDashboardHelper.php +++ b/classes/helpers/FrmDashboardHelper.php @@ -214,8 +214,8 @@ public static function get_license_buttons() { $upgrade_link = FrmSalesApi::get_best_sale_value( 'dashboard_license_cta_link' ); $utm = array( - 'medium' => 'settings-license', - 'content' => 'dashboard-license-box', + 'campaign' => 'settings-license', + 'content' => 'dashboard-license-box', ); if ( $upgrade_link ) { diff --git a/classes/views/dashboard/templates/pro-features-list.php b/classes/views/dashboard/templates/pro-features-list.php index c4238f61e8..8ead97a4f7 100644 --- a/classes/views/dashboard/templates/pro-features-list.php +++ b/classes/views/dashboard/templates/pro-features-list.php @@ -20,8 +20,8 @@ $discount_link = FrmSalesApi::get_best_sale_value( 'global_settings_upgrade_cta_link' ); $utm = array( - 'medium' => 'dashboard-discount', - 'content' => 'dashboard-defy-limits-cta', + 'campaign' => 'dashboard-discount', + 'content' => 'dashboard-defy-limits-cta', ); if ( $discount_link ) { $discount_link = FrmAppHelper::maybe_add_missing_utm( $discount_link, $utm ); diff --git a/classes/views/frm-settings/license_box.php b/classes/views/frm-settings/license_box.php index 4ffded0727..b227e65da8 100644 --- a/classes/views/frm-settings/license_box.php +++ b/classes/views/frm-settings/license_box.php @@ -10,8 +10,8 @@ $button_upgrade_link = FrmSalesApi::get_best_sale_value( 'global_settings_license_cta_link' ); $utm = array( - 'medium' => 'settings-license', - 'content' => 'global-settings-license-box-get-formidable-button', + 'campaign' => 'settings-license', + 'content' => 'global-settings-license-box-get-formidable-button', ); if ( $button_upgrade_link ) { $button_upgrade_link = FrmAppHelper::maybe_add_missing_utm( $button_upgrade_link, $utm ); @@ -26,8 +26,8 @@ $unlock_more_upgrade_link = FrmSalesApi::get_best_sale_value( 'global_settings_unlock_more_cta_link' ); $utm = array( - 'medium' => 'settings-license', - 'content' => 'global-settings-license-box-unlock-more', + 'campaign' => 'settings-license', + 'content' => 'global-settings-license-box-unlock-more', ); if ( $unlock_more_upgrade_link ) { $unlock_more_upgrade_link = FrmAppHelper::maybe_add_missing_utm( $unlock_more_upgrade_link, $utm ); diff --git a/classes/views/shared/admin-footer-links.php b/classes/views/shared/admin-footer-links.php index b76f08aa6b..1c1c94d4fe 100644 --- a/classes/views/shared/admin-footer-links.php +++ b/classes/views/shared/admin-footer-links.php @@ -8,7 +8,7 @@ $upgrade_link = FrmSalesApi::get_best_sale_value( 'footer_cta_link' ); $utm = array( - 'medium' => 'admin-footer-link', + 'campaign' => 'admin-footer-link', ); if ( $upgrade_link ) { $upgrade_link = FrmAppHelper::maybe_add_missing_utm( $upgrade_link, $utm ); From 104f4146bf64e8d0efee3ce75cc6a692065b961c Mon Sep 17 00:00:00 2001 From: Mike Letellier Date: Wed, 22 Oct 2025 16:24:45 -0300 Subject: [PATCH 03/19] Add todo comments --- classes/controllers/FrmFormsController.php | 1 + classes/views/frm-entries/no_entries.php | 1 + js/packages/floating-links/config.js | 1 + 3 files changed, 3 insertions(+) diff --git a/classes/controllers/FrmFormsController.php b/classes/controllers/FrmFormsController.php index 4178637840..636b5c131e 100644 --- a/classes/controllers/FrmFormsController.php +++ b/classes/controllers/FrmFormsController.php @@ -306,6 +306,7 @@ public static function update( $values = array() ) { $message .= '
' . sprintf( /* translators: %1$s: Start link HTML, %2$s: end link HTML */ __( 'However, your form is very long and may be %1$sreaching server limits%2$s.', 'formidable' ), + // TODO: This URL. '', '' ); diff --git a/classes/views/frm-entries/no_entries.php b/classes/views/frm-entries/no_entries.php index 729f12c623..0e5a6e2666 100644 --- a/classes/views/frm-entries/no_entries.php +++ b/classes/views/frm-entries/no_entries.php @@ -35,6 +35,7 @@ printf( /* translators: %1$s: Start link HTML, %2$s: End link HTML, %3$s: Line break HTML */ esc_html__( 'See the %1$sform documentation%2$s for instructions on publishing your form', 'formidable' ), + // TODO: This URL. '', '' ); diff --git a/js/packages/floating-links/config.js b/js/packages/floating-links/config.js index dd4b774117..7545f51969 100644 --- a/js/packages/floating-links/config.js +++ b/js/packages/floating-links/config.js @@ -54,6 +54,7 @@ { title: __( 'Upgrade', 'formidable' ), icon: frmFloatingLinksConfig.upgradeIcon, + // TODO: This URL. url: 'https://formidableforms.com/lite-upgrade/?utm_source=WordPress&utm_campaign=liteplugin&utm_medium=upgrade&utm_content=floating-links', openInNewTab: true }, From a6ee16c7bb13a267df7af2e897102168f429c8d6 Mon Sep 17 00:00:00 2001 From: Mike Letellier Date: Wed, 22 Oct 2025 16:27:58 -0300 Subject: [PATCH 04/19] Add todo comments --- classes/helpers/FrmAppHelper.php | 1 + 1 file changed, 1 insertion(+) diff --git a/classes/helpers/FrmAppHelper.php b/classes/helpers/FrmAppHelper.php index e637e7e7be..8f8e7f951a 100644 --- a/classes/helpers/FrmAppHelper.php +++ b/classes/helpers/FrmAppHelper.php @@ -3735,6 +3735,7 @@ public static function min_pro_version_notice( $min_version ) { if ( empty( $expired ) ) { echo ' Please update now.'; } else { + // TODO: This URL. echo '
Please renew now to get the latest version.'; } ?> From a6d211e901cfd331c71857c1af543cdf500b6566 Mon Sep 17 00:00:00 2001 From: Mike Letellier Date: Mon, 27 Oct 2025 11:28:40 -0300 Subject: [PATCH 05/19] Fix a bug with legacy args not mapping, make URL dynamic --- classes/controllers/FrmFormsController.php | 19 ++++++++++++++++--- classes/helpers/FrmAppHelper.php | 2 +- 2 files changed, 17 insertions(+), 4 deletions(-) diff --git a/classes/controllers/FrmFormsController.php b/classes/controllers/FrmFormsController.php index 636b5c131e..9600073ac4 100644 --- a/classes/controllers/FrmFormsController.php +++ b/classes/controllers/FrmFormsController.php @@ -302,12 +302,11 @@ public static function update( $values = array() ) { FrmForm::update( $id, $values ); $message = __( 'Form was successfully updated.', 'formidable' ); - if ( self::is_too_long( $values ) ) { + if ( true ) {//self::is_too_long( $values ) ) { $message .= '
' . sprintf( /* translators: %1$s: Start link HTML, %2$s: end link HTML */ __( 'However, your form is very long and may be %1$sreaching server limits%2$s.', 'formidable' ), - // TODO: This URL. - '', + '', '' ); } @@ -319,6 +318,19 @@ public static function update( $values = array() ) { self::get_edit_vars( $id, array(), $message ); } + /** + * @since x.x + * + * @return string + */ + private static function get_form_too_long_docs_url() { + $utm = array( + 'campaign' => 'builder', + 'content' => 'form-too-long', + ); + return FrmAppHelper::admin_upgrade_link( $utm, 'knowledgebase/i-have-a-long-form-why-did-the-options-at-the-end-of-the-form-stop-saving/' ); + } + /** * Remove the draft flag from any new fields from this current session. * @@ -354,6 +366,7 @@ private static function maybe_remove_draft_option_from_fields( $form_id ) { * * @since 3.06.01 * + * @param array $values * @return bool */ private static function is_too_long( $values ) { diff --git a/classes/helpers/FrmAppHelper.php b/classes/helpers/FrmAppHelper.php index 8f8e7f951a..fe6bfe716f 100644 --- a/classes/helpers/FrmAppHelper.php +++ b/classes/helpers/FrmAppHelper.php @@ -128,7 +128,7 @@ public static function admin_upgrade_link( $args, $page = '' ) { } if ( is_array( $args ) ) { - self::adjust_legacy_utm_args( $args ); + $args = self::adjust_legacy_utm_args( $args ); } else { $args = array( 'campaign' => $args ); } From 2d204ff15d8b60bd20d2efcf54cb73c7daf93763 Mon Sep 17 00:00:00 2001 From: Mike Letellier Date: Mon, 27 Oct 2025 11:29:20 -0300 Subject: [PATCH 06/19] Fix if true --- classes/controllers/FrmFormsController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/controllers/FrmFormsController.php b/classes/controllers/FrmFormsController.php index 9600073ac4..dc11ded934 100644 --- a/classes/controllers/FrmFormsController.php +++ b/classes/controllers/FrmFormsController.php @@ -302,7 +302,7 @@ public static function update( $values = array() ) { FrmForm::update( $id, $values ); $message = __( 'Form was successfully updated.', 'formidable' ); - if ( true ) {//self::is_too_long( $values ) ) { + if ( self::is_too_long( $values ) ) { $message .= '
' . sprintf( /* translators: %1$s: Start link HTML, %2$s: end link HTML */ __( 'However, your form is very long and may be %1$sreaching server limits%2$s.', 'formidable' ), From f911109063e26b298a905c25694193a75fed7d79 Mon Sep 17 00:00:00 2001 From: Mike Letellier Date: Mon, 27 Oct 2025 11:51:48 -0300 Subject: [PATCH 07/19] Move min version notice to a view and use admin link function for renew link --- classes/helpers/FrmAppHelper.php | 15 +-------------- classes/views/addons/min-version-notice.php | 20 ++++++++++++++++++++ classes/views/addons/upgrade_to_pro.php | 5 ----- 3 files changed, 21 insertions(+), 19 deletions(-) create mode 100644 classes/views/addons/min-version-notice.php delete mode 100644 classes/views/addons/upgrade_to_pro.php diff --git a/classes/helpers/FrmAppHelper.php b/classes/helpers/FrmAppHelper.php index fe6bfe716f..d7ed4b767a 100644 --- a/classes/helpers/FrmAppHelper.php +++ b/classes/helpers/FrmAppHelper.php @@ -3727,20 +3727,7 @@ public static function min_pro_version_notice( $min_version ) { return; } - $expired = FrmAddonsController::is_license_expired(); - ?> -
- update now.'; - } else { - // TODO: This URL. - echo '
Please renew now to get the latest version.'; - } - ?> -
- +
+ + + + 'outdated', + 'content' => 'min-pro-version-notice', + ); + ?> + Please renew now to get the latest version. + + Please update now. + +
diff --git a/classes/views/addons/upgrade_to_pro.php b/classes/views/addons/upgrade_to_pro.php deleted file mode 100644 index b5840eb30c..0000000000 --- a/classes/views/addons/upgrade_to_pro.php +++ /dev/null @@ -1,5 +0,0 @@ - Date: Mon, 27 Oct 2025 11:55:16 -0300 Subject: [PATCH 08/19] Update another hard coded url --- classes/views/frm-entries/no_entries.php | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/classes/views/frm-entries/no_entries.php b/classes/views/frm-entries/no_entries.php index 0e5a6e2666..2507225464 100644 --- a/classes/views/frm-entries/no_entries.php +++ b/classes/views/frm-entries/no_entries.php @@ -32,11 +32,14 @@

'entries', + 'content' => 'no-entries', + ); printf( /* translators: %1$s: Start link HTML, %2$s: End link HTML, %3$s: Line break HTML */ esc_html__( 'See the %1$sform documentation%2$s for instructions on publishing your form', 'formidable' ), - // TODO: This URL. - '', + '', '' ); ?> From 650fd148a6f4bafc43e85dc67bca142d735db965 Mon Sep 17 00:00:00 2001 From: Mike Letellier Date: Mon, 27 Oct 2025 11:59:01 -0300 Subject: [PATCH 09/19] Stop hard coding floating links url --- classes/controllers/FrmAppController.php | 4 ++++ js/packages/floating-links/config.js | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/classes/controllers/FrmAppController.php b/classes/controllers/FrmAppController.php index 9aa82f75c0..2981e7f510 100644 --- a/classes/controllers/FrmAppController.php +++ b/classes/controllers/FrmAppController.php @@ -1334,8 +1334,12 @@ private static function enqueue_floating_links( $plugin_url, $version ) { wp_set_script_translations( 's11-floating-links-config', 's11-' ); } + $utm = array( + 'campaign' => 'floating-links', + ); $floating_links_data = array( 'proIsInstalled' => FrmAppHelper::pro_is_installed(), + 'upgradeUrl' => FrmAppHelper::admin_upgrade_link( $utm ), ); wp_localize_script( 's11-floating-links-config', 's11FloatingLinksData', $floating_links_data ); diff --git a/js/packages/floating-links/config.js b/js/packages/floating-links/config.js index 7545f51969..4e0a0c0d76 100644 --- a/js/packages/floating-links/config.js +++ b/js/packages/floating-links/config.js @@ -55,7 +55,7 @@ title: __( 'Upgrade', 'formidable' ), icon: frmFloatingLinksConfig.upgradeIcon, // TODO: This URL. - url: 'https://formidableforms.com/lite-upgrade/?utm_source=WordPress&utm_campaign=liteplugin&utm_medium=upgrade&utm_content=floating-links', + url: s11FloatingLinksData.upgradeUrl, openInNewTab: true }, { From b8d8d5628d0f8162748e85c4c06542ffd3769d42 Mon Sep 17 00:00:00 2001 From: Mike Letellier Date: Mon, 27 Oct 2025 12:07:44 -0300 Subject: [PATCH 10/19] Update add-on links --- classes/controllers/FrmAddonsController.php | 9 ++++----- js/packages/floating-links/config.js | 1 - 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/classes/controllers/FrmAddonsController.php b/classes/controllers/FrmAddonsController.php index bf7361e710..83ff457689 100644 --- a/classes/controllers/FrmAddonsController.php +++ b/classes/controllers/FrmAddonsController.php @@ -839,12 +839,11 @@ protected static function prepare_addon_link( &$link ) { $link = $site_url . $link; } $link = FrmAppHelper::make_affiliate_url( $link ); - $query_args = array( - 'utm_source' => 'WordPress', - 'utm_medium' => 'addons', - 'utm_campaign' => 'liteplugin', + + $utm = array( + 'campaign' => 'addons', ); - $link = add_query_arg( $query_args, $link ); + $link = FrmAppHelper::maybe_add_missing_utm( $link, $utm ); } /** diff --git a/js/packages/floating-links/config.js b/js/packages/floating-links/config.js index 4e0a0c0d76..c78d82c67e 100644 --- a/js/packages/floating-links/config.js +++ b/js/packages/floating-links/config.js @@ -54,7 +54,6 @@ { title: __( 'Upgrade', 'formidable' ), icon: frmFloatingLinksConfig.upgradeIcon, - // TODO: This URL. url: s11FloatingLinksData.upgradeUrl, openInNewTab: true }, From bec4c1e13563dc0c2235154610126e08efa0529b Mon Sep 17 00:00:00 2001 From: Mike Letellier Date: Mon, 27 Oct 2025 13:04:44 -0300 Subject: [PATCH 11/19] Add UTM to view demos button --- classes/views/shared/views-info.php | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/classes/views/shared/views-info.php b/classes/views/shared/views-info.php index 0ef65d8ea2..4af4945812 100644 --- a/classes/views/shared/views-info.php +++ b/classes/views/shared/views-info.php @@ -20,15 +20,20 @@

'views-info', - 'plan' => 'view', - 'class' => 'frm-mb-md frm-button-primary frm-gradient', - 'text' => __( 'Get Formidable Views', 'formidable' ), + 'campaign' => 'views-info', + 'content' => 'get-views-button', + 'plan' => 'view', + 'class' => 'frm-mb-md frm-button-primary frm-gradient', + 'text' => __( 'Get Formidable Views', 'formidable' ), ); FrmAddonsController::conditional_action_button( 'views', $upgrade_link_args ); - ?> - + $demo_link_args = array( + 'campaign' => 'views-info', + 'content' => 'view-demos-button', + ); + ?> +
From 4d128feb8980d0693b21b31e4a3160471555a512 Mon Sep 17 00:00:00 2001 From: Mike Letellier Date: Mon, 27 Oct 2025 13:08:11 -0300 Subject: [PATCH 12/19] Update UTM for floating links --- classes/controllers/FrmAppController.php | 12 +++++++++--- js/packages/floating-links/config.js | 4 ++-- 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/classes/controllers/FrmAppController.php b/classes/controllers/FrmAppController.php index 2981e7f510..a9501796d0 100644 --- a/classes/controllers/FrmAppController.php +++ b/classes/controllers/FrmAppController.php @@ -1334,12 +1334,18 @@ private static function enqueue_floating_links( $plugin_url, $version ) { wp_set_script_translations( 's11-floating-links-config', 's11-' ); } - $utm = array( + $upgrade_utm = array( 'campaign' => 'floating-links', + 'content' => 'floating-links-upgrade', + ); + $docs_utm = array( + 'campaign' => 'floating-links', + 'content' => 'floating-links-docs', ); $floating_links_data = array( - 'proIsInstalled' => FrmAppHelper::pro_is_installed(), - 'upgradeUrl' => FrmAppHelper::admin_upgrade_link( $utm ), + 'proIsInstalled' => FrmAppHelper::pro_is_installed(), + 'upgradeUrl' => FrmAppHelper::admin_upgrade_link( $upgrade_utm ), + 'documentationUrl' => FrmAppHelper::admin_upgrade_link( $docs_utm, 'knowledgebase/' ), ); wp_localize_script( 's11-floating-links-config', 's11FloatingLinksData', $floating_links_data ); diff --git a/js/packages/floating-links/config.js b/js/packages/floating-links/config.js index c78d82c67e..5dffdd8682 100644 --- a/js/packages/floating-links/config.js +++ b/js/packages/floating-links/config.js @@ -66,7 +66,7 @@ { title: __( 'Documentation', 'formidable' ), icon: frmFloatingLinksConfig.documentationIcon, - url: 'https://formidableforms.com/knowledgebase/', + url: s11FloatingLinksData.documentationUrl, openInNewTab: true } ]; @@ -78,7 +78,7 @@ { title: __( 'Support & Docs', 'formidable' ), icon: frmFloatingLinksConfig.supportIcon, - url: 'https://formidableforms.com/knowledgebase/', + url: s11FloatingLinksData.documentationUrl, openInNewTab: true } ]; From 9f9ec00b310a08e68b46195ab88a1c3ba2b1749d Mon Sep 17 00:00:00 2001 From: Mike Letellier Date: Mon, 27 Oct 2025 13:11:51 -0300 Subject: [PATCH 13/19] Add UTM to footer links --- classes/views/shared/admin-footer-links.php | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/classes/views/shared/admin-footer-links.php b/classes/views/shared/admin-footer-links.php index 1c1c94d4fe..ae55f15b30 100644 --- a/classes/views/shared/admin-footer-links.php +++ b/classes/views/shared/admin-footer-links.php @@ -9,6 +9,7 @@ $upgrade_link = FrmSalesApi::get_best_sale_value( 'footer_cta_link' ); $utm = array( 'campaign' => 'admin-footer-link', + 'content' => 'footer-link-upgrade', ); if ( $upgrade_link ) { $upgrade_link = FrmAppHelper::maybe_add_missing_utm( $upgrade_link, $utm ); @@ -35,7 +36,13 @@
+ 'views-info', + 'content' => 'views-info-learn-more', + ); + ?> +

- +
From 86790b86321f9be9489636db197b978916d9e4bb Mon Sep 17 00:00:00 2001 From: Mike Letellier Date: Mon, 27 Oct 2025 13:28:05 -0300 Subject: [PATCH 17/19] Fix phpcs issues --- classes/controllers/FrmAppController.php | 4 ++-- classes/views/addons/min-version-notice.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/classes/controllers/FrmAppController.php b/classes/controllers/FrmAppController.php index a9501796d0..1f7124d4de 100644 --- a/classes/controllers/FrmAppController.php +++ b/classes/controllers/FrmAppController.php @@ -1334,11 +1334,11 @@ private static function enqueue_floating_links( $plugin_url, $version ) { wp_set_script_translations( 's11-floating-links-config', 's11-' ); } - $upgrade_utm = array( + $upgrade_utm = array( 'campaign' => 'floating-links', 'content' => 'floating-links-upgrade', ); - $docs_utm = array( + $docs_utm = array( 'campaign' => 'floating-links', 'content' => 'floating-links-docs', ); diff --git a/classes/views/addons/min-version-notice.php b/classes/views/addons/min-version-notice.php index 48e10d653d..f8b1f0ad05 100644 --- a/classes/views/addons/min-version-notice.php +++ b/classes/views/addons/min-version-notice.php @@ -13,7 +13,7 @@ 'content' => 'min-pro-version-notice', ); ?> - Please renew now to get the latest version. + Please renew now to get the latest version. Please update now. From bf6499fd082de415aab8ba1a0324b0443251815d Mon Sep 17 00:00:00 2001 From: Mike Letellier Date: Mon, 27 Oct 2025 13:35:04 -0300 Subject: [PATCH 18/19] Update UTMs in e2e tests --- .../e2e/Add-Ons/validateAddOnsPage.cy.js | 82 +++++++++---------- .../validateApplicationsPage.cy.js | 6 +- 2 files changed, 44 insertions(+), 44 deletions(-) diff --git a/tests/cypress/e2e/Add-Ons/validateAddOnsPage.cy.js b/tests/cypress/e2e/Add-Ons/validateAddOnsPage.cy.js index a03200e4d0..d42d26f977 100644 --- a/tests/cypress/e2e/Add-Ons/validateAddOnsPage.cy.js +++ b/tests/cypress/e2e/Add-Ons/validateAddOnsPage.cy.js @@ -13,7 +13,7 @@ describe( 'Add-Ons page', () => { cy.get( 'h4' ).should( 'contain.text', 'Unlock Add-on library' ); cy.get( 'p.frm-m-0' ).should( 'contain.text', 'Upgrade to Pro and access our library of add-ons to supercharge your forms.' ); cy.get( 'a.frm-cta-link' ) - .should( 'have.attr', 'href', 'https://formidableforms.com/lite-upgrade/?utm_source=WordPress&utm_medium=addons&utm_campaign=liteplugin&utm_content=upgrade-cta' ) + .should( 'have.attr', 'href', 'https://formidableforms.com/lite-upgrade/?utm_source=plugin&utm_medium=lite&utm_campaign=form-templates&utm_content=upgrade-cta' ) .and( 'contain.text', 'Upgrade to PRO' ); } ); cy.get( '#addon-search-input' ).should( 'exist' ); @@ -154,7 +154,7 @@ describe( 'Add-Ons page', () => { cy.get( '.frm-font-medium.frm-truncate' ).should( 'contain.text', 'Formidable Forms Pro' ); cy.get( 'svg.frmsvg > use' ).should( 'have.attr', 'xlink:href', '#frm_logo_icon' ); cy.get( 'p.frm-line-clamp-2' ).should( 'contain.text', 'Create calculators, surveys, smart forms, and data-driven applications. Build directories, real estate listings, job boards, and much more.' ); - cy.get( 'a[aria-label="View Docs"]' ).should( 'have.attr', 'href', 'https://formidableforms.com/knowledgebase/?utm_source=WordPress&utm_medium=addons&utm_campaign=liteplugin' ) + cy.get( 'a[aria-label="View Docs"]' ).should( 'have.attr', 'href', 'https://formidableforms.com/knowledgebase/?utm_source=plugin&utm_medium=lite&utm_campaign=form-templates' ) .and( 'have.attr', 'target', '_blank' ) .invoke( 'removeAttr', 'target' ).click(); } ); @@ -172,7 +172,7 @@ describe( 'Add-Ons page', () => { cy.get( 'p.frm-line-clamp-2' ).should( 'contain.text', 'Add an electronic signature to your WordPress form. The visitor may write their signature with a trackpad/mouse or type it.' ); cy.contains( 'Plan required:' ).within( () => { - cy.get( 'a' ).should( 'have.attr', 'href', 'https://formidableforms.com/lite-upgrade/?utm_source=WordPress&utm_medium=addons&utm_campaign=liteplugin&utm_content=signature' ) + cy.get( 'a' ).should( 'have.attr', 'href', 'https://formidableforms.com/lite-upgrade/?utm_source=plugin&utm_medium=lite&utm_campaign=form-templates&utm_content=signature' ) .and( 'contain.text', 'Business' ); } ); cy.get( 'a[aria-label="Upgrade Now"]' ).should( 'have.attr', 'target', '_blank' ) @@ -186,7 +186,7 @@ describe( 'Add-Ons page', () => { cy.get( 'svg.frmsvg > use' ).should( 'have.attr', 'xlink:href', '#frm_paypal_icon' ); cy.get( 'p.frm-line-clamp-2' ).should( 'contain.text', 'Collect instant payments and recurring payments to automate your online business. Calculate a total and send customers on to PayPal.' ); cy.contains( 'Plan required:' ).within( () => { - cy.get( 'a' ).should( 'have.attr', 'href', 'https://formidableforms.com/lite-upgrade/?utm_source=WordPress&utm_medium=addons&utm_campaign=liteplugin&utm_content=paypal-standard' ).and( 'contain.text', 'Business' ); + cy.get( 'a' ).should( 'have.attr', 'href', 'https://formidableforms.com/lite-upgrade/?utm_source=plugin&utm_medium=lite&utm_campaign=form-templates&utm_content=paypal-standard' ).and( 'contain.text', 'Business' ); } ); cy.get( 'a[aria-label="Upgrade Now"]' ).should( 'have.attr', 'target', '_blank' ) .and( 'have.attr', 'href' ).and( 'include', 'https://formidableforms.com/lite-upgrade/' ); @@ -198,7 +198,7 @@ describe( 'Add-Ons page', () => { cy.get( 'svg.frmsvg > use' ).should( 'have.attr', 'xlink:href', '#frm_logo_icon' ); cy.get( 'p.frm-line-clamp-2' ).should( 'contain.text', 'Add a full forms API for forms, form fields, views, and entries. Then send submissions to other sites with REST APIs.' ); cy.contains( 'Plan required:' ).within( () => { - cy.get( 'a' ).should( 'have.attr', 'href', 'https://formidableforms.com/lite-upgrade/?utm_source=WordPress&utm_medium=addons&utm_campaign=liteplugin&utm_content=formidable-api' ).and( 'contain.text', 'Business' ); + cy.get( 'a' ).should( 'have.attr', 'href', 'https://formidableforms.com/lite-upgrade/?utm_source=plugin&utm_medium=lite&utm_campaign=form-templates&utm_content=formidable-api' ).and( 'contain.text', 'Business' ); } ); cy.get( 'a[aria-label="Upgrade Now"]' ).should( 'have.attr', 'target', '_blank' ) .and( 'have.attr', 'href' ).and( 'include', 'https://formidableforms.com/lite-upgrade/' ); @@ -210,7 +210,7 @@ describe( 'Add-Ons page', () => { cy.get( 'svg.frmsvg > use' ).should( 'have.attr', 'xlink:href', '#frm_twilio_icon' ); cy.get( 'p.frm-line-clamp-2' ).should( 'contain.text', 'Allow users to text their votes for polls created by Formidable Forms, or send SMS notifications when entries are submitted or updated.' ); cy.contains( 'Plan required:' ).within( () => { - cy.get( 'a' ).should( 'have.attr', 'href', 'https://formidableforms.com/lite-upgrade/?utm_source=WordPress&utm_medium=addons&utm_campaign=liteplugin&utm_content=twilio' ).and( 'contain.text', 'Business' ); + cy.get( 'a' ).should( 'have.attr', 'href', 'https://formidableforms.com/lite-upgrade/?utm_source=plugin&utm_medium=lite&utm_campaign=form-templates&utm_content=twilio' ).and( 'contain.text', 'Business' ); } ); cy.get( 'a[aria-label="Upgrade Now"]' ).should( 'have.attr', 'target', '_blank' ) .and( 'have.attr', 'href' ).and( 'include', 'https://formidableforms.com/lite-upgrade/' ); @@ -222,7 +222,7 @@ describe( 'Add-Ons page', () => { cy.get( 'svg.frmsvg > use' ).should( 'have.attr', 'xlink:href', '#frm_bootstrap_icon' ); cy.get( 'p.frm-line-clamp-2' ).should( 'contain.text', 'Instantly add Bootstrap styling to all your Formidable forms.' ); cy.contains( 'Plan required:' ).within( () => { - cy.get( 'a' ).should( 'have.attr', 'href', 'https://formidableforms.com/lite-upgrade/?utm_source=WordPress&utm_medium=addons&utm_campaign=liteplugin&utm_content=bootstrap' ).and( 'contain.text', 'Plus' ); + cy.get( 'a' ).should( 'have.attr', 'href', 'https://formidableforms.com/lite-upgrade/?utm_source=plugin&utm_medium=lite&utm_campaign=form-templates&utm_content=bootstrap' ).and( 'contain.text', 'Plus' ); } ); cy.get( 'a[aria-label="Upgrade Now"]' ).should( 'have.attr', 'target', '_blank' ) .and( 'have.attr', 'href' ).and( 'include', 'https://formidableforms.com/lite-upgrade/' ); @@ -234,7 +234,7 @@ describe( 'Add-Ons page', () => { cy.get( 'svg.frmsvg > use' ).should( 'have.attr', 'xlink:href', '#frm_aweber_icon' ); cy.get( 'p.frm-line-clamp-2' ).should( 'contain.text', 'AWeber is a powerful email marketing service. Subscribe contacts to an AWeber mailing list when they submit your WordPress contact forms.' ); cy.contains( 'Plan required:' ).within( () => { - cy.get( 'a' ).should( 'have.attr', 'href', 'https://formidableforms.com/lite-upgrade/?utm_source=WordPress&utm_medium=addons&utm_campaign=liteplugin&utm_content=aweber' ).and( 'contain.text', 'Plus' ); + cy.get( 'a' ).should( 'have.attr', 'href', 'https://formidableforms.com/lite-upgrade/?utm_source=plugin&utm_medium=lite&utm_campaign=form-templates&utm_content=aweber' ).and( 'contain.text', 'Plus' ); } ); cy.get( 'a[aria-label="Upgrade Now"]' ).should( 'have.attr', 'target', '_blank' ) .and( 'have.attr', 'href' ).and( 'include', 'https://formidableforms.com/lite-upgrade/' ); @@ -246,7 +246,7 @@ describe( 'Add-Ons page', () => { cy.get( 'svg.frmsvg > use' ).should( 'have.attr', 'xlink:href', '#frm_logo_icon' ); cy.get( 'p.frm-line-clamp-2' ).should( 'contain.text', 'Translate your forms into multiple languages using the Formidable-integrated WPML plugin.' ); cy.contains( 'Plan required:' ).within( () => { - cy.get( 'a' ).should( 'have.attr', 'href', 'https://formidableforms.com/lite-upgrade/?utm_source=WordPress&utm_medium=addons&utm_campaign=liteplugin&utm_content=wp-multilingual' ).and( 'contain.text', 'Business' ); + cy.get( 'a' ).should( 'have.attr', 'href', 'https://formidableforms.com/lite-upgrade/?utm_source=plugin&utm_medium=lite&utm_campaign=form-templates&utm_content=wp-multilingual' ).and( 'contain.text', 'Business' ); } ); cy.get( 'a[aria-label="Upgrade Now"]' ).should( 'have.attr', 'target', '_blank' ) .and( 'have.attr', 'href' ).and( 'include', 'https://formidableforms.com/lite-upgrade/' ); @@ -258,7 +258,7 @@ describe( 'Add-Ons page', () => { cy.get( 'svg.frmsvg > use' ).should( 'have.attr', 'xlink:href', '#frm_logo_icon' ); cy.get( 'p.frm-line-clamp-2' ).should( 'contain.text', 'Populate fields with Countries, States/Provinces, U.S. Counties, and U.S. Cities. This data can then be used in dependent Data from Entries fields.' ); cy.contains( 'Plan required:' ).within( () => { - cy.get( 'a' ).should( 'have.attr', 'href', 'https://formidableforms.com/lite-upgrade/?utm_source=WordPress&utm_medium=addons&utm_campaign=liteplugin&utm_content=locations' ).and( 'contain.text', 'Plus' ); + cy.get( 'a' ).should( 'have.attr', 'href', 'https://formidableforms.com/lite-upgrade/?utm_source=plugin&utm_medium=lite&utm_campaign=form-templates&utm_content=locations' ).and( 'contain.text', 'Plus' ); } ); cy.get( 'a[aria-label="Upgrade Now"]' ).should( 'have.attr', 'target', '_blank' ) .and( 'have.attr', 'href' ).and( 'include', 'https://formidableforms.com/lite-upgrade/' ); @@ -270,7 +270,7 @@ describe( 'Add-Ons page', () => { cy.get( 'svg.frmsvg > use' ).should( 'have.attr', 'xlink:href', '#frm_zapier_icon' ); cy.get( 'p.frm-line-clamp-2' ).should( 'contain.text', 'Connect with hundreds of applications through Zapier. Automatically insert a Google spreadsheet row, tweet, or upload to Dropbox.' ); cy.contains( 'Plan required:' ).within( () => { - cy.get( 'a' ).should( 'have.attr', 'href', 'https://formidableforms.com/lite-upgrade/?utm_source=WordPress&utm_medium=addons&utm_campaign=liteplugin&utm_content=zapier' ).and( 'contain.text', 'Business' ); + cy.get( 'a' ).should( 'have.attr', 'href', 'https://formidableforms.com/lite-upgrade/?utm_source=plugin&utm_medium=lite&utm_campaign=form-templates&utm_content=zapier' ).and( 'contain.text', 'Business' ); } ); cy.get( 'a[aria-label="Upgrade Now"]' ).should( 'have.attr', 'target', '_blank' ) .and( 'have.attr', 'href' ).and( 'include', 'https://formidableforms.com/lite-upgrade/' ); @@ -282,7 +282,7 @@ describe( 'Add-Ons page', () => { cy.get( 'svg.frmsvg > use' ).should( 'have.attr', 'xlink:href', '#frm_logo_icon' ); cy.get( 'p.frm-line-clamp-2' ).should( 'contain.text', 'Track the pages a user visits and the time spent on each page prior to submitting a form.' ); cy.contains( 'Plan required:' ).within( () => { - cy.get( 'a' ).should( 'have.attr', 'href', 'https://formidableforms.com/lite-upgrade/?utm_source=WordPress&utm_medium=addons&utm_campaign=liteplugin&utm_content=user-tracking' ).and( 'contain.text', 'Plus' ); + cy.get( 'a' ).should( 'have.attr', 'href', 'https://formidableforms.com/lite-upgrade/?utm_source=plugin&utm_medium=lite&utm_campaign=form-templates&utm_content=user-tracking' ).and( 'contain.text', 'Plus' ); } ); cy.get( 'a[aria-label="Upgrade Now"]' ).should( 'have.attr', 'target', '_blank' ) .and( 'have.attr', 'href' ).and( 'include', 'https://formidableforms.com/lite-upgrade/' ); @@ -294,7 +294,7 @@ describe( 'Add-Ons page', () => { cy.get( 'svg.frmsvg > use' ).should( 'have.attr', 'xlink:href', '#frm_mailchimp_icon' ); cy.get( 'p.frm-line-clamp-2' ).should( 'contain.text', 'Get on the path to more leads in minutes. Add and update leads in a Mailchimp mailing list when a form is submitted.' ); cy.contains( 'Plan required:' ).within( () => { - cy.get( 'a' ).should( 'have.attr', 'href', 'https://formidableforms.com/lite-upgrade/?utm_source=WordPress&utm_medium=addons&utm_campaign=liteplugin&utm_content=mailchimp' ).and( 'contain.text', 'Plus' ); + cy.get( 'a' ).should( 'have.attr', 'href', 'https://formidableforms.com/lite-upgrade/?utm_source=plugin&utm_medium=lite&utm_campaign=form-templates&utm_content=mailchimp' ).and( 'contain.text', 'Plus' ); } ); cy.get( 'a[aria-label="Upgrade Now"]' ).should( 'have.attr', 'target', '_blank' ) .and( 'have.attr', 'href' ).and( 'include', 'https://formidableforms.com/lite-upgrade/' ); @@ -306,7 +306,7 @@ describe( 'Add-Ons page', () => { cy.get( 'svg.frmsvg > use' ).should( 'have.attr', 'xlink:href', '#frm_logo_icon' ); cy.get( 'p.frm-line-clamp-2' ).should( 'contain.text', 'Give new users access to your site quickly and painlessly. Plus edit profiles and login from the front end.' ); cy.contains( 'Plan required:' ).within( () => { - cy.get( 'a' ).should( 'have.attr', 'href', 'https://formidableforms.com/lite-upgrade/?utm_source=WordPress&utm_medium=addons&utm_campaign=liteplugin&utm_content=user-registration' ).and( 'contain.text', 'Business' ); + cy.get( 'a' ).should( 'have.attr', 'href', 'https://formidableforms.com/lite-upgrade/?utm_source=plugin&utm_medium=lite&utm_campaign=form-templates&utm_content=user-registration' ).and( 'contain.text', 'Business' ); } ); cy.get( 'a[aria-label="Upgrade Now"]' ).should( 'have.attr', 'target', '_blank' ) .and( 'have.attr', 'href' ).and( 'include', 'https://formidableforms.com/lite-upgrade/' ); @@ -318,7 +318,7 @@ describe( 'Add-Ons page', () => { cy.get( 'svg.frmsvg > use' ).should( 'have.attr', 'xlink:href', '#frm_woocommerce_icon' ); cy.get( 'p.frm-line-clamp-2' ).should( 'contain.text', 'Are your WooCommerce product forms too basic? Add custom fields to a product form and collect more data when it is added to the cart.' ); cy.contains( 'Plan required:' ).within( () => { - cy.get( 'a' ).should( 'have.attr', 'href', 'https://formidableforms.com/lite-upgrade/?utm_source=WordPress&utm_medium=addons&utm_campaign=liteplugin&utm_content=woocommerce' ).and( 'contain.text', 'Elite' ); + cy.get( 'a' ).should( 'have.attr', 'href', 'https://formidableforms.com/lite-upgrade/?utm_source=plugin&utm_medium=lite&utm_campaign=form-templates&utm_content=woocommerce' ).and( 'contain.text', 'Elite' ); } ); cy.get( 'a[aria-label="Upgrade Now"]' ).should( 'have.attr', 'target', '_blank' ) .and( 'have.attr', 'href' ).and( 'include', 'https://formidableforms.com/lite-upgrade/' ); @@ -330,7 +330,7 @@ describe( 'Add-Ons page', () => { cy.get( 'svg.frmsvg > use' ).should( 'have.attr', 'xlink:href', '#frm_highrise_icon' ); cy.get( 'p.frm-line-clamp-2' ).should( 'contain.text', 'Capture leads in your WordPress contact forms, and save them in your Highrise CRM account too.' ); cy.contains( 'Plan required:' ).within( () => { - cy.get( 'a' ).should( 'have.attr', 'href', 'https://formidableforms.com/lite-upgrade/?utm_source=WordPress&utm_medium=addons&utm_campaign=liteplugin&utm_content=highrise' ).and( 'contain.text', 'Plus' ); + cy.get( 'a' ).should( 'have.attr', 'href', 'https://formidableforms.com/lite-upgrade/?utm_source=plugin&utm_medium=lite&utm_campaign=form-templates&utm_content=highrise' ).and( 'contain.text', 'Plus' ); } ); cy.get( 'a[aria-label="Upgrade Now"]' ).should( 'have.attr', 'target', '_blank' ) .and( 'have.attr', 'href' ).and( 'include', 'https://formidableforms.com/lite-upgrade/' ); @@ -342,7 +342,7 @@ describe( 'Add-Ons page', () => { cy.get( 'svg.frmsvg > use' ).should( 'have.attr', 'xlink:href', '#frm_bootstrap_icon' ); cy.get( 'p.frm-line-clamp-2' ).should( 'contain.text', 'Open forms, views, other shortcodes, or sections of content in a Bootstrap popup.' ); cy.contains( 'Plan required:' ).within( () => { - cy.get( 'a' ).should( 'have.attr', 'href', 'https://formidableforms.com/lite-upgrade/?utm_source=WordPress&utm_medium=addons&utm_campaign=liteplugin&utm_content=bootstrap-modal' ).and( 'contain.text', 'Plus' ); + cy.get( 'a' ).should( 'have.attr', 'href', 'https://formidableforms.com/lite-upgrade/?utm_source=plugin&utm_medium=lite&utm_campaign=form-templates&utm_content=bootstrap-modal' ).and( 'contain.text', 'Plus' ); } ); cy.get( 'a[aria-label="Upgrade Now"]' ).should( 'have.attr', 'target', '_blank' ) .and( 'have.attr', 'href' ).and( 'include', 'https://formidableforms.com/lite-upgrade/' ); @@ -354,7 +354,7 @@ describe( 'Add-Ons page', () => { cy.get( 'svg.frmsvg > use' ).should( 'have.attr', 'xlink:href', '#frm_polylang_icon' ); cy.get( 'p.frm-line-clamp-2' ).should( 'contain.text', 'Create bilingual or multilingual forms with help from Polylang.' ); cy.contains( 'Plan required:' ).within( () => { - cy.get( 'a' ).should( 'have.attr', 'href', 'https://formidableforms.com/lite-upgrade/?utm_source=WordPress&utm_medium=addons&utm_campaign=liteplugin&utm_content=polylang' ).and( 'contain.text', 'Business' ); + cy.get( 'a' ).should( 'have.attr', 'href', 'https://formidableforms.com/lite-upgrade/?utm_source=plugin&utm_medium=lite&utm_campaign=form-templates&utm_content=polylang' ).and( 'contain.text', 'Business' ); } ); cy.get( 'a[aria-label="Upgrade Now"]' ).should( 'have.attr', 'target', '_blank' ) .and( 'have.attr', 'href' ).and( 'include', 'https://formidableforms.com/lite-upgrade/' ); @@ -366,7 +366,7 @@ describe( 'Add-Ons page', () => { cy.get( 'svg.frmsvg > use' ).should( 'have.attr', 'xlink:href', '#frm_logo_icon' ); cy.get( 'p.frm-line-clamp-2' ).should( 'contain.text', 'Schedule email notifications, SMS messages, and API actions.' ); cy.contains( 'Plan required:' ).within( () => { - cy.get( 'a' ).should( 'have.attr', 'href', 'https://formidableforms.com/lite-upgrade/?utm_source=WordPress&utm_medium=addons&utm_campaign=liteplugin&utm_content=autoresponder' ).and( 'contain.text', 'Elite' ); + cy.get( 'a' ).should( 'have.attr', 'href', 'https://formidableforms.com/lite-upgrade/?utm_source=plugin&utm_medium=lite&utm_campaign=form-templates&utm_content=autoresponder' ).and( 'contain.text', 'Elite' ); } ); cy.get( 'a[aria-label="Upgrade Now"]' ).should( 'have.attr', 'target', '_blank' ) .and( 'have.attr', 'href' ).and( 'include', 'https://formidableforms.com/lite-upgrade/' ); @@ -381,7 +381,7 @@ describe( 'Add-Ons page', () => { expect( normalizedText ).to.contain( 'See your API requests along with their responses from add-ons including Zapier, Formidable API Webhooks, Salesforce and more.' ); } ); cy.contains( 'Plan required:' ).within( () => { - cy.get( 'a' ).should( 'have.attr', 'href', 'https://formidableforms.com/lite-upgrade/?utm_source=WordPress&utm_medium=addons&utm_campaign=liteplugin&utm_content=logs' ).and( 'contain.text', 'Basic' ); + cy.get( 'a' ).should( 'have.attr', 'href', 'https://formidableforms.com/lite-upgrade/?utm_source=plugin&utm_medium=lite&utm_campaign=form-templates&utm_content=logs' ).and( 'contain.text', 'Basic' ); } ); cy.get( 'a[aria-label="Upgrade Now"]' ).should( 'have.attr', 'target', '_blank' ) .and( 'have.attr', 'href' ).and( 'include', 'https://formidableforms.com/lite-upgrade/' ); @@ -396,7 +396,7 @@ describe( 'Add-Ons page', () => { expect( normalizedText ).to.contain( 'Add more options to date fields in your forms for so only the dates you choose can be chosen.' ); } ); cy.contains( 'Plan required:' ).within( () => { - cy.get( 'a' ).should( 'have.attr', 'href', 'https://formidableforms.com/lite-upgrade/?utm_source=WordPress&utm_medium=addons&utm_campaign=liteplugin&utm_content=datepicker-options' ).and( 'contain.text', 'Business' ); + cy.get( 'a' ).should( 'have.attr', 'href', 'https://formidableforms.com/lite-upgrade/?utm_source=plugin&utm_medium=lite&utm_campaign=form-templates&utm_content=datepicker-options' ).and( 'contain.text', 'Business' ); } ); cy.get( 'a[aria-label="Upgrade Now"]' ).should( 'have.attr', 'target', '_blank' ) .and( 'have.attr', 'href' ).and( 'include', 'https://formidableforms.com/lite-upgrade/' ); @@ -408,7 +408,7 @@ describe( 'Add-Ons page', () => { cy.get( 'svg.frmsvg > use' ).should( 'have.attr', 'xlink:href', '#frm_salesforcealt_icon' ); cy.get( 'p.frm-line-clamp-2' ).should( 'contain.text', 'Add new contacts and leads into your Salesforce CRM directly from the WordPress forms on your site.' ); cy.contains( 'Plan required:' ).within( () => { - cy.get( 'a' ).should( 'have.attr', 'href', 'https://formidableforms.com/lite-upgrade/?utm_source=WordPress&utm_medium=addons&utm_campaign=liteplugin&utm_content=salesforce' ).and( 'contain.text', 'Elite' ); + cy.get( 'a' ).should( 'have.attr', 'href', 'https://formidableforms.com/lite-upgrade/?utm_source=plugin&utm_medium=lite&utm_campaign=form-templates&utm_content=salesforce' ).and( 'contain.text', 'Elite' ); } ); cy.get( 'a[aria-label="Upgrade Now"]' ).should( 'have.attr', 'target', '_blank' ) .and( 'have.attr', 'href' ).and( 'include', 'https://formidableforms.com/lite-upgrade/' ); @@ -423,7 +423,7 @@ describe( 'Add-Ons page', () => { expect( normalizedText ).to.contain( 'Send WordPress newsletters from your own site with MailPoet. And use Formidable to for your newsletter signup forms.' ); } ); cy.contains( 'Plan required:' ).within( () => { - cy.get( 'a' ).should( 'have.attr', 'href', 'https://formidableforms.com/lite-upgrade/?utm_source=WordPress&utm_medium=addons&utm_campaign=liteplugin&utm_content=mailpoet-newsletters' ).and( 'contain.text', 'Plus' ); + cy.get( 'a' ).should( 'have.attr', 'href', 'https://formidableforms.com/lite-upgrade/?utm_source=plugin&utm_medium=lite&utm_campaign=form-templates&utm_content=mailpoet-newsletters' ).and( 'contain.text', 'Plus' ); } ); cy.get( 'a[aria-label="Upgrade Now"]' ).should( 'have.attr', 'target', '_blank' ) .and( 'have.attr', 'href' ).and( 'include', 'https://formidableforms.com/lite-upgrade/' ); @@ -435,7 +435,7 @@ describe( 'Add-Ons page', () => { cy.get( 'svg.frmsvg > use' ).should( 'have.attr', 'xlink:href', '#frm_activecampaign_icon' ); cy.get( 'p.frm-line-clamp-2' ).should( 'contain.text', 'Add contacts to any ActiveCampaign list from your WordPress forms.' ); cy.contains( 'Plan required:' ).within( () => { - cy.get( 'a' ).should( 'have.attr', 'href', 'https://formidableforms.com/lite-upgrade/?utm_source=WordPress&utm_medium=addons&utm_campaign=liteplugin&utm_content=activecampaign-wordpress-plugin' ).and( 'contain.text', 'Elite' ); + cy.get( 'a' ).should( 'have.attr', 'href', 'https://formidableforms.com/lite-upgrade/?utm_source=plugin&utm_medium=lite&utm_campaign=form-templates&utm_content=activecampaign-wordpress-plugin' ).and( 'contain.text', 'Elite' ); } ); cy.get( 'a[aria-label="Upgrade Now"]' ).should( 'have.attr', 'target', '_blank' ) .and( 'have.attr', 'href' ).and( 'include', 'https://formidableforms.com/lite-upgrade/' ); @@ -447,7 +447,7 @@ describe( 'Add-Ons page', () => { cy.get( 'svg.frmsvg > use' ).should( 'have.attr', 'xlink:href', '#frm_getresponse_icon' ); cy.get( 'p.frm-line-clamp-2' ).should( 'contain.text', 'Collect leads in WordPress forms and automatically add them in GetResponse. Then trigger automatic emails and other GetResponse marketing automations.' ); cy.contains( 'Plan required:' ).within( () => { - cy.get( 'a' ).should( 'have.attr', 'href', 'https://formidableforms.com/lite-upgrade/?utm_source=WordPress&utm_medium=addons&utm_campaign=liteplugin&utm_content=getresponse-wordpress-plugin' ).and( 'contain.text', 'Business' ); + cy.get( 'a' ).should( 'have.attr', 'href', 'https://formidableforms.com/lite-upgrade/?utm_source=plugin&utm_medium=lite&utm_campaign=form-templates&utm_content=getresponse-wordpress-plugin' ).and( 'contain.text', 'Business' ); } ); cy.get( 'a[aria-label="Upgrade Now"]' ).should( 'have.attr', 'target', '_blank' ) .and( 'have.attr', 'href' ).and( 'include', 'https://formidableforms.com/lite-upgrade/' ); @@ -459,7 +459,7 @@ describe( 'Add-Ons page', () => { cy.get( 'svg.frmsvg > use' ).should( 'have.attr', 'xlink:href', '#frm_logo_icon' ); cy.get( 'p.frm-line-clamp-2' ).should( 'contain.text', 'Turn your forms into automated quizzes. Add questions and submit the quiz key. Then all the grading is done for you.' ); cy.contains( 'Plan required:' ).within( () => { - cy.get( 'a' ).should( 'have.attr', 'href', 'https://formidableforms.com/lite-upgrade/?utm_source=WordPress&utm_medium=addons&utm_campaign=liteplugin&utm_content=quiz-maker' ).and( 'contain.text', 'Business' ); + cy.get( 'a' ).should( 'have.attr', 'href', 'https://formidableforms.com/lite-upgrade/?utm_source=plugin&utm_medium=lite&utm_campaign=form-templates&utm_content=quiz-maker' ).and( 'contain.text', 'Business' ); } ); cy.get( 'a[aria-label="Upgrade Now"]' ).should( 'have.attr', 'target', '_blank' ) .and( 'have.attr', 'href' ).and( 'include', 'https://formidableforms.com/lite-upgrade/' ); @@ -471,7 +471,7 @@ describe( 'Add-Ons page', () => { cy.get( 'svg.frmsvg > use' ).should( 'have.attr', 'xlink:href', '#frm_constant_contact_icon' ); cy.get( 'p.frm-line-clamp-2' ).should( 'contain.text', 'Setup WordPress forms to create leads automatically in Constant Contact. Just select a list and match up form fields.' ); cy.contains( 'Plan required:' ).within( () => { - cy.get( 'a' ).should( 'have.attr', 'href', 'https://formidableforms.com/lite-upgrade/?utm_source=WordPress&utm_medium=addons&utm_campaign=liteplugin&utm_content=constant-contact' ).and( 'contain.text', 'Business' ); + cy.get( 'a' ).should( 'have.attr', 'href', 'https://formidableforms.com/lite-upgrade/?utm_source=plugin&utm_medium=lite&utm_campaign=form-templates&utm_content=constant-contact' ).and( 'contain.text', 'Business' ); } ); cy.get( 'a[aria-label="Upgrade Now"]' ).should( 'have.attr', 'target', '_blank' ) .and( 'have.attr', 'href' ).and( 'include', 'https://formidableforms.com/lite-upgrade/' ); @@ -483,7 +483,7 @@ describe( 'Add-Ons page', () => { cy.get( 'svg.frmsvg > use' ).should( 'have.attr', 'xlink:href', '#frm_campaignmonitor_icon' ); cy.get( 'p.frm-line-clamp-2' ).should( 'contain.text', 'Save time by automatically sending leads from WordPress forms to Campaign Monitor.' ); cy.contains( 'Plan required:' ).within( () => { - cy.get( 'a' ).should( 'have.attr', 'href', 'https://formidableforms.com/lite-upgrade/?utm_source=WordPress&utm_medium=addons&utm_campaign=liteplugin&utm_content=campaign-monitor' ).and( 'contain.text', 'Business' ); + cy.get( 'a' ).should( 'have.attr', 'href', 'https://formidableforms.com/lite-upgrade/?utm_source=plugin&utm_medium=lite&utm_campaign=form-templates&utm_content=campaign-monitor' ).and( 'contain.text', 'Business' ); } ); cy.get( 'a[aria-label="Upgrade Now"]' ).should( 'have.attr', 'target', '_blank' ) .and( 'have.attr', 'href' ).and( 'include', 'https://formidableforms.com/lite-upgrade/' ); @@ -495,7 +495,7 @@ describe( 'Add-Ons page', () => { cy.get( 'svg.frmsvg > use' ).should( 'have.attr', 'xlink:href', '#frm_logo_icon' ); cy.get( 'p.frm-line-clamp-2' ).should( 'contain.text', 'Easily create custom CSV files and allow users to export their data from the front-end of your site.' ); cy.contains( 'Plan required:' ).within( () => { - cy.get( 'a' ).should( 'have.attr', 'href', 'https://formidableforms.com/lite-upgrade/?utm_source=WordPress&utm_medium=addons&utm_campaign=liteplugin&utm_content=export-view' ).and( 'contain.text', 'Business' ); + cy.get( 'a' ).should( 'have.attr', 'href', 'https://formidableforms.com/lite-upgrade/?utm_source=plugin&utm_medium=lite&utm_campaign=form-templates&utm_content=export-view' ).and( 'contain.text', 'Business' ); } ); cy.get( 'a[aria-label="Upgrade Now"]' ).should( 'have.attr', 'target', '_blank' ) .and( 'have.attr', 'href' ).and( 'include', 'https://formidableforms.com/lite-upgrade/' ); @@ -507,7 +507,7 @@ describe( 'Add-Ons page', () => { cy.get( 'svg.frmsvg > use' ).should( 'have.attr', 'xlink:href', '#frm_logo_icon' ); cy.get( 'p.frm-line-clamp-2' ).should( 'contain.text', 'Create WordPress web apps to display your form submissions in grids, tables, calendars, and more.' ); cy.contains( 'Plan required:' ).within( () => { - cy.get( 'a' ).should( 'have.attr', 'href', 'https://formidableforms.com/lite-upgrade/?utm_source=WordPress&utm_medium=addons&utm_campaign=liteplugin&utm_content=visual-views' ).and( 'contain.text', 'Plus' ); + cy.get( 'a' ).should( 'have.attr', 'href', 'https://formidableforms.com/lite-upgrade/?utm_source=plugin&utm_medium=lite&utm_campaign=form-templates&utm_content=visual-views' ).and( 'contain.text', 'Plus' ); } ); cy.get( 'a[aria-label="Upgrade Now"]' ).should( 'have.attr', 'target', '_blank' ) .and( 'have.attr', 'href' ).and( 'include', 'https://formidableforms.com/lite-upgrade/' ); @@ -519,7 +519,7 @@ describe( 'Add-Ons page', () => { cy.get( 'svg.frmsvg > use' ).should( 'have.attr', 'xlink:href', '#frm_logo_icon' ); cy.get( 'p.frm-line-clamp-2' ).should( 'contain.text', 'Transform your WordPress site into a data collection machine with our user-friendly survey form builder.' ); cy.contains( 'Plan required:' ).within( () => { - cy.get( 'a' ).should( 'have.attr', 'href', 'https://formidableforms.com/lite-upgrade/?utm_source=WordPress&utm_medium=addons&utm_campaign=liteplugin&utm_content=surveys' ).and( 'contain.text', 'Business' ); + cy.get( 'a' ).should( 'have.attr', 'href', 'https://formidableforms.com/lite-upgrade/?utm_source=plugin&utm_medium=lite&utm_campaign=form-templates&utm_content=surveys' ).and( 'contain.text', 'Business' ); } ); cy.get( 'a[aria-label="Upgrade Now"]' ).should( 'have.attr', 'target', '_blank' ) .and( 'have.attr', 'href' ).and( 'include', 'https://formidableforms.com/lite-upgrade/' ); @@ -531,7 +531,7 @@ describe( 'Add-Ons page', () => { cy.get( 'svg.frmsvg > use' ).should( 'have.attr', 'xlink:href', '#frm_logo_icon' ); cy.get( 'p.frm-line-clamp-2' ).should( 'contain.text', 'Create beautiful landing pages fast and rake in new leads.' ); cy.contains( 'Plan required:' ).within( () => { - cy.get( 'a' ).should( 'have.attr', 'href', 'https://formidableforms.com/lite-upgrade/?utm_source=WordPress&utm_medium=addons&utm_campaign=liteplugin&utm_content=landing-pages' ).and( 'contain.text', 'Plus' ); + cy.get( 'a' ).should( 'have.attr', 'href', 'https://formidableforms.com/lite-upgrade/?utm_source=plugin&utm_medium=lite&utm_campaign=form-templates&utm_content=landing-pages' ).and( 'contain.text', 'Plus' ); } ); cy.get( 'a[aria-label="Upgrade Now"]' ).should( 'have.attr', 'target', '_blank' ) .and( 'have.attr', 'href' ).and( 'include', 'https://formidableforms.com/lite-upgrade/' ); @@ -543,7 +543,7 @@ describe( 'Add-Ons page', () => { cy.get( 'svg.frmsvg > use' ).should( 'have.attr', 'xlink:href', '#frm_logo_icon' ); cy.get( 'p.frm-line-clamp-2' ).should( 'contain.text', 'Ask one question at a time to humanize forms and boost their conversion rates.' ); cy.contains( 'Plan required:' ).within( () => { - cy.get( 'a' ).should( 'have.attr', 'href', 'https://formidableforms.com/lite-upgrade/?utm_source=WordPress&utm_medium=addons&utm_campaign=liteplugin&utm_content=conversational-forms' ).and( 'contain.text', 'Business' ); + cy.get( 'a' ).should( 'have.attr', 'href', 'https://formidableforms.com/lite-upgrade/?utm_source=plugin&utm_medium=lite&utm_campaign=form-templates&utm_content=conversational-forms' ).and( 'contain.text', 'Business' ); } ); cy.get( 'a[aria-label="Upgrade Now"]' ).should( 'have.attr', 'target', '_blank' ) .and( 'have.attr', 'href' ).and( 'include', 'https://formidableforms.com/lite-upgrade/' ); @@ -555,7 +555,7 @@ describe( 'Add-Ons page', () => { cy.get( 'svg.frmsvg > use' ).should( 'have.attr', 'xlink:href', '#frm_logo_icon' ); cy.get( 'p.frm-line-clamp-2' ).should( 'contain.text', 'Get more accurate data and make forms faster to complete with address autocomplete.' ); cy.contains( 'Plan required:' ).within( () => { - cy.get( 'a' ).should( 'have.attr', 'href', 'https://formidableforms.com/lite-upgrade/?utm_source=WordPress&utm_medium=addons&utm_campaign=liteplugin&utm_content=geolocation' ).and( 'contain.text', 'Business' ); + cy.get( 'a' ).should( 'have.attr', 'href', 'https://formidableforms.com/lite-upgrade/?utm_source=plugin&utm_medium=lite&utm_campaign=form-templates&utm_content=geolocation' ).and( 'contain.text', 'Business' ); } ); cy.get( 'a[aria-label="Upgrade Now"]' ).should( 'have.attr', 'target', '_blank' ) .and( 'have.attr', 'href' ).and( 'include', 'https://formidableforms.com/lite-upgrade/' ); @@ -567,7 +567,7 @@ describe( 'Add-Ons page', () => { cy.get( 'svg.frmsvg > use' ).should( 'have.attr', 'xlink:href', '#frm_logo_icon' ); cy.get( 'p.frm-line-clamp-2' ).should( 'contain.text', 'Create PDFs from form entries automatically. Email them or let visitors download PDFs from your site.' ); cy.contains( 'Plan required:' ).within( () => { - cy.get( 'a' ).should( 'have.attr', 'href', 'https://formidableforms.com/lite-upgrade/?utm_source=WordPress&utm_medium=addons&utm_campaign=liteplugin&utm_content=pdfs' ).and( 'contain.text', 'Business' ); + cy.get( 'a' ).should( 'have.attr', 'href', 'https://formidableforms.com/lite-upgrade/?utm_source=plugin&utm_medium=lite&utm_campaign=form-templates&utm_content=pdfs' ).and( 'contain.text', 'Business' ); } ); cy.get( 'a[aria-label="Upgrade Now"]' ).should( 'have.attr', 'target', '_blank' ) .and( 'have.attr', 'href' ).and( 'include', 'https://formidableforms.com/lite-upgrade/' ); @@ -579,7 +579,7 @@ describe( 'Add-Ons page', () => { cy.get( 'svg.frmsvg > use' ).should( 'have.attr', 'xlink:href', '#frm_googlesheets_icon' ); cy.get( 'p.frm-line-clamp-2' ).should( 'contain.text', 'Send form entries to a Google spreadsheet as a backup or for extra processing.' ); cy.contains( 'Plan required:' ).within( () => { - cy.get( 'a' ).should( 'have.attr', 'href', 'https://formidableforms.com/lite-upgrade/?utm_source=WordPress&utm_medium=addons&utm_campaign=liteplugin&utm_content=google-sheets' ).and( 'contain.text', 'Business' ); + cy.get( 'a' ).should( 'have.attr', 'href', 'https://formidableforms.com/lite-upgrade/?utm_source=plugin&utm_medium=lite&utm_campaign=form-templates&utm_content=google-sheets' ).and( 'contain.text', 'Business' ); } ); cy.get( 'a[aria-label="Upgrade Now"]' ).should( 'have.attr', 'target', '_blank' ) .and( 'have.attr', 'href' ).and( 'include', 'https://formidableforms.com/lite-upgrade/' ); @@ -591,7 +591,7 @@ describe( 'Add-Ons page', () => { cy.get( 'svg.frmsvg > use' ).should( 'have.attr', 'xlink:href', '#frm_acfforms_icon' ); cy.get( 'p.frm-line-clamp-2' ).should( 'contain.text', 'Sync custom fields between Formidable and Advanced Custom Fields or ACF Pro.' ); cy.contains( 'Plan required:' ).within( () => { - cy.get( 'a' ).should( 'have.attr', 'href', 'https://formidableforms.com/lite-upgrade/?utm_source=WordPress&utm_medium=addons&utm_campaign=liteplugin&utm_content=acf-forms' ).and( 'contain.text', 'Business' ); + cy.get( 'a' ).should( 'have.attr', 'href', 'https://formidableforms.com/lite-upgrade/?utm_source=plugin&utm_medium=lite&utm_campaign=form-templates&utm_content=acf-forms' ).and( 'contain.text', 'Business' ); } ); cy.get( 'a[aria-label="Upgrade Now"]' ).should( 'have.attr', 'target', '_blank' ) .and( 'have.attr', 'href' ).and( 'include', 'https://formidableforms.com/lite-upgrade/' ); @@ -603,7 +603,7 @@ describe( 'Add-Ons page', () => { cy.get( 'svg.frmsvg > use' ).should( 'have.attr', 'xlink:href', '#frm-ai-form-icon' ); cy.get( 'p.frm-line-clamp-2' ).should( 'contain.text', 'Get back your time by autogenerating a response from ChatGPT and inserting it into a field.' ); cy.contains( 'Plan required:' ).within( () => { - cy.get( 'a' ).should( 'have.attr', 'href', 'https://formidableforms.com/lite-upgrade/?utm_source=WordPress&utm_medium=addons&utm_campaign=liteplugin&utm_content=ai' ).and( 'contain.text', 'Business' ); + cy.get( 'a' ).should( 'have.attr', 'href', 'https://formidableforms.com/lite-upgrade/?utm_source=plugin&utm_medium=lite&utm_campaign=form-templates&utm_content=ai' ).and( 'contain.text', 'Business' ); } ); cy.get( 'a[aria-label="Upgrade Now"]' ).should( 'have.attr', 'target', '_blank' ) .and( 'have.attr', 'href' ).and( 'include', 'https://formidableforms.com/lite-upgrade/' ); @@ -618,7 +618,7 @@ describe( 'Add-Ons page', () => { expect( normalizedText ).to.contain( "Capture form data before it's submitted to save more leads and optimize forms. Plus, auto save drafts and allow logged out editing." ); } ); cy.contains( 'Plan required:' ).within( () => { - cy.get( 'a' ).should( 'have.attr', 'href', 'https://formidableforms.com/lite-upgrade/?utm_source=WordPress&utm_medium=addons&utm_campaign=liteplugin&utm_content=abandonment' ).and( 'contain.text', 'Business' ); + cy.get( 'a' ).should( 'have.attr', 'href', 'https://formidableforms.com/lite-upgrade/?utm_source=plugin&utm_medium=lite&utm_campaign=form-templates&utm_content=abandonment' ).and( 'contain.text', 'Business' ); } ); cy.get( 'a[aria-label="Upgrade Now"]' ).should( 'have.attr', 'target', '_blank' ) .and( 'have.attr', 'href' ).and( 'include', 'https://formidableforms.com/lite-upgrade/' ); @@ -630,7 +630,7 @@ describe( 'Add-Ons page', () => { cy.get( 'svg.frmsvg > use' ).should( 'have.attr', 'xlink:href', '#frm_logo_icon' ); cy.get( 'p.frm-line-clamp-2' ).should( 'contain.text', 'Transform form data into insightful graphs with ease.' ); cy.contains( 'Plan required:' ).within( () => { - cy.get( 'a' ).should( 'have.attr', 'href', 'https://formidableforms.com/lite-upgrade/?utm_source=WordPress&utm_medium=addons&utm_campaign=liteplugin&utm_content=charts' ).and( 'contain.text', 'Plus' ); + cy.get( 'a' ).should( 'have.attr', 'href', 'https://formidableforms.com/lite-upgrade/?utm_source=plugin&utm_medium=lite&utm_campaign=form-templates&utm_content=charts' ).and( 'contain.text', 'Plus' ); } ); cy.get( 'a[aria-label="Upgrade Now"]' ).should( 'have.attr', 'target', '_blank' ) .and( 'have.attr', 'href' ).and( 'include', 'https://formidableforms.com/lite-upgrade/' ); @@ -642,7 +642,7 @@ describe( 'Add-Ons page', () => { cy.get( 'svg.frmsvg > use' ).should( 'have.attr', 'xlink:href', '#frm_convertkit_icon' ); cy.get( 'p.frm-line-clamp-2' ).should( 'contain.text', 'Bring automation into your email marketing plan for the power to say "welcome" to your subscribers the moment they opt-in to your list.' ); cy.contains( 'Plan required:' ).within( () => { - cy.get( 'a' ).should( 'have.attr', 'href', 'https://formidableforms.com/lite-upgrade/?utm_source=WordPress&utm_medium=addons&utm_campaign=liteplugin&utm_content=convertkit' ).and( 'contain.text', 'Plus' ); + cy.get( 'a' ).should( 'have.attr', 'href', 'https://formidableforms.com/lite-upgrade/?utm_source=plugin&utm_medium=lite&utm_campaign=form-templates&utm_content=convertkit' ).and( 'contain.text', 'Plus' ); } ); cy.get( 'a[aria-label="Upgrade Now"]' ).should( 'have.attr', 'target', '_blank' ) .and( 'have.attr', 'href' ).and( 'include', 'https://formidableforms.com/lite-upgrade/' ); diff --git a/tests/cypress/e2e/Applications/validateApplicationsPage.cy.js b/tests/cypress/e2e/Applications/validateApplicationsPage.cy.js index e81e2b119c..d821131e5e 100644 --- a/tests/cypress/e2e/Applications/validateApplicationsPage.cy.js +++ b/tests/cypress/e2e/Applications/validateApplicationsPage.cy.js @@ -67,7 +67,7 @@ describe( 'Applications page', () => { cy.get( '.frm_modal_footer a.button-secondary' ) .should( 'contain.text', 'Learn More' ) .and( 'have.attr', 'href' ) - .and( 'include', 'https://formidableforms.com/view-templates/business-directory-template?utm_source=WordPress&utm_medium=applications&utm_campaign=liteplugin&utm_content=upgrade' ); + .and( 'include', 'https://formidableforms.com/view-templates/business-directory-template?utm_source=plugin&utm_medium=lite&utm_campaign=applications&utm_content=upgrade' ); cy.get( '.frm_modal_footer a.button-primary' ) .should( 'contain.text', 'Upgrade Now' ) .invoke( 'removeAttr', 'target' ) @@ -195,7 +195,7 @@ describe( 'Applications page', () => { cy.get( '.frm_modal_footer a.button-secondary' ) .should( 'contain.text', 'Learn More' ) .and( 'have.attr', 'href' ) - .and( 'include', 'https://formidableforms.com/view-templates/letter-of-recommendation-template?utm_source=WordPress&utm_medium=applications&utm_campaign=liteplugin&utm_content=upgrade' ); + .and( 'include', 'https://formidableforms.com/view-templates/letter-of-recommendation-template?utm_source=plugin&utm_medium=lite&utm_campaign=applications&utm_content=upgrade' ); cy.get( '.frm_modal_footer a.button-primary' ) .should( 'contain.text', 'Upgrade Now' ) .invoke( 'removeAttr', 'target' ) @@ -311,7 +311,7 @@ describe( 'Applications page', () => { cy.get( '.frm_modal_footer a.button-secondary' ) .should( 'contain.text', 'Learn More' ) .and( 'have.attr', 'href' ) - .and( 'include', 'https://formidableforms.com/view-templates/testimonials-template?utm_source=WordPress&utm_medium=applications&utm_campaign=liteplugin&utm_content=upgrade' ); + .and( 'include', 'https://formidableforms.com/view-templates/testimonials-template?utm_source=plugin&utm_medium=lite&utm_campaign=applications&utm_content=upgrade' ); cy.get( '.frm_modal_footer a.button-primary' ) .should( 'contain.text', 'Upgrade Now' ) .invoke( 'removeAttr', 'target' ) From 3c53e7ec43c0467246ea54c0259c8b97f57faeea Mon Sep 17 00:00:00 2001 From: Mike Letellier Date: Mon, 27 Oct 2025 13:47:01 -0300 Subject: [PATCH 19/19] Fix wrong campaign used in e2e test --- .../e2e/Add-Ons/validateAddOnsPage.cy.js | 82 +++++++++---------- 1 file changed, 41 insertions(+), 41 deletions(-) diff --git a/tests/cypress/e2e/Add-Ons/validateAddOnsPage.cy.js b/tests/cypress/e2e/Add-Ons/validateAddOnsPage.cy.js index d42d26f977..4a4d8ebf54 100644 --- a/tests/cypress/e2e/Add-Ons/validateAddOnsPage.cy.js +++ b/tests/cypress/e2e/Add-Ons/validateAddOnsPage.cy.js @@ -13,7 +13,7 @@ describe( 'Add-Ons page', () => { cy.get( 'h4' ).should( 'contain.text', 'Unlock Add-on library' ); cy.get( 'p.frm-m-0' ).should( 'contain.text', 'Upgrade to Pro and access our library of add-ons to supercharge your forms.' ); cy.get( 'a.frm-cta-link' ) - .should( 'have.attr', 'href', 'https://formidableforms.com/lite-upgrade/?utm_source=plugin&utm_medium=lite&utm_campaign=form-templates&utm_content=upgrade-cta' ) + .should( 'have.attr', 'href', 'https://formidableforms.com/lite-upgrade/?utm_source=plugin&utm_medium=lite&utm_campaign=addons&utm_content=upgrade-cta' ) .and( 'contain.text', 'Upgrade to PRO' ); } ); cy.get( '#addon-search-input' ).should( 'exist' ); @@ -154,7 +154,7 @@ describe( 'Add-Ons page', () => { cy.get( '.frm-font-medium.frm-truncate' ).should( 'contain.text', 'Formidable Forms Pro' ); cy.get( 'svg.frmsvg > use' ).should( 'have.attr', 'xlink:href', '#frm_logo_icon' ); cy.get( 'p.frm-line-clamp-2' ).should( 'contain.text', 'Create calculators, surveys, smart forms, and data-driven applications. Build directories, real estate listings, job boards, and much more.' ); - cy.get( 'a[aria-label="View Docs"]' ).should( 'have.attr', 'href', 'https://formidableforms.com/knowledgebase/?utm_source=plugin&utm_medium=lite&utm_campaign=form-templates' ) + cy.get( 'a[aria-label="View Docs"]' ).should( 'have.attr', 'href', 'https://formidableforms.com/knowledgebase/?utm_source=plugin&utm_medium=lite&utm_campaign=addons' ) .and( 'have.attr', 'target', '_blank' ) .invoke( 'removeAttr', 'target' ).click(); } ); @@ -172,7 +172,7 @@ describe( 'Add-Ons page', () => { cy.get( 'p.frm-line-clamp-2' ).should( 'contain.text', 'Add an electronic signature to your WordPress form. The visitor may write their signature with a trackpad/mouse or type it.' ); cy.contains( 'Plan required:' ).within( () => { - cy.get( 'a' ).should( 'have.attr', 'href', 'https://formidableforms.com/lite-upgrade/?utm_source=plugin&utm_medium=lite&utm_campaign=form-templates&utm_content=signature' ) + cy.get( 'a' ).should( 'have.attr', 'href', 'https://formidableforms.com/lite-upgrade/?utm_source=plugin&utm_medium=lite&utm_campaign=addons&utm_content=signature' ) .and( 'contain.text', 'Business' ); } ); cy.get( 'a[aria-label="Upgrade Now"]' ).should( 'have.attr', 'target', '_blank' ) @@ -186,7 +186,7 @@ describe( 'Add-Ons page', () => { cy.get( 'svg.frmsvg > use' ).should( 'have.attr', 'xlink:href', '#frm_paypal_icon' ); cy.get( 'p.frm-line-clamp-2' ).should( 'contain.text', 'Collect instant payments and recurring payments to automate your online business. Calculate a total and send customers on to PayPal.' ); cy.contains( 'Plan required:' ).within( () => { - cy.get( 'a' ).should( 'have.attr', 'href', 'https://formidableforms.com/lite-upgrade/?utm_source=plugin&utm_medium=lite&utm_campaign=form-templates&utm_content=paypal-standard' ).and( 'contain.text', 'Business' ); + cy.get( 'a' ).should( 'have.attr', 'href', 'https://formidableforms.com/lite-upgrade/?utm_source=plugin&utm_medium=lite&utm_campaign=addons&utm_content=paypal-standard' ).and( 'contain.text', 'Business' ); } ); cy.get( 'a[aria-label="Upgrade Now"]' ).should( 'have.attr', 'target', '_blank' ) .and( 'have.attr', 'href' ).and( 'include', 'https://formidableforms.com/lite-upgrade/' ); @@ -198,7 +198,7 @@ describe( 'Add-Ons page', () => { cy.get( 'svg.frmsvg > use' ).should( 'have.attr', 'xlink:href', '#frm_logo_icon' ); cy.get( 'p.frm-line-clamp-2' ).should( 'contain.text', 'Add a full forms API for forms, form fields, views, and entries. Then send submissions to other sites with REST APIs.' ); cy.contains( 'Plan required:' ).within( () => { - cy.get( 'a' ).should( 'have.attr', 'href', 'https://formidableforms.com/lite-upgrade/?utm_source=plugin&utm_medium=lite&utm_campaign=form-templates&utm_content=formidable-api' ).and( 'contain.text', 'Business' ); + cy.get( 'a' ).should( 'have.attr', 'href', 'https://formidableforms.com/lite-upgrade/?utm_source=plugin&utm_medium=lite&utm_campaign=addons&utm_content=formidable-api' ).and( 'contain.text', 'Business' ); } ); cy.get( 'a[aria-label="Upgrade Now"]' ).should( 'have.attr', 'target', '_blank' ) .and( 'have.attr', 'href' ).and( 'include', 'https://formidableforms.com/lite-upgrade/' ); @@ -210,7 +210,7 @@ describe( 'Add-Ons page', () => { cy.get( 'svg.frmsvg > use' ).should( 'have.attr', 'xlink:href', '#frm_twilio_icon' ); cy.get( 'p.frm-line-clamp-2' ).should( 'contain.text', 'Allow users to text their votes for polls created by Formidable Forms, or send SMS notifications when entries are submitted or updated.' ); cy.contains( 'Plan required:' ).within( () => { - cy.get( 'a' ).should( 'have.attr', 'href', 'https://formidableforms.com/lite-upgrade/?utm_source=plugin&utm_medium=lite&utm_campaign=form-templates&utm_content=twilio' ).and( 'contain.text', 'Business' ); + cy.get( 'a' ).should( 'have.attr', 'href', 'https://formidableforms.com/lite-upgrade/?utm_source=plugin&utm_medium=lite&utm_campaign=addons&utm_content=twilio' ).and( 'contain.text', 'Business' ); } ); cy.get( 'a[aria-label="Upgrade Now"]' ).should( 'have.attr', 'target', '_blank' ) .and( 'have.attr', 'href' ).and( 'include', 'https://formidableforms.com/lite-upgrade/' ); @@ -222,7 +222,7 @@ describe( 'Add-Ons page', () => { cy.get( 'svg.frmsvg > use' ).should( 'have.attr', 'xlink:href', '#frm_bootstrap_icon' ); cy.get( 'p.frm-line-clamp-2' ).should( 'contain.text', 'Instantly add Bootstrap styling to all your Formidable forms.' ); cy.contains( 'Plan required:' ).within( () => { - cy.get( 'a' ).should( 'have.attr', 'href', 'https://formidableforms.com/lite-upgrade/?utm_source=plugin&utm_medium=lite&utm_campaign=form-templates&utm_content=bootstrap' ).and( 'contain.text', 'Plus' ); + cy.get( 'a' ).should( 'have.attr', 'href', 'https://formidableforms.com/lite-upgrade/?utm_source=plugin&utm_medium=lite&utm_campaign=addons&utm_content=bootstrap' ).and( 'contain.text', 'Plus' ); } ); cy.get( 'a[aria-label="Upgrade Now"]' ).should( 'have.attr', 'target', '_blank' ) .and( 'have.attr', 'href' ).and( 'include', 'https://formidableforms.com/lite-upgrade/' ); @@ -234,7 +234,7 @@ describe( 'Add-Ons page', () => { cy.get( 'svg.frmsvg > use' ).should( 'have.attr', 'xlink:href', '#frm_aweber_icon' ); cy.get( 'p.frm-line-clamp-2' ).should( 'contain.text', 'AWeber is a powerful email marketing service. Subscribe contacts to an AWeber mailing list when they submit your WordPress contact forms.' ); cy.contains( 'Plan required:' ).within( () => { - cy.get( 'a' ).should( 'have.attr', 'href', 'https://formidableforms.com/lite-upgrade/?utm_source=plugin&utm_medium=lite&utm_campaign=form-templates&utm_content=aweber' ).and( 'contain.text', 'Plus' ); + cy.get( 'a' ).should( 'have.attr', 'href', 'https://formidableforms.com/lite-upgrade/?utm_source=plugin&utm_medium=lite&utm_campaign=addons&utm_content=aweber' ).and( 'contain.text', 'Plus' ); } ); cy.get( 'a[aria-label="Upgrade Now"]' ).should( 'have.attr', 'target', '_blank' ) .and( 'have.attr', 'href' ).and( 'include', 'https://formidableforms.com/lite-upgrade/' ); @@ -246,7 +246,7 @@ describe( 'Add-Ons page', () => { cy.get( 'svg.frmsvg > use' ).should( 'have.attr', 'xlink:href', '#frm_logo_icon' ); cy.get( 'p.frm-line-clamp-2' ).should( 'contain.text', 'Translate your forms into multiple languages using the Formidable-integrated WPML plugin.' ); cy.contains( 'Plan required:' ).within( () => { - cy.get( 'a' ).should( 'have.attr', 'href', 'https://formidableforms.com/lite-upgrade/?utm_source=plugin&utm_medium=lite&utm_campaign=form-templates&utm_content=wp-multilingual' ).and( 'contain.text', 'Business' ); + cy.get( 'a' ).should( 'have.attr', 'href', 'https://formidableforms.com/lite-upgrade/?utm_source=plugin&utm_medium=lite&utm_campaign=addons&utm_content=wp-multilingual' ).and( 'contain.text', 'Business' ); } ); cy.get( 'a[aria-label="Upgrade Now"]' ).should( 'have.attr', 'target', '_blank' ) .and( 'have.attr', 'href' ).and( 'include', 'https://formidableforms.com/lite-upgrade/' ); @@ -258,7 +258,7 @@ describe( 'Add-Ons page', () => { cy.get( 'svg.frmsvg > use' ).should( 'have.attr', 'xlink:href', '#frm_logo_icon' ); cy.get( 'p.frm-line-clamp-2' ).should( 'contain.text', 'Populate fields with Countries, States/Provinces, U.S. Counties, and U.S. Cities. This data can then be used in dependent Data from Entries fields.' ); cy.contains( 'Plan required:' ).within( () => { - cy.get( 'a' ).should( 'have.attr', 'href', 'https://formidableforms.com/lite-upgrade/?utm_source=plugin&utm_medium=lite&utm_campaign=form-templates&utm_content=locations' ).and( 'contain.text', 'Plus' ); + cy.get( 'a' ).should( 'have.attr', 'href', 'https://formidableforms.com/lite-upgrade/?utm_source=plugin&utm_medium=lite&utm_campaign=addons&utm_content=locations' ).and( 'contain.text', 'Plus' ); } ); cy.get( 'a[aria-label="Upgrade Now"]' ).should( 'have.attr', 'target', '_blank' ) .and( 'have.attr', 'href' ).and( 'include', 'https://formidableforms.com/lite-upgrade/' ); @@ -270,7 +270,7 @@ describe( 'Add-Ons page', () => { cy.get( 'svg.frmsvg > use' ).should( 'have.attr', 'xlink:href', '#frm_zapier_icon' ); cy.get( 'p.frm-line-clamp-2' ).should( 'contain.text', 'Connect with hundreds of applications through Zapier. Automatically insert a Google spreadsheet row, tweet, or upload to Dropbox.' ); cy.contains( 'Plan required:' ).within( () => { - cy.get( 'a' ).should( 'have.attr', 'href', 'https://formidableforms.com/lite-upgrade/?utm_source=plugin&utm_medium=lite&utm_campaign=form-templates&utm_content=zapier' ).and( 'contain.text', 'Business' ); + cy.get( 'a' ).should( 'have.attr', 'href', 'https://formidableforms.com/lite-upgrade/?utm_source=plugin&utm_medium=lite&utm_campaign=addons&utm_content=zapier' ).and( 'contain.text', 'Business' ); } ); cy.get( 'a[aria-label="Upgrade Now"]' ).should( 'have.attr', 'target', '_blank' ) .and( 'have.attr', 'href' ).and( 'include', 'https://formidableforms.com/lite-upgrade/' ); @@ -282,7 +282,7 @@ describe( 'Add-Ons page', () => { cy.get( 'svg.frmsvg > use' ).should( 'have.attr', 'xlink:href', '#frm_logo_icon' ); cy.get( 'p.frm-line-clamp-2' ).should( 'contain.text', 'Track the pages a user visits and the time spent on each page prior to submitting a form.' ); cy.contains( 'Plan required:' ).within( () => { - cy.get( 'a' ).should( 'have.attr', 'href', 'https://formidableforms.com/lite-upgrade/?utm_source=plugin&utm_medium=lite&utm_campaign=form-templates&utm_content=user-tracking' ).and( 'contain.text', 'Plus' ); + cy.get( 'a' ).should( 'have.attr', 'href', 'https://formidableforms.com/lite-upgrade/?utm_source=plugin&utm_medium=lite&utm_campaign=addons&utm_content=user-tracking' ).and( 'contain.text', 'Plus' ); } ); cy.get( 'a[aria-label="Upgrade Now"]' ).should( 'have.attr', 'target', '_blank' ) .and( 'have.attr', 'href' ).and( 'include', 'https://formidableforms.com/lite-upgrade/' ); @@ -294,7 +294,7 @@ describe( 'Add-Ons page', () => { cy.get( 'svg.frmsvg > use' ).should( 'have.attr', 'xlink:href', '#frm_mailchimp_icon' ); cy.get( 'p.frm-line-clamp-2' ).should( 'contain.text', 'Get on the path to more leads in minutes. Add and update leads in a Mailchimp mailing list when a form is submitted.' ); cy.contains( 'Plan required:' ).within( () => { - cy.get( 'a' ).should( 'have.attr', 'href', 'https://formidableforms.com/lite-upgrade/?utm_source=plugin&utm_medium=lite&utm_campaign=form-templates&utm_content=mailchimp' ).and( 'contain.text', 'Plus' ); + cy.get( 'a' ).should( 'have.attr', 'href', 'https://formidableforms.com/lite-upgrade/?utm_source=plugin&utm_medium=lite&utm_campaign=addons&utm_content=mailchimp' ).and( 'contain.text', 'Plus' ); } ); cy.get( 'a[aria-label="Upgrade Now"]' ).should( 'have.attr', 'target', '_blank' ) .and( 'have.attr', 'href' ).and( 'include', 'https://formidableforms.com/lite-upgrade/' ); @@ -306,7 +306,7 @@ describe( 'Add-Ons page', () => { cy.get( 'svg.frmsvg > use' ).should( 'have.attr', 'xlink:href', '#frm_logo_icon' ); cy.get( 'p.frm-line-clamp-2' ).should( 'contain.text', 'Give new users access to your site quickly and painlessly. Plus edit profiles and login from the front end.' ); cy.contains( 'Plan required:' ).within( () => { - cy.get( 'a' ).should( 'have.attr', 'href', 'https://formidableforms.com/lite-upgrade/?utm_source=plugin&utm_medium=lite&utm_campaign=form-templates&utm_content=user-registration' ).and( 'contain.text', 'Business' ); + cy.get( 'a' ).should( 'have.attr', 'href', 'https://formidableforms.com/lite-upgrade/?utm_source=plugin&utm_medium=lite&utm_campaign=addons&utm_content=user-registration' ).and( 'contain.text', 'Business' ); } ); cy.get( 'a[aria-label="Upgrade Now"]' ).should( 'have.attr', 'target', '_blank' ) .and( 'have.attr', 'href' ).and( 'include', 'https://formidableforms.com/lite-upgrade/' ); @@ -318,7 +318,7 @@ describe( 'Add-Ons page', () => { cy.get( 'svg.frmsvg > use' ).should( 'have.attr', 'xlink:href', '#frm_woocommerce_icon' ); cy.get( 'p.frm-line-clamp-2' ).should( 'contain.text', 'Are your WooCommerce product forms too basic? Add custom fields to a product form and collect more data when it is added to the cart.' ); cy.contains( 'Plan required:' ).within( () => { - cy.get( 'a' ).should( 'have.attr', 'href', 'https://formidableforms.com/lite-upgrade/?utm_source=plugin&utm_medium=lite&utm_campaign=form-templates&utm_content=woocommerce' ).and( 'contain.text', 'Elite' ); + cy.get( 'a' ).should( 'have.attr', 'href', 'https://formidableforms.com/lite-upgrade/?utm_source=plugin&utm_medium=lite&utm_campaign=addons&utm_content=woocommerce' ).and( 'contain.text', 'Elite' ); } ); cy.get( 'a[aria-label="Upgrade Now"]' ).should( 'have.attr', 'target', '_blank' ) .and( 'have.attr', 'href' ).and( 'include', 'https://formidableforms.com/lite-upgrade/' ); @@ -330,7 +330,7 @@ describe( 'Add-Ons page', () => { cy.get( 'svg.frmsvg > use' ).should( 'have.attr', 'xlink:href', '#frm_highrise_icon' ); cy.get( 'p.frm-line-clamp-2' ).should( 'contain.text', 'Capture leads in your WordPress contact forms, and save them in your Highrise CRM account too.' ); cy.contains( 'Plan required:' ).within( () => { - cy.get( 'a' ).should( 'have.attr', 'href', 'https://formidableforms.com/lite-upgrade/?utm_source=plugin&utm_medium=lite&utm_campaign=form-templates&utm_content=highrise' ).and( 'contain.text', 'Plus' ); + cy.get( 'a' ).should( 'have.attr', 'href', 'https://formidableforms.com/lite-upgrade/?utm_source=plugin&utm_medium=lite&utm_campaign=addons&utm_content=highrise' ).and( 'contain.text', 'Plus' ); } ); cy.get( 'a[aria-label="Upgrade Now"]' ).should( 'have.attr', 'target', '_blank' ) .and( 'have.attr', 'href' ).and( 'include', 'https://formidableforms.com/lite-upgrade/' ); @@ -342,7 +342,7 @@ describe( 'Add-Ons page', () => { cy.get( 'svg.frmsvg > use' ).should( 'have.attr', 'xlink:href', '#frm_bootstrap_icon' ); cy.get( 'p.frm-line-clamp-2' ).should( 'contain.text', 'Open forms, views, other shortcodes, or sections of content in a Bootstrap popup.' ); cy.contains( 'Plan required:' ).within( () => { - cy.get( 'a' ).should( 'have.attr', 'href', 'https://formidableforms.com/lite-upgrade/?utm_source=plugin&utm_medium=lite&utm_campaign=form-templates&utm_content=bootstrap-modal' ).and( 'contain.text', 'Plus' ); + cy.get( 'a' ).should( 'have.attr', 'href', 'https://formidableforms.com/lite-upgrade/?utm_source=plugin&utm_medium=lite&utm_campaign=addons&utm_content=bootstrap-modal' ).and( 'contain.text', 'Plus' ); } ); cy.get( 'a[aria-label="Upgrade Now"]' ).should( 'have.attr', 'target', '_blank' ) .and( 'have.attr', 'href' ).and( 'include', 'https://formidableforms.com/lite-upgrade/' ); @@ -354,7 +354,7 @@ describe( 'Add-Ons page', () => { cy.get( 'svg.frmsvg > use' ).should( 'have.attr', 'xlink:href', '#frm_polylang_icon' ); cy.get( 'p.frm-line-clamp-2' ).should( 'contain.text', 'Create bilingual or multilingual forms with help from Polylang.' ); cy.contains( 'Plan required:' ).within( () => { - cy.get( 'a' ).should( 'have.attr', 'href', 'https://formidableforms.com/lite-upgrade/?utm_source=plugin&utm_medium=lite&utm_campaign=form-templates&utm_content=polylang' ).and( 'contain.text', 'Business' ); + cy.get( 'a' ).should( 'have.attr', 'href', 'https://formidableforms.com/lite-upgrade/?utm_source=plugin&utm_medium=lite&utm_campaign=addons&utm_content=polylang' ).and( 'contain.text', 'Business' ); } ); cy.get( 'a[aria-label="Upgrade Now"]' ).should( 'have.attr', 'target', '_blank' ) .and( 'have.attr', 'href' ).and( 'include', 'https://formidableforms.com/lite-upgrade/' ); @@ -366,7 +366,7 @@ describe( 'Add-Ons page', () => { cy.get( 'svg.frmsvg > use' ).should( 'have.attr', 'xlink:href', '#frm_logo_icon' ); cy.get( 'p.frm-line-clamp-2' ).should( 'contain.text', 'Schedule email notifications, SMS messages, and API actions.' ); cy.contains( 'Plan required:' ).within( () => { - cy.get( 'a' ).should( 'have.attr', 'href', 'https://formidableforms.com/lite-upgrade/?utm_source=plugin&utm_medium=lite&utm_campaign=form-templates&utm_content=autoresponder' ).and( 'contain.text', 'Elite' ); + cy.get( 'a' ).should( 'have.attr', 'href', 'https://formidableforms.com/lite-upgrade/?utm_source=plugin&utm_medium=lite&utm_campaign=addons&utm_content=autoresponder' ).and( 'contain.text', 'Elite' ); } ); cy.get( 'a[aria-label="Upgrade Now"]' ).should( 'have.attr', 'target', '_blank' ) .and( 'have.attr', 'href' ).and( 'include', 'https://formidableforms.com/lite-upgrade/' ); @@ -381,7 +381,7 @@ describe( 'Add-Ons page', () => { expect( normalizedText ).to.contain( 'See your API requests along with their responses from add-ons including Zapier, Formidable API Webhooks, Salesforce and more.' ); } ); cy.contains( 'Plan required:' ).within( () => { - cy.get( 'a' ).should( 'have.attr', 'href', 'https://formidableforms.com/lite-upgrade/?utm_source=plugin&utm_medium=lite&utm_campaign=form-templates&utm_content=logs' ).and( 'contain.text', 'Basic' ); + cy.get( 'a' ).should( 'have.attr', 'href', 'https://formidableforms.com/lite-upgrade/?utm_source=plugin&utm_medium=lite&utm_campaign=addons&utm_content=logs' ).and( 'contain.text', 'Basic' ); } ); cy.get( 'a[aria-label="Upgrade Now"]' ).should( 'have.attr', 'target', '_blank' ) .and( 'have.attr', 'href' ).and( 'include', 'https://formidableforms.com/lite-upgrade/' ); @@ -396,7 +396,7 @@ describe( 'Add-Ons page', () => { expect( normalizedText ).to.contain( 'Add more options to date fields in your forms for so only the dates you choose can be chosen.' ); } ); cy.contains( 'Plan required:' ).within( () => { - cy.get( 'a' ).should( 'have.attr', 'href', 'https://formidableforms.com/lite-upgrade/?utm_source=plugin&utm_medium=lite&utm_campaign=form-templates&utm_content=datepicker-options' ).and( 'contain.text', 'Business' ); + cy.get( 'a' ).should( 'have.attr', 'href', 'https://formidableforms.com/lite-upgrade/?utm_source=plugin&utm_medium=lite&utm_campaign=addons&utm_content=datepicker-options' ).and( 'contain.text', 'Business' ); } ); cy.get( 'a[aria-label="Upgrade Now"]' ).should( 'have.attr', 'target', '_blank' ) .and( 'have.attr', 'href' ).and( 'include', 'https://formidableforms.com/lite-upgrade/' ); @@ -408,7 +408,7 @@ describe( 'Add-Ons page', () => { cy.get( 'svg.frmsvg > use' ).should( 'have.attr', 'xlink:href', '#frm_salesforcealt_icon' ); cy.get( 'p.frm-line-clamp-2' ).should( 'contain.text', 'Add new contacts and leads into your Salesforce CRM directly from the WordPress forms on your site.' ); cy.contains( 'Plan required:' ).within( () => { - cy.get( 'a' ).should( 'have.attr', 'href', 'https://formidableforms.com/lite-upgrade/?utm_source=plugin&utm_medium=lite&utm_campaign=form-templates&utm_content=salesforce' ).and( 'contain.text', 'Elite' ); + cy.get( 'a' ).should( 'have.attr', 'href', 'https://formidableforms.com/lite-upgrade/?utm_source=plugin&utm_medium=lite&utm_campaign=addons&utm_content=salesforce' ).and( 'contain.text', 'Elite' ); } ); cy.get( 'a[aria-label="Upgrade Now"]' ).should( 'have.attr', 'target', '_blank' ) .and( 'have.attr', 'href' ).and( 'include', 'https://formidableforms.com/lite-upgrade/' ); @@ -423,7 +423,7 @@ describe( 'Add-Ons page', () => { expect( normalizedText ).to.contain( 'Send WordPress newsletters from your own site with MailPoet. And use Formidable to for your newsletter signup forms.' ); } ); cy.contains( 'Plan required:' ).within( () => { - cy.get( 'a' ).should( 'have.attr', 'href', 'https://formidableforms.com/lite-upgrade/?utm_source=plugin&utm_medium=lite&utm_campaign=form-templates&utm_content=mailpoet-newsletters' ).and( 'contain.text', 'Plus' ); + cy.get( 'a' ).should( 'have.attr', 'href', 'https://formidableforms.com/lite-upgrade/?utm_source=plugin&utm_medium=lite&utm_campaign=addons&utm_content=mailpoet-newsletters' ).and( 'contain.text', 'Plus' ); } ); cy.get( 'a[aria-label="Upgrade Now"]' ).should( 'have.attr', 'target', '_blank' ) .and( 'have.attr', 'href' ).and( 'include', 'https://formidableforms.com/lite-upgrade/' ); @@ -435,7 +435,7 @@ describe( 'Add-Ons page', () => { cy.get( 'svg.frmsvg > use' ).should( 'have.attr', 'xlink:href', '#frm_activecampaign_icon' ); cy.get( 'p.frm-line-clamp-2' ).should( 'contain.text', 'Add contacts to any ActiveCampaign list from your WordPress forms.' ); cy.contains( 'Plan required:' ).within( () => { - cy.get( 'a' ).should( 'have.attr', 'href', 'https://formidableforms.com/lite-upgrade/?utm_source=plugin&utm_medium=lite&utm_campaign=form-templates&utm_content=activecampaign-wordpress-plugin' ).and( 'contain.text', 'Elite' ); + cy.get( 'a' ).should( 'have.attr', 'href', 'https://formidableforms.com/lite-upgrade/?utm_source=plugin&utm_medium=lite&utm_campaign=addons&utm_content=activecampaign-wordpress-plugin' ).and( 'contain.text', 'Elite' ); } ); cy.get( 'a[aria-label="Upgrade Now"]' ).should( 'have.attr', 'target', '_blank' ) .and( 'have.attr', 'href' ).and( 'include', 'https://formidableforms.com/lite-upgrade/' ); @@ -447,7 +447,7 @@ describe( 'Add-Ons page', () => { cy.get( 'svg.frmsvg > use' ).should( 'have.attr', 'xlink:href', '#frm_getresponse_icon' ); cy.get( 'p.frm-line-clamp-2' ).should( 'contain.text', 'Collect leads in WordPress forms and automatically add them in GetResponse. Then trigger automatic emails and other GetResponse marketing automations.' ); cy.contains( 'Plan required:' ).within( () => { - cy.get( 'a' ).should( 'have.attr', 'href', 'https://formidableforms.com/lite-upgrade/?utm_source=plugin&utm_medium=lite&utm_campaign=form-templates&utm_content=getresponse-wordpress-plugin' ).and( 'contain.text', 'Business' ); + cy.get( 'a' ).should( 'have.attr', 'href', 'https://formidableforms.com/lite-upgrade/?utm_source=plugin&utm_medium=lite&utm_campaign=addons&utm_content=getresponse-wordpress-plugin' ).and( 'contain.text', 'Business' ); } ); cy.get( 'a[aria-label="Upgrade Now"]' ).should( 'have.attr', 'target', '_blank' ) .and( 'have.attr', 'href' ).and( 'include', 'https://formidableforms.com/lite-upgrade/' ); @@ -459,7 +459,7 @@ describe( 'Add-Ons page', () => { cy.get( 'svg.frmsvg > use' ).should( 'have.attr', 'xlink:href', '#frm_logo_icon' ); cy.get( 'p.frm-line-clamp-2' ).should( 'contain.text', 'Turn your forms into automated quizzes. Add questions and submit the quiz key. Then all the grading is done for you.' ); cy.contains( 'Plan required:' ).within( () => { - cy.get( 'a' ).should( 'have.attr', 'href', 'https://formidableforms.com/lite-upgrade/?utm_source=plugin&utm_medium=lite&utm_campaign=form-templates&utm_content=quiz-maker' ).and( 'contain.text', 'Business' ); + cy.get( 'a' ).should( 'have.attr', 'href', 'https://formidableforms.com/lite-upgrade/?utm_source=plugin&utm_medium=lite&utm_campaign=addons&utm_content=quiz-maker' ).and( 'contain.text', 'Business' ); } ); cy.get( 'a[aria-label="Upgrade Now"]' ).should( 'have.attr', 'target', '_blank' ) .and( 'have.attr', 'href' ).and( 'include', 'https://formidableforms.com/lite-upgrade/' ); @@ -471,7 +471,7 @@ describe( 'Add-Ons page', () => { cy.get( 'svg.frmsvg > use' ).should( 'have.attr', 'xlink:href', '#frm_constant_contact_icon' ); cy.get( 'p.frm-line-clamp-2' ).should( 'contain.text', 'Setup WordPress forms to create leads automatically in Constant Contact. Just select a list and match up form fields.' ); cy.contains( 'Plan required:' ).within( () => { - cy.get( 'a' ).should( 'have.attr', 'href', 'https://formidableforms.com/lite-upgrade/?utm_source=plugin&utm_medium=lite&utm_campaign=form-templates&utm_content=constant-contact' ).and( 'contain.text', 'Business' ); + cy.get( 'a' ).should( 'have.attr', 'href', 'https://formidableforms.com/lite-upgrade/?utm_source=plugin&utm_medium=lite&utm_campaign=addons&utm_content=constant-contact' ).and( 'contain.text', 'Business' ); } ); cy.get( 'a[aria-label="Upgrade Now"]' ).should( 'have.attr', 'target', '_blank' ) .and( 'have.attr', 'href' ).and( 'include', 'https://formidableforms.com/lite-upgrade/' ); @@ -483,7 +483,7 @@ describe( 'Add-Ons page', () => { cy.get( 'svg.frmsvg > use' ).should( 'have.attr', 'xlink:href', '#frm_campaignmonitor_icon' ); cy.get( 'p.frm-line-clamp-2' ).should( 'contain.text', 'Save time by automatically sending leads from WordPress forms to Campaign Monitor.' ); cy.contains( 'Plan required:' ).within( () => { - cy.get( 'a' ).should( 'have.attr', 'href', 'https://formidableforms.com/lite-upgrade/?utm_source=plugin&utm_medium=lite&utm_campaign=form-templates&utm_content=campaign-monitor' ).and( 'contain.text', 'Business' ); + cy.get( 'a' ).should( 'have.attr', 'href', 'https://formidableforms.com/lite-upgrade/?utm_source=plugin&utm_medium=lite&utm_campaign=addons&utm_content=campaign-monitor' ).and( 'contain.text', 'Business' ); } ); cy.get( 'a[aria-label="Upgrade Now"]' ).should( 'have.attr', 'target', '_blank' ) .and( 'have.attr', 'href' ).and( 'include', 'https://formidableforms.com/lite-upgrade/' ); @@ -495,7 +495,7 @@ describe( 'Add-Ons page', () => { cy.get( 'svg.frmsvg > use' ).should( 'have.attr', 'xlink:href', '#frm_logo_icon' ); cy.get( 'p.frm-line-clamp-2' ).should( 'contain.text', 'Easily create custom CSV files and allow users to export their data from the front-end of your site.' ); cy.contains( 'Plan required:' ).within( () => { - cy.get( 'a' ).should( 'have.attr', 'href', 'https://formidableforms.com/lite-upgrade/?utm_source=plugin&utm_medium=lite&utm_campaign=form-templates&utm_content=export-view' ).and( 'contain.text', 'Business' ); + cy.get( 'a' ).should( 'have.attr', 'href', 'https://formidableforms.com/lite-upgrade/?utm_source=plugin&utm_medium=lite&utm_campaign=addons&utm_content=export-view' ).and( 'contain.text', 'Business' ); } ); cy.get( 'a[aria-label="Upgrade Now"]' ).should( 'have.attr', 'target', '_blank' ) .and( 'have.attr', 'href' ).and( 'include', 'https://formidableforms.com/lite-upgrade/' ); @@ -507,7 +507,7 @@ describe( 'Add-Ons page', () => { cy.get( 'svg.frmsvg > use' ).should( 'have.attr', 'xlink:href', '#frm_logo_icon' ); cy.get( 'p.frm-line-clamp-2' ).should( 'contain.text', 'Create WordPress web apps to display your form submissions in grids, tables, calendars, and more.' ); cy.contains( 'Plan required:' ).within( () => { - cy.get( 'a' ).should( 'have.attr', 'href', 'https://formidableforms.com/lite-upgrade/?utm_source=plugin&utm_medium=lite&utm_campaign=form-templates&utm_content=visual-views' ).and( 'contain.text', 'Plus' ); + cy.get( 'a' ).should( 'have.attr', 'href', 'https://formidableforms.com/lite-upgrade/?utm_source=plugin&utm_medium=lite&utm_campaign=addons&utm_content=visual-views' ).and( 'contain.text', 'Plus' ); } ); cy.get( 'a[aria-label="Upgrade Now"]' ).should( 'have.attr', 'target', '_blank' ) .and( 'have.attr', 'href' ).and( 'include', 'https://formidableforms.com/lite-upgrade/' ); @@ -519,7 +519,7 @@ describe( 'Add-Ons page', () => { cy.get( 'svg.frmsvg > use' ).should( 'have.attr', 'xlink:href', '#frm_logo_icon' ); cy.get( 'p.frm-line-clamp-2' ).should( 'contain.text', 'Transform your WordPress site into a data collection machine with our user-friendly survey form builder.' ); cy.contains( 'Plan required:' ).within( () => { - cy.get( 'a' ).should( 'have.attr', 'href', 'https://formidableforms.com/lite-upgrade/?utm_source=plugin&utm_medium=lite&utm_campaign=form-templates&utm_content=surveys' ).and( 'contain.text', 'Business' ); + cy.get( 'a' ).should( 'have.attr', 'href', 'https://formidableforms.com/lite-upgrade/?utm_source=plugin&utm_medium=lite&utm_campaign=addons&utm_content=surveys' ).and( 'contain.text', 'Business' ); } ); cy.get( 'a[aria-label="Upgrade Now"]' ).should( 'have.attr', 'target', '_blank' ) .and( 'have.attr', 'href' ).and( 'include', 'https://formidableforms.com/lite-upgrade/' ); @@ -531,7 +531,7 @@ describe( 'Add-Ons page', () => { cy.get( 'svg.frmsvg > use' ).should( 'have.attr', 'xlink:href', '#frm_logo_icon' ); cy.get( 'p.frm-line-clamp-2' ).should( 'contain.text', 'Create beautiful landing pages fast and rake in new leads.' ); cy.contains( 'Plan required:' ).within( () => { - cy.get( 'a' ).should( 'have.attr', 'href', 'https://formidableforms.com/lite-upgrade/?utm_source=plugin&utm_medium=lite&utm_campaign=form-templates&utm_content=landing-pages' ).and( 'contain.text', 'Plus' ); + cy.get( 'a' ).should( 'have.attr', 'href', 'https://formidableforms.com/lite-upgrade/?utm_source=plugin&utm_medium=lite&utm_campaign=addons&utm_content=landing-pages' ).and( 'contain.text', 'Plus' ); } ); cy.get( 'a[aria-label="Upgrade Now"]' ).should( 'have.attr', 'target', '_blank' ) .and( 'have.attr', 'href' ).and( 'include', 'https://formidableforms.com/lite-upgrade/' ); @@ -543,7 +543,7 @@ describe( 'Add-Ons page', () => { cy.get( 'svg.frmsvg > use' ).should( 'have.attr', 'xlink:href', '#frm_logo_icon' ); cy.get( 'p.frm-line-clamp-2' ).should( 'contain.text', 'Ask one question at a time to humanize forms and boost their conversion rates.' ); cy.contains( 'Plan required:' ).within( () => { - cy.get( 'a' ).should( 'have.attr', 'href', 'https://formidableforms.com/lite-upgrade/?utm_source=plugin&utm_medium=lite&utm_campaign=form-templates&utm_content=conversational-forms' ).and( 'contain.text', 'Business' ); + cy.get( 'a' ).should( 'have.attr', 'href', 'https://formidableforms.com/lite-upgrade/?utm_source=plugin&utm_medium=lite&utm_campaign=addons&utm_content=conversational-forms' ).and( 'contain.text', 'Business' ); } ); cy.get( 'a[aria-label="Upgrade Now"]' ).should( 'have.attr', 'target', '_blank' ) .and( 'have.attr', 'href' ).and( 'include', 'https://formidableforms.com/lite-upgrade/' ); @@ -555,7 +555,7 @@ describe( 'Add-Ons page', () => { cy.get( 'svg.frmsvg > use' ).should( 'have.attr', 'xlink:href', '#frm_logo_icon' ); cy.get( 'p.frm-line-clamp-2' ).should( 'contain.text', 'Get more accurate data and make forms faster to complete with address autocomplete.' ); cy.contains( 'Plan required:' ).within( () => { - cy.get( 'a' ).should( 'have.attr', 'href', 'https://formidableforms.com/lite-upgrade/?utm_source=plugin&utm_medium=lite&utm_campaign=form-templates&utm_content=geolocation' ).and( 'contain.text', 'Business' ); + cy.get( 'a' ).should( 'have.attr', 'href', 'https://formidableforms.com/lite-upgrade/?utm_source=plugin&utm_medium=lite&utm_campaign=addons&utm_content=geolocation' ).and( 'contain.text', 'Business' ); } ); cy.get( 'a[aria-label="Upgrade Now"]' ).should( 'have.attr', 'target', '_blank' ) .and( 'have.attr', 'href' ).and( 'include', 'https://formidableforms.com/lite-upgrade/' ); @@ -567,7 +567,7 @@ describe( 'Add-Ons page', () => { cy.get( 'svg.frmsvg > use' ).should( 'have.attr', 'xlink:href', '#frm_logo_icon' ); cy.get( 'p.frm-line-clamp-2' ).should( 'contain.text', 'Create PDFs from form entries automatically. Email them or let visitors download PDFs from your site.' ); cy.contains( 'Plan required:' ).within( () => { - cy.get( 'a' ).should( 'have.attr', 'href', 'https://formidableforms.com/lite-upgrade/?utm_source=plugin&utm_medium=lite&utm_campaign=form-templates&utm_content=pdfs' ).and( 'contain.text', 'Business' ); + cy.get( 'a' ).should( 'have.attr', 'href', 'https://formidableforms.com/lite-upgrade/?utm_source=plugin&utm_medium=lite&utm_campaign=addons&utm_content=pdfs' ).and( 'contain.text', 'Business' ); } ); cy.get( 'a[aria-label="Upgrade Now"]' ).should( 'have.attr', 'target', '_blank' ) .and( 'have.attr', 'href' ).and( 'include', 'https://formidableforms.com/lite-upgrade/' ); @@ -579,7 +579,7 @@ describe( 'Add-Ons page', () => { cy.get( 'svg.frmsvg > use' ).should( 'have.attr', 'xlink:href', '#frm_googlesheets_icon' ); cy.get( 'p.frm-line-clamp-2' ).should( 'contain.text', 'Send form entries to a Google spreadsheet as a backup or for extra processing.' ); cy.contains( 'Plan required:' ).within( () => { - cy.get( 'a' ).should( 'have.attr', 'href', 'https://formidableforms.com/lite-upgrade/?utm_source=plugin&utm_medium=lite&utm_campaign=form-templates&utm_content=google-sheets' ).and( 'contain.text', 'Business' ); + cy.get( 'a' ).should( 'have.attr', 'href', 'https://formidableforms.com/lite-upgrade/?utm_source=plugin&utm_medium=lite&utm_campaign=addons&utm_content=google-sheets' ).and( 'contain.text', 'Business' ); } ); cy.get( 'a[aria-label="Upgrade Now"]' ).should( 'have.attr', 'target', '_blank' ) .and( 'have.attr', 'href' ).and( 'include', 'https://formidableforms.com/lite-upgrade/' ); @@ -591,7 +591,7 @@ describe( 'Add-Ons page', () => { cy.get( 'svg.frmsvg > use' ).should( 'have.attr', 'xlink:href', '#frm_acfforms_icon' ); cy.get( 'p.frm-line-clamp-2' ).should( 'contain.text', 'Sync custom fields between Formidable and Advanced Custom Fields or ACF Pro.' ); cy.contains( 'Plan required:' ).within( () => { - cy.get( 'a' ).should( 'have.attr', 'href', 'https://formidableforms.com/lite-upgrade/?utm_source=plugin&utm_medium=lite&utm_campaign=form-templates&utm_content=acf-forms' ).and( 'contain.text', 'Business' ); + cy.get( 'a' ).should( 'have.attr', 'href', 'https://formidableforms.com/lite-upgrade/?utm_source=plugin&utm_medium=lite&utm_campaign=addons&utm_content=acf-forms' ).and( 'contain.text', 'Business' ); } ); cy.get( 'a[aria-label="Upgrade Now"]' ).should( 'have.attr', 'target', '_blank' ) .and( 'have.attr', 'href' ).and( 'include', 'https://formidableforms.com/lite-upgrade/' ); @@ -603,7 +603,7 @@ describe( 'Add-Ons page', () => { cy.get( 'svg.frmsvg > use' ).should( 'have.attr', 'xlink:href', '#frm-ai-form-icon' ); cy.get( 'p.frm-line-clamp-2' ).should( 'contain.text', 'Get back your time by autogenerating a response from ChatGPT and inserting it into a field.' ); cy.contains( 'Plan required:' ).within( () => { - cy.get( 'a' ).should( 'have.attr', 'href', 'https://formidableforms.com/lite-upgrade/?utm_source=plugin&utm_medium=lite&utm_campaign=form-templates&utm_content=ai' ).and( 'contain.text', 'Business' ); + cy.get( 'a' ).should( 'have.attr', 'href', 'https://formidableforms.com/lite-upgrade/?utm_source=plugin&utm_medium=lite&utm_campaign=addons&utm_content=ai' ).and( 'contain.text', 'Business' ); } ); cy.get( 'a[aria-label="Upgrade Now"]' ).should( 'have.attr', 'target', '_blank' ) .and( 'have.attr', 'href' ).and( 'include', 'https://formidableforms.com/lite-upgrade/' ); @@ -618,7 +618,7 @@ describe( 'Add-Ons page', () => { expect( normalizedText ).to.contain( "Capture form data before it's submitted to save more leads and optimize forms. Plus, auto save drafts and allow logged out editing." ); } ); cy.contains( 'Plan required:' ).within( () => { - cy.get( 'a' ).should( 'have.attr', 'href', 'https://formidableforms.com/lite-upgrade/?utm_source=plugin&utm_medium=lite&utm_campaign=form-templates&utm_content=abandonment' ).and( 'contain.text', 'Business' ); + cy.get( 'a' ).should( 'have.attr', 'href', 'https://formidableforms.com/lite-upgrade/?utm_source=plugin&utm_medium=lite&utm_campaign=addons&utm_content=abandonment' ).and( 'contain.text', 'Business' ); } ); cy.get( 'a[aria-label="Upgrade Now"]' ).should( 'have.attr', 'target', '_blank' ) .and( 'have.attr', 'href' ).and( 'include', 'https://formidableforms.com/lite-upgrade/' ); @@ -630,7 +630,7 @@ describe( 'Add-Ons page', () => { cy.get( 'svg.frmsvg > use' ).should( 'have.attr', 'xlink:href', '#frm_logo_icon' ); cy.get( 'p.frm-line-clamp-2' ).should( 'contain.text', 'Transform form data into insightful graphs with ease.' ); cy.contains( 'Plan required:' ).within( () => { - cy.get( 'a' ).should( 'have.attr', 'href', 'https://formidableforms.com/lite-upgrade/?utm_source=plugin&utm_medium=lite&utm_campaign=form-templates&utm_content=charts' ).and( 'contain.text', 'Plus' ); + cy.get( 'a' ).should( 'have.attr', 'href', 'https://formidableforms.com/lite-upgrade/?utm_source=plugin&utm_medium=lite&utm_campaign=addons&utm_content=charts' ).and( 'contain.text', 'Plus' ); } ); cy.get( 'a[aria-label="Upgrade Now"]' ).should( 'have.attr', 'target', '_blank' ) .and( 'have.attr', 'href' ).and( 'include', 'https://formidableforms.com/lite-upgrade/' ); @@ -642,7 +642,7 @@ describe( 'Add-Ons page', () => { cy.get( 'svg.frmsvg > use' ).should( 'have.attr', 'xlink:href', '#frm_convertkit_icon' ); cy.get( 'p.frm-line-clamp-2' ).should( 'contain.text', 'Bring automation into your email marketing plan for the power to say "welcome" to your subscribers the moment they opt-in to your list.' ); cy.contains( 'Plan required:' ).within( () => { - cy.get( 'a' ).should( 'have.attr', 'href', 'https://formidableforms.com/lite-upgrade/?utm_source=plugin&utm_medium=lite&utm_campaign=form-templates&utm_content=convertkit' ).and( 'contain.text', 'Plus' ); + cy.get( 'a' ).should( 'have.attr', 'href', 'https://formidableforms.com/lite-upgrade/?utm_source=plugin&utm_medium=lite&utm_campaign=addons&utm_content=convertkit' ).and( 'contain.text', 'Plus' ); } ); cy.get( 'a[aria-label="Upgrade Now"]' ).should( 'have.attr', 'target', '_blank' ) .and( 'have.attr', 'href' ).and( 'include', 'https://formidableforms.com/lite-upgrade/' );