Placing FuelX Tracking Code on 3rd party web hosting sites

For specific instructions on adding Tracking Code or Conversion Code to your 3rd party web hosting platform, please see the list below. If we don’t have your platform listed below, let us know by emailing help@fuelx.com.

Shopify

Shopify is an e-commerce platform that many advertisers use to streamline their checkout flow.  You can easily place the FuelX universal pixel in Shopify by following these steps.

Tracking Code 

In order to track page views and run retargeting campaigns you must add the FuelX Tracking Code across your site.

To do this in Shopify, you can copy and paste the code you received from your Account Executive or your online dashboard and paste it into the head tag on your site.

Follow these step-by-step instructions: 

  1. In Shopify click on 'Online Store' in the left-hand navigation
  2. Click on 'Themes'
  3. Click on the three dots at the top of the page and select 'Edit HTML/CSS' from the drop down
  4. Under 'Layout' open the theme.liquid to edit your site's HTML
  5. Paste the Tracking code at the end of the <head> tag 
  6. Click the 'Save' button in the top right

Conversion Code

In order to track conversions and measure the performance of your campaign you must add the FuelX Conversion Code to your site.

Obtain your code from your Account Executive or your online dashboard and follow these instructions:

  1. In Shopify click on ‘Settings’
  2. Navigate to the ‘Checkout’ section
  3. Scroll to ‘Additional content and scripts’ and paste the universal pixel
  4. Add the macros for OrderID and OrderValue between the quotation marks*
  5. Save the updated settings

The code will look like this in your settings before you save:

*We highly recommend you pass back order value or order ID so that you are able to validate the conversions FuelX drives and measure your return on ad spend.

You can copy the macros below and paste them between the quotation marks in your conversion code. Be sure you do not add any spaces between the quotation and the brackets!

For orderId, you'll use the macro {{ order_number }}

For orderValue, you'll use the macro {{ total_price | money_without_currency }}

 

The code should look like this when you add it to the ‘Additional content and scripts’ section in 'Settings':

EXAMPLE CODE: Do not copy or use this pixel code for your site.
<script type="text/javascript"> fuelAdObj = { bid: "{Your Company's Unique ID}", productId: "", orderId: "{{ order_number }}", orderValue: "{{ total_price | money_without_currency }}" } </script> <script src="//cookie.fuel451.com/tracksa.min.js" type="text/javascript"></script>

 

Magento

  1. Log in to your Magento account.
  2. Click the System tab.
  3. Select Configuration.
  4. Under the General tab, select Design.
  5. Paste our tracking code into the Miscellaneous HTML text field. Note: You can add multiple javascript tags to this box. Add a space between the tracking code and any other surrounding extension codes.
  6. Click the “Save Config” button to finish.

Weebly

  1. Open the “Build” tab in your Weebly site editor.
  2. Under “More”, locate the “Embed Code” icon
  3. Drag and drop the Embed Code into your footer or the main body of your site
  4. Click to set Custom HTML and paste your tracking code into the box. The code will not be visible when you click out of the Custom HTML box. But if you click back into the box you will see the code is still there.

 

WordPress

  1. Open your Wordpress dashboard.
  2. Select “Appearance” and then “Editor”.
  3. In “Editor” you can view your Templates and the corresponding php files.
  4. Select “footer.php”.
  5. Scroll down to the closing body tag: </body> and place the tracking code directly above it.

 

Have more questions? Submit a request