@@ -1241,23 +1241,9 @@ public static function checkChartStatus( $type ) {
1241
1241
*/
1242
1242
public function get_survey_metadata ( $ data , $ page_slug ) {
1243
1243
$ install_date = get_option ( 'visualizer_install ' , time () );
1244
- $ install_category = 0 ;
1245
1244
1246
1245
$ install_days_number = intval ( ( time () - $ install_date ) / DAY_IN_SECONDS );
1247
1246
1248
- if ( 0 === $ install_days_number || 1 === $ install_days_number ) {
1249
- $ install_category = 0 ;
1250
- } elseif ( 1 < $ install_days_number && 8 > $ install_days_number ) {
1251
- $ install_category = 7 ;
1252
- } elseif ( 8 <= $ install_days_number && 31 > $ install_days_number ) {
1253
- $ install_category = 30 ;
1254
- } elseif ( 30 < $ install_days_number && 90 > $ install_days_number ) {
1255
- $ install_category = 90 ;
1256
- } elseif ( 90 <= $ install_days_number ) {
1257
- $ install_category = 91 ;
1258
- }
1259
-
1260
-
1261
1247
$ plugin_data = get_plugin_data ( VISUALIZER_BASEFILE , false , false );
1262
1248
$ plugin_version = '' ;
1263
1249
if ( ! empty ( $ plugin_data ['Version ' ] ) ) {
@@ -1267,7 +1253,6 @@ public function get_survey_metadata( $data, $page_slug ) {
1267
1253
$ data = array (
1268
1254
'environmentId ' => 'cltef8cut1s7wyyfxy3rlxzs5 ' ,
1269
1255
'attributes ' => array (
1270
- 'days_since_install ' => strval ( $ install_category ),
1271
1256
'free_version ' => $ plugin_version ,
1272
1257
'pro_version ' => defined ( 'VISUALIZER_PRO_VERSION ' ) ? VISUALIZER_PRO_VERSION : '' ,
1273
1258
'license_status ' => apply_filters ( 'product_visualizer_license_status ' , 'invalid ' ),
0 commit comments