|
Step 2. Upgrading the pages with the tracking code On the next few tabs of the HitLens activation wizard deal mainly with the pages. First, you let the Wizard scan the folder where you keep the local copy of your site. The Wizard will list for you all HTML files it finds in the local copy. You will be able to choose the content group for every file. Also, you can specify the user-friendly name for each page so that your page appear in reports not as "thx.htm" but as "thank-you page: subscription" or something else like that.
Be very careful when you assign transactions to thank-you pages on the "eCommerce" tab – it is a key indicator of the relevance of your eCommerce reports, including ROI calculation. As well as the pages, transactions also can be organized into groups. When you have specified the details for each page of your site, you can insert the tracking code into these pages in your local copy. The tracking code will contain these details and report them to the Datacenter each time this particular page is requested by the visitor and loaded into their Web browser. The HitLens Activation Wizard updates the files in your local copy by writing the tracking code to them. If it happens to encounter a weird situation (it meets another HitLens tracking code, it will not be able to detect ) Step 3. Adjusting technical details To make the statistics pure, you may want to exclude your own visits or visits made from your local / corporate network. In most cases the ideal technique to exclude your visits is with the help of a cookie. Each time a script is executed in your browser, it requests a certain cookie stored on your computer and passes this cookie to the Datacenter. If this cookie is the one you've set up to exclude from your statistics, your visit will not be counted. Step 4. Uploading When your local copy is updated, you should upload all files to the server where your site is hosted. You may choose to do it with the help of your favorite FTP program, hosting control panel or FTP file manager (FTP Uploader), it doesn't matter. However you should remember to complete the following checklist: - Upload all pages that now contain the tracking code to the hosting server. In the FTP Uploader, as well as in most FTP client software, you have the option to sort files by modification date. It may be of use as those files that HitLens has just inserted the tracking code into have the latest modification date.
- Upload the special external tracking script "tracking.js" to the root directory of your site. When HitLens Activation Wizard inserts the tracking code into your pages, it puts this file into the same directory where it finds your home (index) page. So, this file should be uploaded to the same directory on your server where you keep the home page. In other words, it must be accessible at the following address: "www.yoursite.com/tracking.js".
One of the instant advantages of HitLens is that the tracking will start immediately after you upload the files. The reports can be retrieved in a few moments after the first visit is captured by the tracking script and reported to the Datacenter. What you should remember - Static Web sites are those using only browser-side technologies. No scripts are executed on the server to serve static pages.
- For static sites, HitLens installation consists mainly of automatic insertion of tracking script into the pages, dividing the pages into content groups, assigning transactions to "thank-you" pages, adjusting the technical details and uploading the changed files to the hosting server. HitLens Activation Wizard takes you through all these steps in a user-friendly mode.
- Together with uploading the pages with the tracking code, don't forget to upload the file "tracking.js" to the root directory of your site.
|