@deeman подскажите пожалуйста, как на страницу simplecheckout вставить такое:
<script type="text/javascript">
window.dataLayer = window.dataLayer || [];
window.dataLayer.push({
"ecommerce": {
"purchase": {
"actionField": {
"id" : "тут номер заказа"
},
"products": [
{
"id": "<?php echo $product_id; ?>",
"name": "<?php echo $heading_title; ?>",
"price": <?php if (!$special) { ?><?php echo $price; ?><?php } else { ?><?php echo $special; ?><?php } ?>,
"brand": "<?php echo $manufacturer; ?>"
},
{
"id": "<?php echo $product_id; ?>",
"name": "<?php echo $heading_title; ?>",
"price": <?php if (!$special) { ?><?php echo $price; ?><?php } else { ?><?php echo $special; ?><?php } ?>,
"brand": "<?php echo $manufacturer; ?>"
}
]
}
}
});
</script>