| @@ -30,8 +30,9 @@ | ||
| 30 | 30 | use SRFM\Inc\Global_Settings\Global_Settings; |
| 31 | 31 | use SRFM\Inc\Gutenberg_Hooks; |
| 32 | 32 | use SRFM\Inc\Helper; |
| 33 | 33 | use SRFM\Inc\Lib\SRFM_Nps_Survey; |
| 34 | +use SRFM\Inc\Lib\SRFM_Utm_Analytics; | |
| 34 | 35 | use SRFM\Inc\Nps_Notice; |
| 35 | 36 | use SRFM\Inc\Page_Builders\Page_Builders; |
| 36 | 37 | use SRFM\Inc\Post_Types; |
| 37 | 38 | use SRFM\Inc\Rest_Api; |
| @@ -297,8 +298,12 @@ | ||
| 297 | 298 | */ |
| 298 | 299 | if ( class_exists( 'SRFM\Inc\Lib\SRFM_Nps_Survey' ) && ! apply_filters( 'srfm_disable_nps_survey', false ) ) { |
| 299 | 300 | SRFM_Nps_Survey::get_instance(); // Inits the NPS Survey class for which inits the NPS Survey plugin. |
| 300 | 301 | Nps_Notice::get_instance(); // Responsible for displaying the NPS Survey: keeping the line out of the check will also work. |
| 302 | + } | |
| 303 | + | |
| 304 | + if ( class_exists( 'SRFM\Inc\Lib\SRFM_Utm_Analytics' ) ) { | |
| 305 | + SRFM_Utm_Analytics::get_instance(); // Inits the UTM Analytics library. | |
| 301 | 306 | } |
| 302 | 307 | |
| 303 | 308 | /** |
| 304 | 309 | * Load core files necessary for the Spectra block. |