GoDaddy provides a Website Builder that lets you create your own websites. Have you ever wondered how to integrate Matomo Analytics with your GoDaddy Website Builder pages? Integrating Matomo will help you get the insights of visitors behaviour on you website and increase your conversions.

You can add the tracking code manually with some modifications. The code is installed on the site using an iFrame so advanced javascript functions like heatmaps and session recordings are not available.

You will need Matomo (Cloud or On-Premise) and your Godaddy account.

Integrate Matomo Analytics to your GoDaddy Website Builder

Follow the steps below:

  1. Login to your Matomo edit the configuration of your website Admin > Manage > Measurables. Select your site and add your site URL to the list URLs in your measurable.
  2. Go into your site editor and select Add section from the right navigation bar.
  3. Select HTML and Add
  4. Click on the new section then click in the text box in the right hand nav bar.
  5. Paste the following code. Swap example.matomo.cloud with your own Matomo server and enter the correct site id.

<script type="text/javascript">
var _paq = window._paq || [];
/* tracker methods like "setCustomDimension" should be called before "trackPageView" */
_paq.push(['setDocumentTitle', window.parent.document.title]);
_paq.push(['setCustomUrl', window.parent.location])
_paq.push(['trackPageView']);
_paq.push(['enableLinkTracking']);
(function() {
var u="https://example-replace-me.matomo.cloud/";
_paq.push(['setTrackerUrl', u+'matomo.php']);
_paq.push(['setSiteId', '9']);
var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
g.type='text/javascript'; g.async=true; g.defer=true; g.src='//example-replace-me.matomo.cloud/matomo.js'; s.parentNode.insertBefore(g,s);
})();
</script>
<!-- End Matomo Code -->

  1. Click Publish

Congratulations, you are successfully tracking your visitors on this particular page.

To add the tracking to more pages or all your pages, you will need to complete this procedure for each page you want to track. (Unfortunately at this time this is the only solution we know of).

Happy Analytics!

Previous FAQ: How do I install the Matomo tracking code on Drupal?