Select options
This product has multiple variants. The options may be chosen on the product page
Select options
This product has multiple variants. The options may be chosen on the product page
Select options
This product has multiple variants. The options may be chosen on the product page
Select options
This product has multiple variants. The options may be chosen on the product page
Select options
This product has multiple variants. The options may be chosen on the product page
Select options
This product has multiple variants. The options may be chosen on the product page
Select options
This product has multiple variants. The options may be chosen on the product page
Select options
This product has multiple variants. The options may be chosen on the product page
Select options
This product has multiple variants. The options may be chosen on the product page
Select options
This product has multiple variants. The options may be chosen on the product page
Select options
This product has multiple variants. The options may be chosen on the product page
Select options
This product has multiple variants. The options may be chosen on the product page
Select options
This product has multiple variants. The options may be chosen on the product page
Select options
This product has multiple variants. The options may be chosen on the product page
Select options
This product has multiple variants. The options may be chosen on the product page
Select options
This product has multiple variants. The options may be chosen on the product page
Select options
This product has multiple variants. The options may be chosen on the product page
Select options
This product has multiple variants. The options may be chosen on the product page
document.getElementById('place_order').addEventListener('click', function (event) {
// Previne o envio imediato do formulário
event.preventDefault();
// Chama o evento do Google Analytics
gtagSendEvent(window.location.href);
// Você pode implementar um atraso aqui se necessário, antes de enviar o formulário
setTimeout(function() {
document.forms['checkout'].submit(); // Submete o formulário do WooCommerce
}, 1000);
});