Forms with PII


This custom tag will find all forms containing fields for Social Security Numbers, first names, last names, emails.

Note: This tag indicates pages with potential PII violations, but not necessarily that violations are occurring on the pages with these forms.

Under the Variable Inventory report, select ObservePoint Data and under PII Forms you can find the relevant information.

  • SSNInForm: true/false depending on social security number field presence
  • firstNameInForm: true/false depending on first name field presence
  • lastNameInForm: true/false depending on last name field presence
  • emailInForm: true/false depending on email field presence
function opReqGetAsync(paramObject, acct, callback) {
  var baseURL = "" + acct;
  var opReq = new XMLHttpRequest();
  opReq.onreadystatechange = function() {
    if (opReq.readyState == 4 && opReq.status == 200) {
  }"POST", baseURL, true);

var obj = {
	SSNInForm: false,

var forms = document.querySelectorAll('form');
	if (form != null){
		var ser = new XMLSerializer();
		var strForm = ser.serializeToString(form);
		if (|social security/igm) > -1) obj.SSNInForm = true;
		if (|first name/igm) > -1) obj.firstNameInForm = true;
		if (|last name/igm) > -1) obj.lastNameInForm = true;
		if ( > -1) obj.emailInForm = true;

opReqGetAsync(obj,'PII Forms')<br>
Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.