someone777
asked 7 years ago
Hey,

Maybe someone can help me in this forum? So, i have to put on thank-you.php page pixel for tracking leads.
Pixel is like in this format:

<img src="https://domain.com/path/slug=*ORDERID*&slug=*TOTAL*" alt="" width="1" height="1" border="0" />

There in *ORDERID* i need to get order id without “#” and in *TOTAL* i have to get order total without currency symbol.

So it have to look like:

<img src="https://domain.com/path/slug=123456&slug=125.00" alt="" width="1" height="1" border="0" />

Order ID #123456 and order total amount 125.00€.

Before updating WooCommerce to 3.0 it was working fine with this snippet:

Now it’s not working.
I would be very grateful for any help. Thanks! 🙂

Powered by DW Question & Answer Pro