(NEW) WooCommerce Integration

To monitor your WooCommerce sales on Tracknow, an integration is required.
By embedding the pixel image code, every completed purchase will be automatically sent with the relevant sales data to Tracknow, allowing you to track conversions directly on your dashboard.

Locating where the code is added on WooCommerce

  1. Log into your WordPress dashboard
  2. On the main menu, select ‘Appearance’ and on the newly opened menu select ‘Theme File Editor’
  3. Locate the functions.php file in the list of files associated with your active theme and click on it to edit
  4. The file’s code box will open – this is where you’ll add the code

Find your campaign’s Conversion Tracking URL on Tracknow

  1. Login as an admin to the Tracknow platform and click ‘Campaigns/Offers’ on the left menu
  2. Click on the name of the campaign you wish these purchases to be associated with
  3. On the secondary menu, select ‘Setup/Integration’ and click on ‘IMAGE’
  4. Copy only the part of the link that is highlighted in the screenshot below

Adding the code

Whenever a purchase is made we would like to send the following details:

  • Send the WooCommerce order ID
  • Send the order’s amount
  • Associate the purchase with campaign ID = 1 (the campaign ID may be different in your case, depending on which campaign on Tracknow you’d like the conversions to be added under)

We’ve prepared a simple template for you to use:

Replace the link highlighted in red to your campaign’s Conversion Tracking URL copied in the previous section of the article

Copy and paste the code into the code box section in the functions.php and click ‘Update File’

Updated on January 20, 2025

Related Articles