Insert Product-Specific Pixel Code at Thank You Page Based on Products Ordered?
-
I’m trying to insert conversion tracking code on the “Thank you” (order-received) page displayed once someone successfully checks out in my WooCommerce store.
I need to insert the code based on what product(s) has been ordered.
So, basically:
- If someone orders book 1, I need {book-1-pixel-code} inserted on the thank you page.
- If someone orders book 2, I need {book-2-pixel-code} inserted on the thank you page.
- If someone orders book 3, I need {book-3-pixel-code} inserted on the thank you page.
- If someone orders book 1, book 2, and book 3, I need {book-1-pixel-code}, {book-2-pixel-code}, and {book-3-pixel-code} inserted into the thank you page.
I have been searching for ways to do this without a custom script but have yet to find any solutions…any insight or possibilities to get this achieved would be greatly appreciated!
The page I need help with: [log in to see the link]
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Insert Product-Specific Pixel Code at Thank You Page Based on Products Ordered?’ is closed to new replies.