Adding Page Titles to a Log-based Tracking Method

Creation date: 8/10/2023 1:22 PM    Updated: 10/24/2024 12:28 PM
The Page Title is set by the <title> tag in the html of each Page, and contains a brief description of the Page's contents.

Starting with v2.55, all Angelfish Profiles contain the Page Titles report - it's shown in the Content report section.

Profiles that use a JS-based Tracking Method populate the Page Title automatically.  Tracking Code is used to grab the Page Title value, and added to the tracking gif request.

If the Page Titles report is empty, the most common reason is that the Profile uses a log-based Tracking Method.

Profiles that use a log-based Tracking Method don't show a Page Title by default - this happens because a "Page Title" field isn't available in access logs.

Fortunately, this can be fixed!  You can use a List and a Lookup Table Filter to populate the Page Titles report.

Here's how to accomplish this:



SOLUTION TASKS

  • Create a List File
  • Create a List with the List File
  • Create a Page-Level Lookup Table Filter
  • Link this Filter to the Profile
  • Reprocess Data

These tasks must be performed by an Angelfish Admin.  Details for each task are below.

1) Create a List File


In Angelfish, List Files are used to populate Lists.

A List File is an ASCII text file, ending in .txt, .tsv, or .csv, which contains:
  • A #ListFields: header in the first line of the file
  • One or more rows of data

For the Page Title solution, you need to create a List File that contains:
  • This header:  #ListFields:page,page_title
  • One row for each Page & Page Title combination

Example List File:


#ListFields:page,page_title
/pages/finance/index.aspx,Finance Department Home
/pages/finance/2024/projections/budget.aspx,Budget Projections - 2024
/pages/hr/internal/new-hire-forms.aspx,New Hire Forms

If you have a small website, you can create the List File manually.

For larger websites, we recommend using exported data to create the List File.  

You can export a list of Page & Page Titles from:
  • An Angelfish Profile that uses a JS-based Tracking Method for the same website
  • An export utility in your CMS
  • An existing sitemap

The Lists Overview article contains more information about List Files.
Help Article: Lists Overview


2) Create a List with the List File


Open the Lists object, create a new List, and populate it with the List File you just created.

You can upload the List File manually or Angelfish can copy it via UNC, SFTP, or FTP.

Help Article: Lists Overview


3) Create a Page-Level Lookup Table Filter


Config Details:
  • Filter Level = Page
  • Filter Type = Lookup Table
  • Action = Overwrite
  • List = the List created in task 2
  • Save the Filter


4) Link This Filter to the Profile


You can link the Filter to the Profile via the Profiles tab in the Filter's config, or in the Filters tab of the Profile's config.


5) Reprocess Data


Delete data & process, or use the Reprocessing Utility