Skip to main content
Send Us Your Form, and  We’ll Convert It Into an Online Form  For Free.

Capturing Parent Page URL and Details with Embedded HIPAAtizer Forms

When a HIPAAtizer form is embedded on a website, it can automatically capture information about the parent page where the form is displayed.

This is useful for analytics, troubleshooting, campaign attribution, and understanding where submissions are coming from.


Supported Parent Page Variables

When a form is embedded (for example, on a WordPress page), the following variables are automatically available with each submission:

  • hptz_host – Host of the parent page
  • hptz_hostname – Hostname without protocol
  • hptz_href – Full parent page URL
  • hptz_origin – Protocol and hostname
  • hptz_pathname – Page path
  • hptz_port – Port number (if present)
  • hptz_protocol – Protocol (http: or https:)

These values are resolved from the browser context where the form is embedded and submitted.


Add Fields to Store Parent Page Data

To store these values as part of the submission, add input fields to your form with Unique Names that exactly match the variable names.

Example unique names:

hptz_host

hptz_hostname

hptz_href

hptz_origin

hptz_pathname

hptz_port

hptz_protocol

When the form is submitted, HIPAAtizer will automatically populate these fields with the corresponding parent page values.


Hide Parent Page Fields from the Submitter

Because these fields are intended for internal use, they should not be visible to the form submitter.

Recommended approach:

  1. Group the parent-page fields into a separate row
  2. Click the row pencil icon
  3. Enable one or both options:
    • Hide Row
    • Not Visible to External Client

This ensures the data is collected without affecting the user experience.


Capturing Query Parameters (Including UTM Tags)

HIPAAtizer can also capture query parameters from the page where the form is embedded, such as UTM tags and ad tracking values.

For detailed instructions, refer to the following guide:

Guide to Collecting UTM Tags with HIPAAtizer Forms for Enhanced Marketing Insights

This allows you to combine:

  • Parent page URL and structure
  • UTM campaign data
  • Submission data

into a single submission record.


Notes and Limitations

  • Parent page variables are available only when the form is embedded
  • These values are not populated when the form is accessed via a direct HIPAAtizer share link
  • Field unique names must match exactly (case-sensitive)