Skip to content

For business owners

Count the orders we send you

Every time someone taps Order online, Book online or Shop on Heart of Columbus, or checks out a cart we built, the link carries our tag: utm_source=heartofcolumbus. Your own store already records it. These steps let us count the orders too, so you can see what Heart of Columbus does for your business, in dollars.

What gets sent: the order number, the total, the currency and how many items. Only for orders that came from us.

What never gets sent: the customer’s name, email, phone, address, or what they bought.

What it costs: nothing. We take no commission. The numbers are yours; we use them to show you, and only you, what we sent.

Before you start, ask us for your shop ID and key. They are made for your business only: send a note through the owner form and we reply with both.

Shopify

  1. In your Shopify admin, open Settings, then Customer events.
  2. Choose Add custom pixel and name it Heart of Columbus.
  3. Paste the code below. Replace YOUR-SHOP-ID and YOUR-KEY with the two we sent you.
  4. Under permissions, choose Not required (it collects no personal data), then Save and Connect.
// Heart of Columbus order count. Sends only the order number, total,
// currency and item count, and only for orders that came from
// Heart of Columbus. Never the customer's name, email or address.
const HOC = { shop: 'YOUR-SHOP-ID', key: 'YOUR-KEY' };

analytics.subscribe('page_viewed', async (event) => {
  const url = new URL(event.context.document.location.href);
  if (url.searchParams.get('utm_source') === 'heartofcolumbus') {
    await browser.localStorage.setItem('hoc_click', url.searchParams.get('utm_content') || 'visit');
  }
});

analytics.subscribe('checkout_completed', async (event) => {
  const c = event.data.checkout;
  const attr = (c.attributes || []).find((a) => a.key === 'hoc_click');
  const click = (attr && attr.value) || (await browser.localStorage.getItem('hoc_click'));
  if (!click) return;
  fetch('https://heartofcolumbus.shop/api/conversion', {
    method: 'POST',
    keepalive: true,
    body: JSON.stringify({
      shop: HOC.shop, key: HOC.key, via: 'shopify', click,
      order: c.order && c.order.id,
      total: c.totalPrice && c.totalPrice.amount,
      currency: c.currencyCode,
      items: (c.lineItems || []).reduce((n, l) => n + (l.quantity || 0), 0),
    }),
  });
  await browser.localStorage.removeItem('hoc_click');
});

You can also see our orders yourself, with no code: open an order and look at its Conversion summary or landing page, which shows heartofcolumbus for orders we sent.

WooCommerce

One click (easiest)

  1. Open the link we send you. It looks like heartofcolumbus.shop/api/woo-connect?b=your-shop.
  2. Log in to your WordPress admin if it asks. WooCommerce shows Heart of Columbus would like to connect to your store, with Read access only.
  3. Press Approve. That’s it. Once a day we read your recent orders and keep only the ones we sent you: the order number, total, status and whether it’s completed. We can’t change anything in your store.
  4. To disconnect any time: WooCommerce, Settings, Advanced, REST API, and revoke the Heart of Columbus key.

Or paste a snippet instead

  1. Make sure WooCommerce is version 8.5 or newer and Order attribution is on (WooCommerce, Settings, Advanced, Features). It is on by default.
  2. Install the free Code Snippets plugin, or use your theme’s functions.php.
  3. Add the snippet below as a new snippet that runs everywhere. Replace YOUR-SHOP-ID and YOUR-KEY.
// Heart of Columbus order count. Uses WooCommerce's own order attribution
// (on by default since WooCommerce 8.5) and sends only the order number,
// total, currency and item count for orders that came from Heart of Columbus.
add_action( 'woocommerce_thankyou', function ( $order_id ) {
  $order = wc_get_order( $order_id );
  if ( ! $order || $order->get_meta( '_hoc_counted' ) ) return;
  if ( 'heartofcolumbus' !== $order->get_meta( '_wc_order_attribution_utm_source' ) ) return;
  wp_remote_post( 'https://heartofcolumbus.shop/api/conversion', array(
    'blocking' => false,
    'headers'  => array( 'content-type' => 'text/plain' ),
    'body'     => wp_json_encode( array(
      'shop'     => 'YOUR-SHOP-ID',
      'key'      => 'YOUR-KEY',
      'via'      => 'woocommerce',
      'order'    => (string) $order->get_order_number(),
      'total'    => $order->get_total(),
      'currency' => $order->get_currency(),
      'items'    => $order->get_item_count(),
      'click'    => (string) $order->get_meta( '_wc_order_attribution_utm_content' ),
    ) ),
  ) );
  $order->update_meta_data( '_hoc_counted', '1' );
  $order->save();
} );

With no code at all, WooCommerce’s order screen already shows Origin: Source: heartofcolumbus on orders we sent.

Square, Wix, Toast, Clover and everyone else

These systems don’t let a small snippet run at checkout, so we use a code instead:

  1. Make a discount code just for us, for example HOC5 for 5 percent off, or a free item. You choose the offer.
  2. Tell us the code. We show it on your listing as yours, with the end date you give.
  3. Once a month, send us how many times it was used and the total. Your system’s discount report has both.

Your own reports also show visits we sent: look for the source heartofcolumbus in your website analytics.

Test it

Place one test order through your own Heart of Columbus listing (Shopify’s test payment mode works), then tell us. We confirm it reached your count and delete it.

What the numbers mean

Free and confidential

Help in Columbus

What do you need?

Help right nowA place to sleep tonightFoodRent, utilities and keeping your homeFinding a place to liveHealth care and medicineRecoveryJobs and schoolLegal help and IDGetting aroundVeterans, seniors, families and neighborsClothing and household goods
The whole guide Print a wallet card

Numbers come from United Way of Bartholomew County’s United We Help guide and each agency’s own page, checked October 26, 2026. Not affiliated with any agency. If someone is in danger, call 911.