Tracking Code Implementation Details
Add Tracking Code To all Pages You Wish to Monitor
Copy And Paste Code On All Your Website Pages
You’ll need to add code to each page of your site that you wish to have tracked by MVI Live Stats. If your site was created using included headers and footers, it would be as easy as adding it once to the footer. If not, you would need to add it to each page of your site individually.
The code snippet needs to be installed on all web pages you want to track. It is simple just copy and pastes the code and place before the closing tag on all your pages. Note: You must be either on a free trial or an active account in order for your stats to be collected.
Add the MVILiveSTATS tracking code to your Joomla template
Adding the Live Stats tracking code to your Joomla website is really easy. We’re going to show you how to do this through logging in to the administrator backend and editing your template’s HTML.
In Joomla 1.0.1x
If you are using Joomla 1.0.10, 1.0.11, 1.0.12, 1.0.13, 1.0.14 or 1.0.15 do the following:
- Log on to www.yoursite.com/administrator/
- In the top menu select: “Site” > “Template Manager” > “Site Templates”
- Then select the template which is marked as default and click “Edit HTML”
In Joomla 1.5
If you are using Joomla 1.5, 1.51 do the following:
- Log on to www.yoursite.com/administrator/
- In the top menu select: “Extensions” > “Template Manager”
- Now select the template which is marked as default and click “Edit”
- In the template edit page click “Edit HTML”
Adding the code to the template
If you have followed the steps above you should now be looking at your template’s HTML.
- Scroll right down to the bottom of all this code
- On the second to bottom line, you should see the tag
- You need to paste your MVILiveStats tracking code just before this tag
- Now press “save” and MVILiveStats is installed on your website!
Here is a screenshot of the HTML of a template before we added the code:
Add the code after
To access your tracking code
To retrieve your tracking code, you must have an active account with MVI Live Stats or be on a Free Trial. Upon completion of the free trial sign up, the system will send you an email that will instruct you to log in. The tracking code can then be found via the “Tracking code” link within your member’s dashboard. The code in question will look the same as the code below:
Basic installation Copy and paste the code segment into the bottom of your content immediately before the closing tag of each page. If you use a common include or template, you can place it once into all pages that utilize that included template or footer. Once you’ve completed this step, MVI Live Stats will immediately begin collecting data. You’ll be able to see data within your “Who’s Online” section and within all of your reports within minutes.
Using Macromedia Dreamweaver or other WYSIWYG If you used a WYSIWYG (“What you see is what you get”) editor such as Macromedia Dreamweaver, make sure that you don’t see the code when you’re viewing your page in a browser. Some such editors will attempt to place the code as text on your page – try to use the “source” view when you’re pasting the code to your web pages. Once your page is live, select View Source from your browser’s menu and looks for the code. It should be immediately before the closing tag of your page and should look exactly as it was provided to you. If your tracking code has been installed correctly, and you’re still not seeing data after several minutes, please contact webmaster@mviLiveStats.com and ask for assistance.
How long does it take to see data? MVI Live Stats begins updating immediately and your reports should start showing data within minutes. We recommend that after the tracking code is live that you click on your home page and every link on your site and then login into MVI Live Stats and verify that all pages on the site are displaying properly. You can easily double check this by locating your actions in your “Who’s Online” section and then clicking on your Page Views icon to see all of the pages that you’ve looked at.
Incorrect tracking code
The most common reason why you’re not seeing any data in your reports is because of an error in the implementation of the MVI Live Stats tracking code. Copying the pasting code into a word processor may add an extra space or change the quotation marks in the tracking code by the time you paste it to your website. We suggest copying the code again and pasting it directly onto your website.
Viewing incorrect account If you have multiple sites set up on MVI Live Stats, you may be looking at the wrong site. Please verify that the site name at the top of the MVI Live Stats page is the website that you wish to view. Multiple site owners have a drop-down menu at the top left of the screen used to select the site you’d like to view data for.
Other scripts on your pages could be using some of the same variables as the MVI Live Stats tracking code, and therefore interfering with the tracking code execution. If you’re using additional scripts on your pages, consider moving the tracking code into a different section of the page. This way, the tracking code will work correctly, and it won’t interfere with the rest of your scripts.
Visits from China
Due to the way internet traffic is handled in China, some visits from China may be under-reported. While this issue is not unique to MVI Live Stats we do take the issue seriously and are working to find solutions. You can continue to use MVI Live Stats to analyze overall traffic trends and patterns for your site as the decrease has been proportionally consistent during this period.
Incorrect filter settings in Reports Section Incorrect filter settings can affect the data you see, and may unintentionally filter all of your data from your reports. This happens most frequently due to incorrect reports settings. To fix this, double- check the settings that you have selected for the report you are running to be sure it is providing you the data you are looking for.