Wix Analytics - Website statistics

Wix Analytics

Real time web analytics for Wix

AFS Analytics is a web analytics tool that measures the traffic of your website in real-time. Easy to use, our software offers valuable information about your visitors.

AFS Analytics increases the speed of your website

Speed is a critical and often neglected part of website design, but it can make a huge difference in user experience. By using asynchronous technology, our tracking code lets your website load faster.

Install AFS Analytics on your wix website

Below is a step by step guide on how to install the tracking code in your site within five minutes.

1. Open an account on the AFS Analytics website and add your Wix website. Each website your add will get a unique website ID.
2. Copy the tracking code below and change the "XXXXXXXX" with your website ID on the line aa("create", "XXXXXXXX", "auto");.

<!DOCTYPE html>
<title>Wix Analytics - https://www.afsanalytics.com/info/25/wix-analytics.html </title>
  <script src="//sslstatic.wix.com/services/js-sdk/1.43.0/js/wix.min.js"></script>
        (function(i,s,o,g,r,a,m){i['AfsAnalyticsObject']=r;i[r]=i[r]||function(){(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)})(window,document,'script','//code.afsanalytics.com/js/analytics.js','aa');
        aa("create", "XXXXXXXX", "afs");
        aa("set", "autotrack", "off");
        var oldurl="none";
          var afscall = function() {
            Wix.getSiteInfo(function(site) {
            if (site.url === oldurl) return;
            var afs_page=site.pageTitle;
            var afs_url=site.url;
            var afs_ref=site.referrer; 
            aa("set","referrer",afs_ref) ;
      Wix.addEventListener(Wix.Events.PAGE_NAVIGATION, afscall);
      setInterval(afscall, 2000);

3. Next you need to log in to your Wix account.
4.Click on "Edit Site" button which will display the editor of your website.
5. Now click on the "Plus" icon on the left menu.

Wix Analytics

6. From the menu that opens, click on "More" button.

Wix Analytics

7. Click on "HTML Code" option.

Wix Analytics

8. A new HTML /embed code box opens up and this is where you should paste the AFS Analytics tracking code.
a. Click on the toothed wheel.
c. A "HTML Settings" box appears.
d. Select the "code" switch and paste the AFS tracking code with the string "XXXXXXX" replaced with your own website ID into the "Add your code here" area.
e. Click on the "Update" button.

Wix website statistics

9.The next step is to apply this on all website pages. To do this, enable the switch "Show on all pages" and then click on "Update".

Wix Analytics

10. To finish the installation, resize the box, drag the icon to the desired location and then publish the changes. The AFS Analytics tracking code is now installed and should start to track your visitors.

How to view your Wix metrics and statistics

To access the website analysis, log into your AFS Analytics account.

Because the code is pasted into a iframe. AFS Analytics can't track the events. The normal AFS code doesn't work with WIX website, so you need to use this code.

By AFS Website Analytics.

Go Top

AFS Analytics uses LiveDisplay Tachnology