Save Login

Web Master's Guide

For KeywordTool's Tracking Tag Placement

Please read this carefully before you implement the counting tag.

KeywordTool

  • Tracks information on which search engines send traffic to your website.
  • Indexes which search terms (or keyword phrases) and/or categories were used by the searcher.

PLEASE NOTE:
The tracking tag must be placed on all pages on the website that are indexed in the search engines or directories. Some search engines use Meta robots that index all website pages.

  1. As a minimum the tracking tag should be placed on the index (or home) page, the one that loads when you enter the URL directly into the address field of your browser: http://www.mycompany.com
  2. One option is to make an "include" file, which contains the KeywordTool tracking tag. This way you only have one place to implement the tag. You then call the include file from the HTML header of each web page. If you already have a standard HTML header in an include file, you can place the KeywordTool tracking tag in this standard HTML header.
  3. The tracking tag is a java script, which works in all new browsers. (Tested with Internet Explorer 4.0, Netscape 4 and newer browsers).
  4. If your site uses multiple hostnames, then ALL hostnames must appear in line 4 of the script
    (see example #2 below).
  5. The tag must ALWAYS be placed in the HTML code header section, meaning between the…
    <head> and </head> (see example #3 below).
  6. If your web site uses a frameset you must place the tag in the HTML header of the frameset. If your site allows the search engines to index other frames, you can also place a second counting tag in the HTML header of that frame. This will not cause double counting as the construction of the counting tags prevents this.

The KeywordTool Tracking Tag Structure

Script Structure - Example 1

<SCRIPT LANGUAGE="JavaScript">
var ref = document.referrer.replace(/&/g,'¤s2land¤');
var geturl = "http://engine.search2l.com/engine/se.cfm?customerID=100&ocmsref=" + ref;
function Search2L()
{
if ((ref.toLowerCase().indexOf('mycompany.com') == -1) && (ref.length > 5))
{
var result = '<' + 'script type="text/javascript" language="javascript" src="' + geturl + '"><'+'/'+'script>';
document.writeln(result);
};
};
Search2L();
</SCRIPT>

Hostnames

If your site uses multiple hostnames, then ALL hostnames must appear in line 4 (line 4 must be all in ONE line).
The java script can then be adjusted. For example, if you have a web site with the following 3 hostnames:

  • www.mycompany.info
  • www.mycompany.com
  • shop.mycompany.com

Your script will look like the following. Remember the line with the host names must be all in on ONE line and has only been split up in this example to fit the paper requirements.

Script Example 2:

<SCRIPT LANGUAGE="JavaScript">
var ref = document.referrer.replace(/&/g,'¤s2land¤');
var geturl = "http://engine.search2l.com/engine/se.cfm?customerID=100&ocmsref=" + ref;
function Search2L()
{
if (((ref.toLowerCase().indexOf('mycompany.com') == -1) ||
(ref.toLowerCase().indexOf('mycompany.info') == -1) ||
(ref.toLowerCase().indexOf('shop.mycompany.com') == -1)) && (ref.length > 5))
{
var result = '<' + 'script type="text/javascript" language="javascript" src="' + geturl + '"><'+'/'+'script>';
document.writeln(result);
};
};
Search2L();
</SCRIPT>

Note
You must include ALL hostnames that your website uses, otherwise the java script may cause very high unnecessary traffic on the KeywordTool servers which can cause inaccurate information in your tracking results.

 

Where to Place the Tracking Tag in your HTML

The KeywordTool tracking tag must ALWAYS be placed in the HTML code header section, meaning between the <head> and </head>. This is an example of the correct implementation on a standard web page:

Script Example 3:
<html>
<head>
<title>MYCOMPANY</title>
<meta NAME="revisit-after" CONTENT="7 days">
<SCRIPT LANGUAGE="JavaScript">
var ref = document.referrer.replace(/&/g,'¤s2land¤');
var geturl = "http://engine.search2l.com/engine/se.cfm?customerID=100&ocmsref=" + ref;
function Search2L()
{
if (((ref.toLowerCase().indexOf('mycomapny.com') == -1) ||
(ref.toLowerCase().indexOf('mycomapny.info') == -1) ||
(ref.toLowerCase().indexOf('shop.mycompany.com') == -1)) && (ref.length > 5))
{
var result = '<' + 'script type="text/javascript" language="javascript" src="' + geturl + '"><'+'/'+'script>';
document.writeln(result);
};
};
Search2L();
</SCRIPT>
</head>
<body bgcolor="#D4D4D4" text="#000000">
<table . . . .

Frames
If your web site uses a frameset you must place the tag in the HTML header of the frameset. If your site allows the search engines to index other frames, you can also place a second counting tag in the HTML header of that frame. This will not cause double counting as the construction of the counting tags prevents this.

Conversion Tag

The Conversion Tag is how you track how many sales or signups your website has received, as well as from which search engine and keyword phrase.

  • To create your conversion tag log into your account at http://www.keywordtool.net and click the "Conversions" button at the top of the page.
  • Click the "Create new target page" on the right hand side.
  • Enter your Page Name, Description, Web Address of the page, and the Average Profit per customer who sees this page.
  • Click the "Submit" button.
  • Copy the code that is in the "HTML String" field. This code will need to be added into the main <body> part of your target page.


Your conversions will now display when viewing your stats.

You can create as many conversion tags as you wish. If you cannot get an average price per customer visit you may want to separate the conversion tags into different conversion pages that you can get an average price for.

 
Home
Product Info
Features
Online Demo
Case Scenario
Prices
Sign Me Up
FAQ's
Contact Us
About Us
Resellers