A pre-defined, hierarchical tag nomenclature can provide key benefits in improving site visibility in search engines as well as providing efficiencies in the analysis of tracking data. Tag nomenclature is the most fundamental part for building an optimized site.
The main benefits are:
- Conforming to the logic in which site information architecture is built upon and thus inherently carrying the taxonomy /information segmentation of the site.
- Ensuring content updates and site re-structuring is automatically part of the ongoing search engine optimization efforts. Following a strict nomenclature enables carrying the site’s semantic architecture into the SEO efforts automatically. This is especially important for sites that continuously grow and change.
- Providing easy and robust segmentation and dimension grouping capabilities in the analysis of the site tracking data.
There are some basic best-practices in SEO when it comes to tag nomenclature. To cite a few:
- File(Filenames) and Directory Nomenclature
- The File Name
- The filename should preferably be short and descriptive. Having keywords in the filename helps, always keep in mind the trade-off between being descriptive and being concise. Keeping filenames too detailed for the sake of being very descriptive may make maintenance difficult and inefficient to keep up with.
- If you do use keywords in the domain or filename, separate them with hyphens rather than underscores, e.g. Google sees seo-checklist as seo checklist (good)
but it sees seo_checklist as seochecklist (not good)
- Directory (folder names)
- Usage of Keywords as folder names makes keyword rich URL’S -www.domain.com/keyword-phrase/Keyword.html
- Page Title Nomenclature
-
- The <title> should contain your primary keyword phrase for that page and any secondary keyword phrases that you may be targeting. For example… <title>Web Analytics Companies in New Jersey</title>. Notice that our main keyword phrase Web Analytics Companies is at the beginning of the title. We then added in New Jersey at the end since we are targeting a regionally specific group.
- Keyword meta tag
- The declaration of descriptive, relevant and most important (not every keyword you can think of) keywords for all pages.
Tagging Images
- Use relevant keyword phrases that describe the image’s relevance to the purpose of the page in the Image ALT attributes
Applying these best-practices with a hierarchical nomenclature provides consistent communication to the two main audience groups:
- The search engine crawlers that continuously scan your site and index the content.
- Your real audience, i.e. your prospects and/or existing customers.
Search engines crawl and index websites to output more relevant search results, thus provide a better user experience to their users. Use of consistent nomenclature (page titles, filename structures, image names, consistent taxonomy use in the content) makes it easier for the search engine to identify the content relevancy (or the lack thereof) and in fact gives the user what he/she wants, i.e. relevancy between searched keyword and the page landed on and easy, logical navigation from there on, a straightforward path from searching to finding.
Another area where descriptive nomenclature is beneficial is the analysis of tracking data collected by Javascript tags.
The goal is to group site visitors by segments, that would enable Google Analytics to provide standard reports and dashboard features on the specific segments defined at the tracking stage.
Google Analytics already provides some default segments, such as “new visitors vs. returning visitors”, Search Traffic, Direct Traffic. Also, advanced custom segments can be created by using dimensions that GA automatically tracks without custom tagging, such as visitor’s browser language settings, visitor region (identified by IP lookup), hour of the day the visit took place, site search status, etc.
In addition to these standard segmentation options, the data tracked with GA can be segmented in a customized way, i.e. based on application-level attributes specific to each visitor, such as user type, member vs. non-member status, state, etc. Passed to the tracking function used in tracking (_trackPageview for page view tracking, _trackEvent for event tracking, trackPageview method invoked through a Flash control button), a nomenclature fed by server-side information (authenticated user attributes, such as customer segmentation dimensions – gold, silver, bronze customers, industry, geography, etc) as well as site-level information (campaign traffic source, new vs. returning visitor, site section, product category, etc) allow key data attributes to be stitched on the click stream data. Slicing and dicing this data with Google Analytics’ filtering capabilities on the reporting end enrich the data analysis considerably.
A common example is the use of _trackPageview where upon user login, some personally unidentifiable information is passed on _trackPageview method on each page along with traffic source. For example, silver-level customers from states of New Jersey, New York, Massachusetts, Vermont, Maine, New Hampshire, Pennsylvania, Rhode Island coming from a certain traffic source, say Direct/Bookmark, can be grouped together as “Northeast Customers from Direct/Bookmark” by using a data filter condition using Regex statements in Google Analytics’ “Include” or “Search & Replace” filters:
3 different customers who log in might have these values after the login:
_trackPageview(‘logged_In /silver/PA’)
_trackPageview(‘logged_In /silver/NY’)
_trackPageview(‘logged_In /silver/NJ’)
Once this data is collected in Google Analytics, below filter settings would group this data into a “Northeast customers” profile for segment analysis:
Filter Type: Include
Filter Field: Request URI
Filter Pattern: logged_In/silver/(PANJNY)
A similar approach would be to use “Search and Replace Filter” to update the collected trackPageview value to ‘logged_In /silver/Northeast’ and use advanced segmentation or inline filters to get reports for silver customers in the Northeast region.
Looking at click stream data through the lenses of data segmentation can be the differentiating factor in deriving actionable insights to optimize your website. Therefore, building a comprehensive, logical and hierarchical tag nomenclature is a key strategic step in the tracking and analysis of your web data.