Implementation
Install or implement the opentracker.net analytics code on your site with javascript or mobile app’s sdk.
1. I’m using adobe dreamweaver, what is the best way to implement the code?
– Make sure you have created a ‘Site’ for your web site
– Do a ‘Find and replace’ command (CTRL-F)
– In the window that opens, select: Find in ‘entire local site’, and Search for ‘sourceCode’
– In the first textfield type: “”
– In the second window type: “Your personal Javascript code”
– Click “Replace All”
– Dreamweaver now searches through all the HTML pages in your “site” and replaces the “endbody tag” with the Javascript code AND the “endbody tag”.
2. Where should I put the opentracker.net javascript code?
You can paste the code anywhere on your pages.
We recommend pasting the Javascript code into the HTML page above the end </body> – tag of each page you want to track.
Save the page with the Javascript code. Upload the HTML pages that contain the Javascript code with an FTP program as with any webpage.
More advanced javascript implemetation documentation can be found in the docs
3. My site consists of frames, where should i put the javascript code?
Opentracker.net tracks every (and we mean EVERY) page in which you put the Javascript code.
You may only wish to track important pages such as those which contain your site’s content.
You can also track your navigation, frames, mail-forms, e-shops, etc., simply paste the Javascript code into every page you wish to appear in your statistics.
4. How can I track SSL https secure pages?
Opentracker supports the tracking of secure, ssl, http, shopping-cart and login-protected pages.
In order to track secure pages and avoid a pop-up a certificate warning there is one simple step necessary:
change the “http” in your website tracking javascript to “https”. The addition of an “s” will redirect your signals to a secure environment.
For example:
<!-- OPENTRACKER HTML START -->
<script src="http://script.opentracker.net/?site=example.com"></script>
<!-- OPENTRACKER HTML END -->
becomes:
<!-- OPENTRACKER HTML START -->
<script src="https://script.opentracker.net/?site=example.com"></script>
<!-- OPENTRACKER HTML END -->
Please note that the only change is the addition of an “s”.
Please note that if you have secure and unsecure pages in your site, you can use the following updated version of the script throughout your entire site.
<!-- OPENTRACKER HTML START -->
<script src="//script.opentracker.net/?site=example.com"></script>
<!-- OPENTRACKER HTML END -->
5. My website is located on my host’s server, can I use Opentracker.net?
Yes. Every online website can be tracked. To activate your account you simply need to upload the HTML pages that contain the Javascript code to your ISP’s server with an FTP program like you would do with any webpage.
6. Where can I find my opentracker.net Javascript code?
After creating an account you will automatically receive an email with your login information and unique Javascript code.
Your account page also provides you with a link to manage your site(s) and resend the Javascript code (if lost or forgotten).
7. Where do I insert the code for a WordPress site or blog?
WordPress instalation is easy, simply use our WordPress Analytics Plug-in!
8. Where do I insert the code with a Drupal site?
The easiest way to implement the script sitewise is to place the script is in in your theme template file.
called “page.tpl.php”
Located in /sites/all/themes/
9. Where do I insert the code with a Joomla site?
Javascript implementation “where do I put the script” for Joomla 1.5.x
1. login as admin to your Joomla site
2. Click on Extensions
3. Click on Template Manager
4. Select your template
5. Click “edit html” button
6. Scroll down
7. Paste code before </body>
8. click save
Your are done! Visit one of the pages where the javascript is deployed and then look at your Opentracker Online & Recent Visitors report to confirm that the script is working.
10. How do i insert the tracking javascript in Blogger
Follow the steps below in order to do this:
- Copy the Tracking tracking code from the email
- On Blogger, go to the Design > Page Elements tab and click one of the “Add a Gadget” links in the Footer (the block at the bottom)
- A popup appears with gadgets, scroll down and choose “HTML / JavaScript”
- Paste the Tracking tracking code into the text area, name it something like “Opentracker widget”
- Save (window will close)
If you have multiple gadgets in your footer, You’ll want it to be the last gadget on the page.
11. Loading speed – will the code slow down my website?
No. The Javascript code adds less than 2k to your page and will not measurably increase your page’s loading time.
You can choose from our script hosted on our Content Delivery Network (CDN) or put it on your own server.
12. Dynamic – can I use Opentracker.net on database-generated pages?
Yes. Opentracker is designed to handle database-generated pages, also referred to as ‘dynamically-generated’ pages.
This includes JSP, ASP, PHP and all other languages.
Pages are recorded based on URL, filename and title. Your pages are best identified by a human readable title. Dynamically generating a title tag will help you sort your pages.
13. I inserted the code but I cannot see any statistics, is there any delay?
There is no delay, you should be able to view online visitors in real-time.
Activation takes place within a few minutes once the account has been created, the Javascript code has been uploaded, and your first visitor (including you) has reached the site.
Some reports can take up to 30 minutes to populate, but Online VIsitors works immediately.
Some statistics won’t be available until the respective time period has lapsed, e.g. forecast, weekly statistics, etc.