« Integrations

Sales Tracker: Track Shopify sales using LiveChat

Mateusz Pliszka
2 min read
updated: Jun 19, 2019

Install Sales Tracker at your Shopify store to monitor how much you sell, using your LiveChat for Shopify software. Track the value of your agents’ conversations and optimize your chats.

Installation

  1. Enter Sales Tracker functionality in your LiveChat account by going to Settings -> E-commerce -> Sales Tracker.

Shopify-LiveChat-sales-tracker

  1. Choose the dynamic sales value.
  1. Enter value parameter: order_sum.

Shopify-sales-tracker-set-order-parameter

  1. Choose your sales currency.
  1. Click “Add order number to the chat details” and insert Order ID parameter: order_id.

Shopify-sales-tracker-set-value-parameter

  1. If you leave 30 days of sales tracking, LiveChat will track any sales within 14-days from your conversation.
  1. Click Generate sales tracker code.
  1. Now, we will need to change a few things inside the code to make it work with Shopify, so open your text editor and paste the code over there.
  1. Add the 2 below lines right after the opening script tag.
var order_id = {{order.order_number}};
var order_sum = {{order.total_price | money_without_currency }};

Shopify-change-code

  1. Now, go to Settings -> Channels -> Chat widget and copy your LiveChat installation code.

Shopify-LiveChat-sales-tracker-copy-code

  1. Add the LiveChat installation code after the Sales Tracker code in your text editor.
  1. Now, your code in your text editor should look like this (license ID will be different for each LiveChat account).

Shopify-final-code

  1. Now, log in to your Shopify account and go to Settings -> Checkout.

Shopify-sales-tracker-enter-checkout

  1. Go to Order ID -> Additional scripts section.
  1. Paste the previously created code in text editor in the Additional Scripts field and click “Save”.

SShopify-sales-tracker-paste-the-code

  1. Start tracking your sales with LiveChat conversations.

Shopify-sales-tracker-track-sales

Done! You have just installed Sales Tracker in your Shopify store. To monitor the statistics of your sales go to your e-commerce section of LiveChat reports.

Now, you can observe how much you sell using real-time live chat conversations on your website and optimize your customer support to sell, even more, using LiveChat for Shopify.

Was this article helpful?

Got it!

Thanks for your feedback.

Thank you!

We’re happy to help.

Start using LiveChat now!

Free 14-day trial · Team plan features · No credit card required

Still not convinced? See what else we have to offer