diff --git a/src/Integrations/WooCommerce.php b/src/Integrations/WooCommerce.php index 5bc7149..fdb899d 100644 --- a/src/Integrations/WooCommerce.php +++ b/src/Integrations/WooCommerce.php @@ -163,7 +163,7 @@ public function track_add_to_cart_on_product_page() { plausibleAddToCartForm.classList.add('plausible-event-name=event_goals[ 'add-to-cart' ] ); ?>'); plausibleAddToCartForm.classList.add('plausible-event-quantity=' + plausibleQuantity.value); plausibleAddToCartForm.classList.add('plausible-event-product_id=get_id(); ?>'); - plausibleAddToCartForm.classList.add('plausible-event-product_name=get_name( null ) ); ?>'); + plausibleAddToCartForm.classList.add('plausible-event-product_name=get_name( null ) ) ); ?>'); plausibleAddToCartForm.classList.add('plausible-event-price=get_price( null ); ?>'); plausibleQuantity.addEventListener('change', function (e) {