Installing Javascript on Shopify Websites

Currently, CallRail does not have a native Shopify integration. However, you can still add CallRail’s JavaScript snippet to your Shopify website. This article details the two installation methods you can use for Shopify.

Installing CallRail’s JavaScript snippet using Google Tag Manager

In most cases, the JavaScript snippet can be inserted using Google Tag Manager. The steps for installation can be found in this help article. Just include your Shopify URL as the domain for installation.

Please note: Using Google Tag Manager is only available to Shopify customers if they have a Shopify Plus plan. If you do not have this plan, you will need to use the manual steps outlined below.

Manually installing CallRail’s JavaScript snippet 

Your CallRail JavaScript snippet can be placed directly into your Shopify site by editing the site’s theme. This will require editing your website’s CSS, so make sure you follow the steps below.

  1. From your CallRail homepage, select the Settings icon on the left navigation bar.
  2. Choose the company where you'd like to install the JavaScript snippet.
  3. Select Integrations at the top of the page.
  4. Choose JavaScript Snippet from the list of integrations.
  5. Copy the JavaScript provided. It should look similar to this sample JavaScript code.
  6. Navigate to your Shopify account.
  7. From your Shopify admin, go to Online Store, then select Themes.
  8. Select Edit code.
  9. Select the file labeled (/)theme.liquid.
  10. Paste the code you copied earlier directly under the </head> element in the file you have opened in Shopify.
  11. Select Save.
Was this article helpful?
0 out of 0 found this helpful

Articles in this section

Ask the Community
Find best practices, post, and learn from CallRail users.
CallRail Support Hours
Weekdays 8:00am - 8:00pm EST
CallRail Classroom
Your go-to resource for brief, expert-led video tutorials.