79316686

Date: 2024-12-30 02:36:43
Score: 2
Natty:
Report link
<script>
  dataLayer.push({
    'event': 'purchase',
    'order_value': '<?php echo $totall; ?>',
    'order_id': '<?php echo $block->getOrderId(); ?>',
    'enhanced_conversion_data': {
      'email': '<?php echo $email; ?>',  
      'phone_number': '<?php echo $phone; ?>'
    }
  });
</script>

My best guess is that a quote is missing in the PHP echo statement of this code, potentially leading to an error when pushing. Could you please check and fix it?

Reasons:
  • RegEx Blacklisted phrase (1.5): fix it?
  • Has code block (-0.5):
  • Ends in question mark (2):
  • High reputation (-1):
Posted by: darrelltw