1. Knowledge Base
  2. Solution home
  3. Trackier Performance
  4. E-commerce

Integration: Woo-Commerce


If you are working with the Woo-commerce and looking to integration with Trackier, you can do the same with the help of JS pixel. 


TABLE OF CONTENTS


With Trackier's JS pixel you will be able to configure the click and conversion flow between the two platforms.


Integration Process


A simple snippet pixel code will be placed on the thank you page, and you are good to go. While placing the pixel code into the thank you page <function.php>, you need to configure a path to send information from woo-commerce to Trackier.


Offer setup and conversion tracking pixel 


After you have successfully created the offer, you can find the JS pixel by navigating to Automation > E-commerce tab > Woo-Commerce "Setup Instructions"



Trackier's JS pixel example


<script type="text/javascript">(function(){var a=document.createElement("iframe");a.setAttribute("src","https://demo.gotrackier.com/pixel?av=57c4738434243dc57d8b456d&sale_amount=AMOUNT");a.style.width="1";a.style.height="1";document.body.appendChild(a)})();</script>


You can pass the appropriate macros in the JS pixel to track the OrderID, sale amount and save it on the thankyou page <function.php>.


Adding the Code correctly on the thank you page. 


At the time of placing the snippet code into file manager of Woo Commerce in thank you page, you should be very careful of placing it into the right File. 


  • If you have default Woo-Commerce's thank you page, then go to the template and thankyoupage.php and there can place the snippet code.
  • If you have your own custom thank you page or you are using any of these as its thankyou page then Navigate to Theme > Theme function > function.php > thankyoupage and there you need to find <body> <body/> tag and place the snippet code in it. 



Integration Testing


Once the integration process has been completed, Trackier allows you to make a test conversion on click and conversion level. You can navigate to the campaign > generate the test link and make a test on the campaign. 



In case of any help in the integration process, you can contact our support team at support@trackier.com


Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select atleast one of the reasons

Feedback sent

We appreciate your effort and will try to fix the article