query, number_format_i18n( (int) $row->hits ) ); } echo "\n"; } if ( ! empty( $data['top_missing'] ) ) { echo __( "Searches that returned nothing\n", 'ai-search' ); echo str_repeat( '-', 40 ) . "\n"; foreach ( $data['top_missing'] as $row ) { printf( "- %s (%s)\n", $row->query, number_format_i18n( (int) $row->hits ) ); } echo "\n"; } printf( __( "See the full report:\n%s\n\n", 'ai-search' ), $data['insights_url'] ); if ( ! empty( $data['is_free'] ) ) { echo str_repeat( '=', 40 ) . "\n"; echo __( "Want better results?\n", 'ai-search' ); echo __( "Standard adds Fast Search (cloud-hosted ranking), 10x the quota,\n", 'ai-search' ); echo __( "the larger embedding model and priority email support.\n", 'ai-search' ); echo __( "Try it free for 14 days:\n", 'ai-search' ); echo $data['upgrade_url'] . "\n\n"; } echo str_repeat( '-', 40 ) . "\n"; printf( __( "You're receiving this because you're the admin of %s.\n", 'ai-search' ), $data['site_url'] ); printf( __( "Unsubscribe: %s\n", 'ai-search' ), $data['unsub_url'] );