Page Tagging Implementation and Examples
- View basic page tagging instructions
- View NetInsight profile setup instructions
- View advanced page tagging examples
Basic Web Page Tagging
Data Providers can view web site metrics for their site's pages by implementing the Earth Science Data and Information System (ESDIS) Metric System (EMS) NetInsight page tags using the following simple steps:
There are several methods with which EMS Staff can assist you for easily tagging all web pages on your web servers. These include:
- Using the Apache server side includes to insert the page tag code into your web pages,
- Adding the page tag code to a common web page element such as a footer or header included in all your web pages,
- Adding the page tag code to templates used by your content management system,
- Performing a recursive search and replace,
- Using Web server plug-ins.
If you need any assistance, contact Earthdata Support.
Setting Up your NetInsight Web Metrics Profile
EMS will assist with the creation of a Page Tag Manifest to EMS to identify their tagged servers. This file can be downloaded from the templates section of this site. This manifest will be used to set up a NetInsight web metrics profile in the EMS User Acceptance Test Environment. This step is used to reconcile the NetInsight metrics we receive from your site with other collection methods, such as your Apache server log or other metrics reporting system.
Advanced Web Page Tagging Techniques
EMS has created a section with Advanced Page Tagging Examples that demonstrate advanced page tagging techniques for non-HTML documents and creating custom parameters for document tracking and form usage.
In addition, several example web applications have been created to illustrate how you would tag your own CGI data ordering or mapping applications. These include:
- Simple POST Form - tag POST method forms
- Survey Form Example - tagging form fields to track values entered and drop off rates
- Multi-form Data Ordering - example illustrating tagging of multi-form web applications
Download a .zip file of the source code for the above demonstration CGI's that includes working advance page tagging code.
Last Updated: Jan 27, 2020 at 2:42 PM EST