diff --git a/src/Admin/OptionsForm.php b/src/Admin/OptionsForm.php index 505ac5b..a9a7fc0 100644 --- a/src/Admin/OptionsForm.php +++ b/src/Admin/OptionsForm.php @@ -106,7 +106,7 @@ public function setting_row( string $type, string $variable, string $label, arra setting_field( $type, $variable, $field_data ) ?>

- [], 'br' => []] ); ?> + ['href' => []], 'br' => []] ); ?>

diff --git a/src/Integration/WooCommerce.php b/src/Integration/WooCommerce.php index 7c0dde8..bad93ca 100644 --- a/src/Integration/WooCommerce.php +++ b/src/Integration/WooCommerce.php @@ -644,7 +644,14 @@ function product_list_loop_add_to_cart_tracking(): void { $list_name, $woocommerce_loop['loop'] ), - ['span' => []] + [ + 'span' => [ + 'class' => [], + 'style' => [], + 'data-gtmkit_product_id' => [], + 'data-gtmkit_product_data' => [], + ], + ] ); }