Title: Tracking parameters configuration
Last modified: December 11, 2018

---

# Tracking parameters configuration

 *  Resolved [lfedele](https://wordpress.org/support/users/lfedele/)
 * (@lfedele)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/tracking-parameters-configuration/)
 * Dear support,
    I need help with the following code, I have to customize it in
   order to make it work for transactions tracking. All parameters with [] should
   be filled in.
 *     ```
       // First one
       var TDConf = TDConf || {};
       TDConf.Config = {
         products:[
           {id: "[product-id1]", price:"[price1]", currency:"[currency1]", name:"[product-name1]", qty:"[quantity1]"},  
           {id: "[product-id2]", price:"[price2]", currency:"[currency2]", name:"[product-name1]", qty:"[quantity2]"},  
           /*...*/
         ],  
       	containerTagId : "XXXXX"
       };
   
       // Second one
   
       var TDConf = TDConf || {};
       TDConf.Config = {
         products:[
           {id: "[product-id1]", price:"[price1]", currency:"[currency1]", name:"[product-name1]"},  
           {id: "[product-id2]", price:"[price2]", currency:"[currency2]", name:"[product-name2]"},  
           /*...*/
         ],  
         Category_name : "[Name of category products]", 
       	containerTagId : "XXXXX"
       };
   
       // Third one
   
       var TDConf = TDConf || {};
       TDConf.Config = {
       	productId: "[product-id]", 
       	category: "[main-category-name]",
       	brand: "[brand]",  
       	productName: "[product-name]", 
       	productDescription: "[product-description]", 
       	price: "[price]", 
       	currency: "[currency]",
       	url: "[click-url]", 
       	imageUrl: "[url-to-product-image]",
       	containerTagId : "XXXXX"
       };
   
       // Fourth one
   
       var TDConf = TDConf || {};
       TDConf.Config = {
         products:[
           {id: "[product-id1]", price:"[price1]", currency:"[currency1]", name:"[product-name1]",grpId:"[group-product-id1]", qty:"[quantity1]"},  
           {id: "[product-id2]", price:"[price2]", currency:"[currency2]", name:"[product-name1]",grpId:"[group-product-id2]", qty:"[quantity2]"},  
           /*...*/
         ],  
         orderId: "[orderId]", 
         orderValue: "[orderValue]",
         currency: "[currency]",  
         voucherCode: "[voucherCode]",  
         validOn: "[validOn]",
         containerTagId : "XXXXX"
       };
       ```
   
 * Could you help, please?
 * Thanks in advance.

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [Luminus Alabi](https://wordpress.org/support/users/luminus/)
 * (@luminus)
 * Automattic Happiness Engineer
 * [7 years, 3 months ago](https://wordpress.org/support/topic/tracking-parameters-configuration/#post-11165655)
 * Hi [@lfedele](https://wordpress.org/support/users/lfedele/),
 * I’m not quite sure what you’re trying to do here. It does look like you’d benefit
   from speaking to or hiring a developer to help you with this, though.
 * If you don’t have a go-to developer, perhaps consider contacting one of the services
   on our customizations page: [https://woocommerce.com/customizations/](https://woocommerce.com/customizations/).
 *  [Luminus Alabi](https://wordpress.org/support/users/luminus/)
 * (@luminus)
 * Automattic Happiness Engineer
 * [7 years, 3 months ago](https://wordpress.org/support/topic/tracking-parameters-configuration/#post-11191438)
 * Hey [@lfedele](https://wordpress.org/support/users/lfedele/),
 * We haven’t heard back from you in a while, so I’m going to mark this as resolved–
   if you have any further questions, you can start a new thread.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Tracking parameters configuration’ is closed to new replies.

 * ![](https://ps.w.org/woocommerce/assets/icon.svg?rev=3234504)
 * [WooCommerce](https://wordpress.org/plugins/woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Luminus Alabi](https://wordpress.org/support/users/luminus/)
 * Last activity: [7 years, 3 months ago](https://wordpress.org/support/topic/tracking-parameters-configuration/#post-11191438)
 * Status: resolved