Wix Integration

Add call tracking to your Wix website to find out which marketing sources drive calls and texts to your business. When a customer navigates to your website, we'll swap in the tracking phone number associated with the marketing source they came from. You can track calls on your Wix website using source tracking numbers or a website pool to include session-level data. 

Read more about the differences between source and visitor-level call tracking

Note: Changes that Wix made in August of 2020 necessitate the manual installation of CallRail's JavaScript snippet on a user's site as opposed to connecting directly through our integration. The instructions in this article will walk you through the current way our integration with Wix works. If you set up your integration with Wix prior to August 2020, your integration will continue to work as expected without any changes on your part.

Getting Started

The Wix integration with CallRail is only available for Wix's Premium plans

There are a few important details you’ll need to know before you get started with dynamic number insertion:

  1. Dynamic number insertion detects multiple number formats, including: 111-222-3333, 111.222.3333, and (111) 222-3333.

  2. Special steps are necessary to swap phone numbers in images. Learn more about image swapping with this help article.

  3. Our Wix integration cannot track form submissions. 

Integrate CallRail with Wix

The installation of CallRail's JavaScript snippet is done on a company basis in your account. Follow the instructions below for each company you’d like to integrate with Wix.

  1. Click Analytics in the navigation bar on the left, then click Tracking at the top of the page.

  2. Choose the company for which you'd like to install our JavaScript on their website.

  3. Select Installation Methods from the Tracking Installation section at the bottom of the menu on the left.

  4. Under the Installation section of that page, click JavaScript to show those instructions.

  5. Copy the code snippet on this page to your clipboard (you'll enter it into the Wix integration with CallRail). 


  6. Open a separate browser tab and log into your Wix account.

  7. Go to Settings in your Wix site's dashboard.

  8. Select Tracking Tools in the Advanced Settings column. 

  9. Click + New Tool and select Custom from the drop-down.

  10. Install your copied CallRail JavaScript snippet by pasting it on this screen and selecting a name.

  11. For the subsequent options, select All PagesLoad code once, and Place Code in Head.

  12. Click Apply to save your changes.

  13. After clicking Apply, your integration with CallRail will be activated and your tracking numbers will start swapping on your Wix website.

  14. Be sure to test your installation before your campaign begins. Learn how to test dynamic number insertion with this help article.


Can I track form submissions?

Unfortunately, our Wix integration cannot track form submissions on your Wix website. We can only track calls and text messages to your tracking numbers. 

Can I use Google Tag Manager for the JavaScript snippet installation?

If you are on any of Wix's premium plans, you can install CallRail's JavaScript snippet in Google Tag Manager, and add Google Tag Manager to your Wix site.

Use this article to learn how to add dynamic number insertion to Google Tag Manager.

Use these Wix instructions to learn how to add Google Tag Manager to your premium Wix site.

Why isn’t my telephone number swapping?

Have you cleared your cookies, or tried accessing the website in a private browsing session? The most important part of testing dynamic number insertion is to simulate the experience of a first-time visitor before testing. Otherwise, the swap code will detect you as a visitor to the website from a previous session.

Learn more about testing dynamic number insertion with this help article

How do I prevent a number from swapping on my website?

If there is a specific place on your website where you don't want the number to swap, update the telephone number in your source code so that our swap script doesn't recognize it. In the number that you do not want to be swapped, you can use HTML tags that don't apply additional style.

For example: 555-<span>444<span>-3333.

When setting this up, we recommend placing "<span>" within the middle of the phone number (as illustrated above). With those additional HTML tags, our JavaScript file will not find/swap the number that you'd like to appear static.