diff --git a/wordpress/wp-content/plugins/idcommerce/js/idcommerce.js b/wordpress/wp-content/plugins/idcommerce/js/idcommerce.js index fab5e6f436c5baf4790194f6ac5c266a7881f548..75fe87a5483eebbbba198b80a3557f3b0c99d6ed 100644 --- a/wordpress/wp-content/plugins/idcommerce/js/idcommerce.js +++ b/wordpress/wp-content/plugins/idcommerce/js/idcommerce.js @@ -1308,6 +1308,9 @@ jQuery(document).ready(function() { //_vis_opt_goal_conversion(201); //_vis_opt_goal_conversion(202); // set a timeout for 1 sec to allow trigger time to fire + + trackPurchase(orderID, product, pwywPrice); + setTimeout(function() { window.location = memberdeck_durl + permalink_prefix + "idc_product=" + product + "&paykey=" + paykey + queryString; }, 1000);