Tracking Pixel

Overview

Implementing the Stackla Tracking Pixel allows you to send important data relating to your conversion funnel to your Stack. The purpose of this code is to capture key data from orders made by end-users, and tie the data back to the Products, Tiles and Widgets implemented on your Ecommerce site.

Once implemented, Stackla will be able to provide valuable insights regarding conversion from UGC Widgets. Please contact your Stackla Account Manager for more details.

Pixel Events

The Stackla Tracking Pixel allows for brands to track not only when an end User has completed a Financial Transaction (ie. Purchase / Donation), but also a series of other key events to help provide a more detailed and informed view around the impact of User Generated Content (UGC) on a brand’s ecommerce platform.

Included below are the available events and the respective parameters which can be passed for each event.

Event Name Description Event Parameters
product_page_view Record an event each time an end user views a specific Product Page after interacting with a Stackla Widget
  • product_id
add_to_cart Record an event each time an end user adds a particular Product to their Cart
  • product_id
  • currency
  • ext_quantity
  • ext_price
add_to_wishlist Record an event each time an end user adds a particular Product to their Wishlist
  • product_id
  • ext_currency
  • ext_quantity
  • ext_price
payment_info Record an event when the user reaches the Payment Information Page / Starts the Checkout process
  • product_id
  • ext_currency
  • ext_quantity
  • ext_price
purchase Record an event when the user has successfully completed a Purchase
  • product_id
  • ext_currency
  • ext_quantity
  • ext_price
donation Record an event when the user has successfully made a Donation
  • product_id
  • ext_currency
  • ext_quantity
  • ext_price
subscribe Record an event when the user has successfully registered / subscribed to a service.
  • product_id

Event Parameters

The Stackla Tracking

Parameter Description Pixel Events
product_id ID of the respective Product(s). Should match the External ID defined in the Stackla Product Tag. Supports multiple values supplied comma-separated.
  • product_page_view
  • add_to_cart
  • add_to_wishlist
  • payment_info
  • purchase
  • donation
  • subscribe
ext_currency Currency in which the Transaction is being processed in. Default is USD if not provided.
  • add_to_cart
  • add_to_wishlist
  • payment_info
  • purchase
  • donation
ext_price Price of the respective Product(s). Supports multiple values supplied comma-separated.
  • add_to_cart
  • add_to_wishlist
  • payment_info
  • purchase
  • donation
ext_quantity Quantity of the respective Product(s). Supports multiple values supplied comma-separated.
  • add_to_cart
  • add_to_wishlist
  • payment_info
  • purchase
  • donation

Pixel

The Stackla Tracking Pixel is a simple image embed that can be included on any pages where you pass Commerce events back to your Stackla instance.

<img src="https://stp.stack.la/record.png

To build out and accurately track the events that occur on your ecommerce platform and pass it back to your Stack, you need to append the Pixel Event and Parameters to the Image embed similar to below:

<img src="https://stp.stack.la/record.png?product_id={{product_id}}&event={{event_name}}&ext_currency={{ext_currency}}&ext_quantity={{ext_quantity}}&ext_price={{ext_price}}">

These values should be automatically populated as the respective page loads to pass back to Stackla, similar to below:

<img src="https://stp.stack.la/record.png?product_id=1234,2345&event=purchase&ext_currency=USD&ext_quantity=1,3&ext_price=40.00,90.00">

Note: If the Tracking Pixel has not been abled on your Stack any events passed to the Tracking Pixel will not be stored.

Instructions

Before embedding the Tracking Pixel on your website, please ensure that the service has been enabled on your Stackla Instance by contacting your Customer Success Account Manager, or by logging a ticket via Stackla Support.

Please select one of the guides below on how to integrate the Stackla Tracking Pixel with one of the following ECommerce Tools or Tag Management tools:

Return to Top