21.1 Overview

Custom Parameters allow an Advanced Tracking Website to attach Website-provided information to an AIUNIFY Analytics Visitor.

AIUNIFY describes the feature as:

“Dynamically link variables from your website to tracked visitors.”

This is particularly useful when your Website already knows something about a logged-in user, member, customer, lead, or account and you want that context associated with the person's Analytics Visitor record.

The basic workflow is:

Website Knows User → Website Supplies Custom Parameters → AIUNIFY Associates Parameters with Advanced Visitor → Fingerprint Appears → Parameters Become Available in Visitor-Related Analytics

21.2 What Are Custom Parameters?

Custom Parameters are user-defined:

Key → Value

pairs supplied by your Website to AIUNIFY Analytics.

For example:

name → John Doe

email → john@example.com

user_id → 58271

The AIUNIFY Help documentation specifically gives:

  1. Email
  2. User ID
  3. Name

as examples of identifiers that can be supplied for logged-in Website users.

21.3 Custom Parameters Are an Advanced Tracking Feature

AIUNIFY identifies:

Custom parameters for visitors

as one of the capabilities of:

Advanced tracking mode.

The actual Visitor-processing logic for Custom Parameters is also part of Advanced Tracking Visitor initialization.

Therefore:

Advanced Tracking

Supports Custom Parameters attached to persistent Visitor records.

Lightweight Tracking

Does not provide the same persistent Visitor identity and Custom Parameter relationship.

21.4 Why Custom Parameters Exist

Without Custom Parameters, Analytics may know that a persistent Advanced Visitor:

  1. Returned six times
  2. Viewed Pricing
  3. Used Mobile
  4. Converted a Goal
  5. Watched several pages
  6. Generated a Replay

but may not know how that Visitor relates to your own Website's user system.

Custom Parameters allow your Website to provide additional context.

21.5 Example — Anonymous Visitor

Without Custom Parameters, a Visitor may appear primarily as:

Visitor

along with their:

  1. Sessions
  2. Geography
  3. Device
  4. Browser
  5. Website activity

The Visitor still has a persistent Analytics identity under Advanced Tracking, but no Website-provided business identifier has been attached.

21.6 Example — Identified Member

Suppose a membership Website knows that the logged-in account is:

Member ID: 7842

Name: Maria Johnson

The Website could provide corresponding Custom Parameters.

The Analytics Visitor can then be associated with those Website-supplied values.

This allows you to interpret the Visitor's behavior with additional business context.

21.7 Membership Websites

AIUNIFY specifically describes Custom Parameters as useful for:

Websites with membership systems.

When users log in, the Website can specify an identifier such as:

  1. Email
  2. User ID
  3. Name

through the tracking implementation.

21.8 Other Potential Use Cases

The same mechanism can be useful for Websites with authenticated or otherwise recognized users, such as:

  1. Customer portals
  2. Client portals
  3. Member communities
  4. SaaS applications
  5. Training platforms
  6. Account-based Websites
  7. Subscription services

The values available depend entirely on what your Website already knows and deliberately sends.

21.9 AIUNIFY Does Not Automatically Know the Visitor's Name or Email

Custom Parameters are not automatically discovered by AIUNIFY Analytics.

Your Website must explicitly provide them.

For example, Analytics cannot automatically turn:

Visitor

into:

John Smith

unless the Website itself supplies that identifying information.

21.10 Adding Custom Parameters to the Tracking Code

The built-in Help documentation instructs you to add:

data-custom-parameters='{JSON_PARAMETERS_HERE}'

to the AIUNIFY Analytics Tracking Code.

Conceptually, the implementation looks like:


<script
defer
src="YOUR_AIUNIFY_TRACKING_CODE_URL"
data-custom-parameters='{"name":"John Doe","email":"john@example.com"}'>
</script>

Use your Website's actual AIUNIFY Tracking Code URL rather than the generic placeholder shown above.

21.11 The AIUNIFY Help Example

The system's own Help example demonstrates Custom Parameters using:

name

and:

email

inside a JSON object attached to the Analytics script.

The important pattern is:

Parameter Name → Parameter Value

inside valid JSON.

21.12 Do Not Copy the Example Tracking Identifier

The Tracking Code displayed in the AIUNIFY Help example is illustrative.

Your Website must use the Tracking Code generated for its own Website record.

As covered in Chapter 5:

Websites → Tracking Code → Install pixel

provides the correct Website-specific connection.

Custom Parameters are added to that implementation.

21.13 Dynamic Parameters

The real value of Custom Parameters comes from supplying values dynamically from your Website.

For example, instead of permanently hard-coding:

name = John Doe

your Website could supply the name belonging to whichever authenticated user is currently logged in.

Conceptually:

User A logs in

user_id = 1001

User B logs in

user_id = 1002

User C logs in

user_id = 1003

Your developer is responsible for generating the correct Website-side values.

21.14 Example — User ID

A Website could supply:


{
"user_id": "7842"
}

This lets the Analytics Visitor record carry the same identifier used by your Website's user system.

The AIUNIFY Help documentation explicitly lists user_id as an example identifier.

21.15 Example — Name

A Website could provide:


{
"name": "Maria Johnson"
}

The value will then appear as a Custom Parameter associated with that Visitor when successfully received.

21.16 Example — Email

A Website could provide:


{
"email": "member@example.com"
}

Email is also explicitly listed by AIUNIFY as an example Custom Parameter.

Because an email address is personal information, only send it when appropriate for your Website's privacy, disclosure, and consent obligations.

21.17 Multiple Parameters

You can provide more than one parameter at the same time.

For example:


{
"user_id": "7842",
"name": "Maria Johnson",
"email": "member@example.com"
}

AIUNIFY stores Custom Parameters as key/value data on the Visitor record.

21.18 Use Stable Identifiers Where Possible

For long-term analysis, a stable Website identifier such as:

user_id

can often be more operationally consistent than values that may change, such as:

  1. Name
  2. Email
  3. Account status

For example:

user_id = 7842

can continue identifying the same Website account even if that account later changes its email address.

This is a recommended implementation practice, not a requirement imposed by AIUNIFY.

21.19 Custom Parameter Names Are Yours to Define

AIUNIFY does not require every Website to use the same Custom Parameter names.

The system accepts supplied key/value pairs.

Examples could include:

  1. user_id
  2. name
  3. email
  4. member_id
  5. customer_number
  6. account_type

However, use clear and consistent naming throughout your Website implementation.

21.20 Keep Parameters Focused

Custom Parameters should provide useful Visitor context.

Avoid sending large amounts of unnecessary Website/account information simply because the feature allows variables to be attached.

A useful principle is:

Send what helps Analytics interpretation—not everything your application knows.

This also reduces privacy exposure.

21.21 How AIUNIFY Processes Custom Parameters

During Advanced Visitor initialization, AIUNIFY:

  1. Receives the Custom Parameter data.
  2. Processes the parameter names and values.
  3. Associates the resulting data with the persistent Visitor.
  4. Stores it with that Visitor's Advanced Analytics profile.

The Visitor record is saved alongside other information such as Geography, Browser, Device, Screen Resolution, and activity dates.

21.22 Parameters Are Attached to the Visitor, Not a Single Pageview

This is an important distinction.

Custom Parameters belong to the Advanced:

Visitor record

rather than being merely a label attached to one Pageview.

That is why the same Custom Parameters can appear throughout Visitor-related Analytics areas.

21.23 The Fingerprint Indicator

When a Visitor has Custom Parameters, AIUNIFY Analytics replaces the ordinary Visitor-avatar presentation in several areas with a:

Fingerprint icon

The Help documentation explicitly explains that the fingerprint indicates a Visitor has been identified using Custom Parameters.

21.24 Visitors Screen

On:

Visitors

a Visitor with Custom Parameters displays the fingerprint icon.

Hovering over it provides a tooltip showing:

  1. Number of Custom Parameters
  2. Parameter Names
  3. Parameter Values


21.25 Example Visitors Tooltip

Suppose the Visitor has:

user_id
7842

name
Maria Johnson

account_type
Premium

The fingerprint tooltip can display those key/value pairs.

This lets you obtain Visitor context without opening the full Visitor record.

21.26 Custom Parameter Count

The tooltip uses the label:

%s custom parameters

For example:

3 custom parameters

This indicates how many parameter entries are currently associated with the Visitor.

21.27 Opening the Visitor

Clicking the fingerprint icon opens the individual:

Visitor

record.

There, Custom Parameters have their own dedicated section labeled:

Custom parameters.

21.28 Individual Visitor Display

Inside the Visitor profile, AIUNIFY displays each Custom Parameter as:

Key → Value

For example:

user_id 7842
name Maria Johnson
account_type Premium

If no Custom Parameters exist, the interface displays:

None.

21.29 Custom Parameters and Visitor History

Once you open the identified Visitor, you can combine the supplied Website identity information with Analytics information such as:

  1. Total Sessions
  2. First Session
  3. Last Active
  4. Average Time per Session
  5. Geography
  6. Device
  7. Browser
  8. Session History
  9. Goal Conversions

This turns Custom Parameters into context for the Visitor Journey rather than a standalone report.

21.30 Custom Parameters in Pageviews

For Advanced Tracking, Custom Parameters can also appear in the:

Pageviews

table.

When a Pageview belongs to a Visitor who has Custom Parameters, AIUNIFY can display the fingerprint icon rather than the normal Visitor avatar.

21.31 Pageview Tooltip

Hovering over the fingerprint from an Advanced Pageview can display the Visitor's Custom Parameters.

This makes it possible to move from:

Pageview

to:

Known Website Context

without first opening the full Visitor profile.

21.32 Example — Identified Pageview

Suppose you see:

Pageview: /pricing

with a fingerprint.

Hovering may show:

user_id → 7842

account_type → Enterprise Trial

You now know that this Pricing Pageview belongs to the Visitor carrying those Website-provided parameters.

21.33 Custom Parameters in the Replays List

Session Replays also use the Custom Parameter fingerprint.

A Replay belonging to an identified Visitor can display the fingerprint icon with its parameter tooltip.

This can be particularly useful when investigating a specific member or customer Website experience.

21.34 Custom Parameters Inside a Replay

The individual Replay screen also includes the Visitor's Custom Parameters.

When parameters exist, the fingerprint control displays them and links back to the Visitor profile.

This creates the relationship:

Known Website User → Analytics Visitor → Session → Replay

21.35 Example — Customer Support Investigation

Suppose a customer reports:

“I could not complete the application.”

If your Website supplies a stable customer/user identifier through Custom Parameters, you may be able to identify the associated Visitor.

You could then review:

Visitor

Sessions

Pageviews

Session Events

Replay when available

This can provide useful behavioral context around the reported problem.

21.36 Example — Membership Platform

Suppose your membership Website sends:

member_id → 88492

You could open that Visitor and review:

  1. When they first appeared
  2. Their last activity
  3. How many Sessions they created
  4. Which pages they visited
  5. Whether they completed Goals
  6. Available Session Replays

This is the type of membership-system use case AIUNIFY specifically identifies for Custom Parameters.

21.37 Example — SaaS Application

A SaaS Website could potentially provide:

user_id

and:

plan_type

to give the Visitor record application-level context.

For example:


{
"user_id": "45991",
"plan_type": "Business"
}

This is an implementation example; the actual parameter names and values are determined by your Website.

21.38 Example — Lead Portal

A lead portal might use a non-sensitive internal identifier such as:


{
"lead_id": "L-89522"
}

This could allow internal teams to associate Analytics behavior with an existing business record without necessarily placing a person's full name into the Analytics parameter set.

21.39 Custom Parameters Are Not a CRM

Custom Parameters add context to Analytics Visitors.

They are not a replacement for:

  1. CRM records
  2. Customer databases
  3. Membership databases
  4. Billing systems
  5. Contact-management systems

Think of Custom Parameters as a bridge between:

Website/User Context

and:

Analytics Behavior

21.40 Custom Parameters Do Not Change Visitor Tracking

Adding Custom Parameters does not create a separate Analytics Visitor every time a value is supplied.

The Custom Parameter data is stored with the persistent Advanced Visitor record identified by the Analytics Visitor identity.

This allows Website-provided context and Advanced Visitor history to coexist.

21.41 Custom Parameters Can Be Updated

The Visitor storage process supports updating the Custom Parameter information associated with an existing Advanced Visitor as that Visitor is processed again.

This matters when Website-provided information changes.

For example, an account may later have a different:

  1. Name
  2. Email
  3. Membership status
  4. Customer classification

How and when those new values are supplied depends on the Website implementation.

21.42 Use Current Website Values Carefully

Because Custom Parameters can represent dynamic Website values, decide which attributes should remain stable and which should change.

For example:

Stable

user_id

Potentially Changeable

email

membership_level

account_status

Your implementation strategy should reflect how you intend to interpret historical Visitor information.

21.43 Custom Parameters Are Not a Standard Analytics Filter

The standard Advanced Visitor filter set includes attributes such as:

  1. Country
  2. City
  3. Device
  4. Browser
  5. Operating System
  6. Screen Resolution
  7. Browser Language
  8. Browser Timezone
  9. IP when available

It does not expose Custom Parameter keys as a standard Add filter field in the current Analytics filter interface.

Therefore, do not expect a standard control such as:

Filter → user_id → Is → 7842

in the current Visitor filter panel.

Use the fingerprint/Visitor records to inspect Custom Parameter information.

21.44 JSON Format Must Be Valid

The Tracking Code expects the value supplied to:

data-custom-parameters

to represent Custom Parameter data in JSON form.

For example:


data-custom-parameters='{"user_id":"7842","name":"Maria Johnson"}'

Use properly formatted:

Key : Value

pairs.

The Help documentation specifically instructs users to place JSON parameters inside the attribute.

21.45 Quotation Marks Matter

A common implementation error is incorrectly nesting quotation marks.

The AIUNIFY example uses:

  1. Single quotes around the complete HTML attribute value
  2. Double quotes around JSON keys and values

Conceptually:


data-custom-parameters='{"name":"John Doe"}'

This keeps the JSON properly structured inside the HTML attribute.

21.46 Add Custom Parameters to the Existing Tracking Code

Do not install a second AIUNIFY Analytics pixel just to provide Custom Parameters.

Instead, modify the appropriate existing Website Tracking Code so it includes the:

data-custom-parameters

attribute.

Conceptually:

Existing Analytics Script


data-custom-parameters

=

Advanced Tracking with Website-provided Visitor context

21.47 Recommended Implementation Workflow

Use this process:

  1. Confirm the Website uses Advanced Tracking.
  2. Confirm the standard AIUNIFY Tracking Code is installed.
  3. Decide which Website identifier(s) are useful.
  4. Confirm your privacy basis for sending them.
  5. Have the Website generate the correct values dynamically.
  6. Add data-custom-parameters to the tracking script.
  7. Sign in or browse as a test Website user.
  8. Generate tracked Website activity.
  9. Open Visitors.
  10. Look for the fingerprint icon.
  11. Hover over the fingerprint.
  12. Confirm the expected values.
  13. Open the Visitor.
  14. Confirm the Custom parameters section.

21.48 Testing Custom Parameters

After implementation:

  1. Use a test Website account.
  2. Sign in normally.
  3. Visit one or more tracked pages.
  4. Return to AIUNIFY Analytics.
  5. Open Visitors.
  6. Find the recent Visitor.
  7. Check for the fingerprint.
  8. Hover over it.
  9. Confirm the key/value pairs.
  10. Open the Visitor for full verification.

Do not use sensitive real-customer information merely for a technical test when a safe test account can be used instead.

21.49 Troubleshooting — No Fingerprint Appears

Check:

Tracking Type

The Website must use:

Advanced Tracking

Tracking Code

Confirm the correct Website's Tracking Code is installed.

Attribute

Confirm the script contains:

data-custom-parameters

JSON

Confirm the JSON is valid.

Values

Confirm the Website actually generated values for the current user.

Activity

Generate new Website activity and recheck Visitors.

21.50 Troubleshooting — Fingerprint Appears but Values Are Wrong

If the fingerprint exists but the values do not match the expected Website account:

  1. Inspect which values your Website is sending.
  2. Confirm the correct logged-in account.
  3. Confirm server/template variables are mapped correctly.
  4. Generate new test activity.
  5. Reopen the Visitor.

AIUNIFY displays the parameter values supplied to the Visitor record; it does not independently verify that your Website mapped them to the correct customer.

21.51 Troubleshooting — Only Some Parameters Appear

Check:

  1. JSON syntax
  2. Parameter names
  3. Parameter values
  4. Whether any field is empty or malformed
  5. Whether your Website generated all intended variables

AIUNIFY processes supplied parameter keys and values before storing them.

Keep the parameter set focused rather than attempting to send large application records.

21.52 Troubleshooting — Parameters Do Not Appear on Old Visitors

Custom Parameters are supplied through Website tracking activity.

Installing Custom Parameters today does not mean AIUNIFY can retroactively know historical Website account information that was never previously sent.

Generate new tracked activity for the applicable Visitor and verify the implementation.

21.53 Troubleshooting — Visitor Shows “None”

On the individual Visitor page:

Custom parameters → None

means no Custom Parameter data is currently available on that Visitor record.

Check the Website implementation rather than expecting Analytics to generate identity values automatically.

21.54 Custom Parameters and Pageview Export

Advanced Pageview data includes Visitor Custom Parameters in the JSON export representation, while the standard CSV field list does not include the Custom Parameters field.

This distinction matters if you use exported Pageview information for further analysis.

Export functionality itself will be covered in detail in Chapter 23.

21.55 Custom Parameters and the Analytics API

The source also supports working with Visitor Custom Parameters through the user API.

The API can accept indexed:

  1. Custom Parameter Key
  2. Custom Parameter Value

fields for a Visitor.

Detailed API operation belongs in:

Chapter 30 — Using the Analytics API

For ordinary Website implementation, the Tracking Code method remains the primary workflow described by AIUNIFY Help.

21.56 Custom Parameters and Privacy

Custom Parameters can contain personally identifiable or account-related data depending on what your Website sends.

Examples such as:

  1. Name
  2. Email
  3. User ID

can increase the sensitivity of the Analytics Visitor record.

AIUNIFY's own Advanced Tracking Help states that permission should be considered for Advanced Tracking.

Your organization is responsible for determining its applicable privacy, disclosure, consent, and data-handling obligations.

21.57 Do Not Send Passwords

Never use Custom Parameters to send:

  1. Passwords
  2. Authentication secrets
  3. API keys
  4. Access tokens
  5. Private security codes
  6. Payment credentials

Custom Parameters are meant to provide useful Analytics context—not to store authentication or security secrets.

21.58 Minimize Sensitive Information

Before adding a parameter, ask:

Do we actually need this value to understand Website behavior?

For example, an internal:

customer_id

may sometimes provide enough operational context without also sending additional personal details.

Choose the minimum information needed for the Analytics use case.

21.59 Consider Internal Identifiers

Where appropriate, an internal identifier can reduce the need to expose additional personal information within Analytics.

For example:


{
"customer_id": "C-58492"
}

Your authorized business system can maintain the relationship between that ID and the customer.

This is a privacy-conscious implementation strategy, not an AIUNIFY requirement.

21.60 Restrict Access Appropriately

Because Custom Parameters can provide identity context alongside behavioral information, access to AIUNIFY Analytics should be limited appropriately.

Authorized users may potentially see:

Identity Context + Sessions + Pageviews + Goals + Replays

depending on the Website's configuration.

Use Team access and account security deliberately.

21.61 Custom Parameters + Visitor Journeys

The most powerful Custom Parameter workflow is:

Website Account

Custom Parameters

Advanced Visitor

Sessions

Pageviews / Events

Goals

Replays when available

This lets Analytics behavior be understood in the context of a Website-recognized account.

21.62 Custom Parameters + Goals

Suppose the Visitor carries:

customer_id → C-58492

and has:

Total Conversions: 2

You can open the Visitor and review:

  1. Goal Conversions
  2. Sessions leading to those conversions
  3. Pageviews
  4. Replay activity

This connects Website-provided identity context with measurable business outcomes.

21.63 Custom Parameters + Replays

For Advanced Tracking:

Fingerprint → Replay

can be particularly useful for diagnosing specific reported user experiences.

For example:

Customer C-58492 reports an application problem.

If a Replay exists for the associated Session, you may be able to review the recording with that Visitor context.

21.64 Custom Parameters + Pageviews

Custom Parameters also make individual Advanced Pageview records easier to contextualize.

Instead of seeing only:

Visitor → /pricing

you may see:

Fingerprint → Customer/User Context → /pricing

This can help when analyzing authenticated user activity.

21.65 Custom Parameters + Customer Support

A useful support workflow is:

  1. Receive customer/user issue.
  2. Obtain the appropriate Website-side identifier.
  3. Locate the associated Analytics Visitor when possible.
  4. Review Sessions.
  5. Review Pageviews.
  6. Review Session Events.
  7. Review Replay when available.
  8. Compare with expected Website behavior.

Custom Parameters can make this workflow substantially more useful than anonymous Analytics alone.

21.66 Custom Parameters + Product Analysis

For logged-in software or membership applications, parameters can help distinguish different types of Website users.

For example:


{
"user_id": "8821",
"account_type": "Business"
}

You can then interpret that Visitor's journey with additional product/account context.

Remember that the current standard Analytics Filters do not automatically turn arbitrary Custom Parameter names into filter dimensions.

21.67 Recommended Parameter Strategy

Before implementation, define a simple parameter standard.

For example:

Primary Stable Identifier

user_id

Optional Human Context

name

Optional Business Context

account_type

Avoid inconsistent naming such as:

userId

on one page,

user_id

on another,

and:

userid

elsewhere.

Consistency makes the Analytics data easier to interpret.

21.68 Recommended Privacy-Conscious Strategy

A conservative approach is:

  1. Use a stable internal identifier.
  2. Add additional identifying fields only when genuinely needed.
  3. Avoid secrets or highly sensitive information.
  4. Disclose tracking appropriately.
  5. Limit Analytics access.
  6. Review retention and privacy controls.
  7. Provide Visitor tracking controls where required.

The broader AIUNIFY privacy and opt-out features are covered in Chapter 22.

21.69 Custom Parameters Checklist

Before using Custom Parameters, confirm:

  1. Website uses Advanced Tracking
  2. Correct AIUNIFY Tracking Code installed
  3. Useful parameters identified
  4. Parameter naming standardized
  5. Values generated dynamically where required
  6. Valid JSON used
  7. data-custom-parameters added to the correct tracking script
  8. No passwords, tokens, or security secrets included
  9. Privacy requirements reviewed
  10. Test account used
  11. Fingerprint appears in Visitors
  12. Tooltip values verified
  13. Individual Visitor values verified
  14. Pageviews checked where relevant
  15. Replays checked where relevant
  16. Team/access permissions considered

21.70 Understanding the Complete Custom Parameter Workflow

The Custom Parameter process can be summarized as:

Advanced Tracking Website

Website Recognizes User

Website Generates Key/Value Information

AIUNIFY Tracking Code Receives data-custom-parameters

Parameters Associated with Persistent Visitor

Fingerprint Indicator Appears

Custom Parameters Available in Visitor Context

Visitor → Sessions → Pageviews → Goals → Replays

Behavior Can Be Interpreted with Website-Provided User Context

21.71 What You Should Know Before Moving On

You should now understand that Custom Parameters allow an Advanced Tracking Website to dynamically attach Website-provided variables to a persistent AIUNIFY Analytics Visitor.

AIUNIFY specifically recommends the feature for membership-style systems and identifies email, user_id, and name as example values.

Implementation uses the:

data-custom-parameters

attribute on the Website's Analytics Tracking Code, containing JSON key/value data.

Once Custom Parameters are associated with the Visitor, AIUNIFY uses the fingerprint icon to identify that additional context in areas such as Visitors, Advanced Pageviews, and Session Replays, while the individual Visitor page displays each parameter directly.

Most importantly:

Custom Parameters do not identify Visitors by themselves.

Your Website supplies the identity/context, and AIUNIFY associates it with the Advanced Visitor record.

Write Your Comment