Urchin WebAnalytics Software is discontinued and is no longer supported. All Urchin documentation applies only to the Urchin product as it was at the time of discontinuation, and does not apply to any Google Analytics products or services.

How To Use Master Tracking Codes

How To Use Master Tracking Codes

Urchin allows you to tag your links using master tracking codes (a utm_id) instead of individual variables. You simply use utm_id in your links, and define the meaning of each utm_id in a table. For example, instead of

you can use the UTM variable utm_id as follows.

Using utm_id hides your campaign tracking variables from web surfers and makes your tagging process less error-prone, since campaign tracking variable values are specified in a table, where corrections and changes are easily made.

To use master tracking codes, you

  • Define your codes in a table
  • Apply the table as a filter to your profile
  • Use your master tracking codes in your links

Defining Your Codes

To define your codes:

  1. Create a table in Excel that maps your codes to a set of campaign variables.
    • The first row of the file must begin with "#Fields:", followed by UTM variable names in any order. Each row defines the campaign variable settings for the master tracking code you place in the #Fields column. Use a hyphen (-) to indicate no value. You may omit any fields from the table for which there are no values for any code. Add a blank line in the end of the file. (The last line of the file should not have any text).
  2. Save the Excel table as a tab delimited plain text file in the lib/custom/lookuptables directory of your Urchin distribution. You must save the file with an extension of ".lt".


Applying the Table to Your Profile

To apply the table to a profile:

  1. Log in to Urchin as an administrator and click Configuration (top right of interface).
  2. Edit the profile to which you wish to apply the master tracking codes.
  3. On the Filters tab, click the Add icon.
  4. In the Filter Wizard, under Filter Type, select Lookup Table.
    • The Table Name field appears in the wizard.
  5. From the Table Name drop down list, select the name of the table you created. If your table does not appear in the drop down list, make sure that the table file name ends with .lt and that it has been saved in the lib/custom/lookuptables directory of your Urchin distribution.
  6. From the Filter Field drop down list, select utm_id (AUTO).
  7. Click Finish.

Using Your Codes in Your Links

Use the values in the Fields column of your lookup table as utm_id values. For example, using the lookup table created in this article, above, you might tag a link as follows:

Additional Notes

If you use utm_id in conjunction with other UTM variables in a link (such as utm_source), the values of the other variables will be overwritten with the values you defined in your lookup table.

Clear search
Close search
Google apps
Main menu
Search Help Center