How to install LiveSession on Shopify?

Kamil Drazkiewicz
Kamil Drazkiewicz3 minMay 11, 2022

Using LiveSession requires placing a simple JavaScript code into your website. Read this article to learn how to install our LiveSession tracking code on Shopify website.

Installing the code manually

After logging in to LiveSession Application go to Settings:

settings menu

Choose the website that you want to set up and click on the Tracking code. If you haven’t added a website yet, please click on Add website button and type in the website’s address there:

websites menu

Open the Tracking code tab:

tracking code tab

And click on the button to Copy to clipboard button:

copy button

Paste it into your website source code in the <head> section.

Installing the code with Google Tag Manager

If you want to install LiveSession tracking code using the Google Tag Manager, go to the “Google Tag Manager” tab (1), click the “Connect Google Tag Manager” button (2) and follow the on-screen instructions:


It’s done! Now you can test if your code works correctly using script debug mode.

  • Open your Shopfiy dashboard and go to Online Store section.

    shopify 1

  • Then open Themes.

    shopify 2

  • Find your current theme and click on Actions. After that choose Edit code.

    shopify 3

  • Open theme.liquid file

    shopify 4

  • Then please paste copied code into file before </head> closing tag

    shopify 5

  • Click on Save button.

    shopify 6

  • After that you’re ready to go! Check if your script works properly using this guide.

Our tracking code doesn’t work on checkout page, because of Shopify security measures.

Related articles

    Start understanding
    your users today

    Free 14-day trial

    No credit card required

    Easy setup