Reports

How do I install the HubSpot tracking code on a Wix site?

Last updated: December 14, 2016

Available For:

Marketing: Basic, Pro, Enterprise
Sales: N/A

To install the HubSpot tracking code on your Wix website, you'll need to use the App Market in Wix to add an HTML widget to your page. First, copy your tracking code from HubSpot. See these instructions for HubSpot Marketing Basic, Professional, or Enterprise; Marketing Free or Starter; or HubSpot Sales.

Follow the instructions below to learn how to add that tracking code to your Wix site:

  • Navigate to your Wix account where you can edit your website.
  • On the left-hand side, click App Market.
  • From this window, search for "html" until you find HTML iFrame/Embed app made by Wix > click + Add to Site.
  • Once this widget has been added to your site, click the Settings (gear) icon within this module > click the radio button next to Code > insert your HubSpot tracking code into the text box within that window > click Update.

Please note: Because Wix operates as a one-page website, the tracking code will only ever fire once when the site is initially loaded. So, although a user may be moving around to different places on the Wix website, this will only register as one page in HubSpot's Page Performance tool.