Compare Proposal

Nothing to compare.

Neet a Tracking code for woocommerce

  • Posted at : 1 month ago
  • Post Similar Project
1000

Budget
3
Proposals
49
Views
Expired
Status

Posted By -

SS

5.0
Projects Posted : 52
Projects Paid : 16
Services Purchased : 0
Total Spent :
395
Feedbacks : 94 %

Project Details show (+) hide (-)

I have a website. when a user purchase from our website and on the thankyou page we need to record some ID's which are default woocommerce ID's and svae them for our internal use. For example :

There are ID's on thank you page and you just to insert script in functions.php file and script for index page and we will have these details for internal use. 

<script type="text/javascript">
ire('trackConversion', 23221, {
orderId: "Order Id here",
customerId: "Customer Id here",
customerEmail: 'SHA1 Hash of Customer’s Email',
customerStatus: "Customer Status here",
currencyCode: "USD",
orderPromoCode: "",
orderDiscount: 15.00,
items: [
{
subTotal: 208.00,
category: "Product Category 1",
sku: "sku-11111",
quantity: 2,
name: "Product Name 1",
},
{
subTotal: 99.00,
category: "Product Category 2",
sku: "sku-11112",
quantity: 3,
name: "Product Name 2",
}
]
},
{
verifySiteDefinitionMatch:true
}
);
</script>