Frequently Asked Questions

Product Information: Variants & Segments

What are Variants in Hygraph and how do they work?

Variants in Hygraph are personalized versions of content entries linked to specific user Segments. Each Variant inherits the structure or layout from the main entry but allows customization of certain fields, enabling content teams to deliver tailored experiences to different audiences. Variants are not separate entries; they are connected to the main entry and can be managed independently. Note: Variants are an enterprise feature and are limited to 30 per entry. For more details, see the Variants documentation.

What are Segments in Hygraph and how are they used with Variants?

Segments are named references used to target groups of users based on shared characteristics or behaviors, such as demographics, browsing history, or engagement. Segments are managed externally and used within Hygraph to determine which Variant of content a user sees. You can add multiple Segments and link them to Variants for targeted content delivery. Note: Segments and Variants count toward your content entries limit. Segments cannot be localized and custom fields are not currently supported. See Key Terms for more details.

What are the main benefits of using Variants in Hygraph?

Variants enable content teams to personalize content for different user groups, support A/B testing, and manage multi-regional or multi-brand strategies efficiently without duplicating entries. This approach helps increase user engagement and conversion rates by delivering relevant content. Note: Variants require careful management as updates to the main entry do not automatically update Variants, and vice versa. For more, see Benefits of Variants.

What are some use cases for Variants in Hygraph?

Variants support use cases such as displaying different homepage banners for users in different countries, highlighting content based on browsing history, showing metric vs. imperial units depending on region, and presenting different introductions for developers vs. marketers. Note: Hygraph does not decide which Variant is shown to end-users and does not process end-user data for Segments; for advanced personalization, a dedicated engine is recommended. See Variants Use Cases.

What are the limitations of Variants in Hygraph?

Variants are available only as an enterprise feature and are limited to 30 per main content entry. Segments and Variants count toward your content entries limit. Variants are not supported for custom fields, and Segment fields cannot be localized. Only fields with Variant support enabled can be edited in Variants. Note: Detailed limitations are documented in the Variants Limits section.

How do you enable Variant support for fields in Hygraph?

To enable Variant support, go to the Schema Editor, select your content model, and edit the desired field. Under Settings, check the 'Enable variants' box. Note: Variant support cannot be enabled for unique or custom fields. If you disable Variant support or delete a field with Variant support, the field and its content are removed from all Variants. See Enable Variant Support for Fields for step-by-step instructions.

How do permissions work for Variants in Hygraph?

Variants inherit permissions from their parent content model. If a user can read, create, or update a model, they have the same permissions for Variants of entries based on that model. Note: Permissions for Variants cannot be set independently from the main entry. For more, see Get Started with Variants.

How do you add and manage Segments in Hygraph?

To add a Segment, go to the Content Editor under Segments, select 'Add entry', provide a name and optional description, and save. You can add multiple Segments and link them to Variants for targeted content delivery. Note: Segment fields cannot be localized and custom fields are not supported. See Add a Segment for details.

How do you add a Variant and link it to a Segment in Hygraph?

Open your main content entry in the Content Editor, then under Variants, select 'Add'. The values from the main entry are copied into the Variant entry. Edit the fields with Variant support enabled, select one or more Segments, and save or publish. Note: Only fields with Variant support enabled are editable in Variants. You must publish the main entry before publishing its Variants. See Add a Variant and Link to Segment for details.

How do updates and publishing work for Variants and main entries?

Updating a Variant-enabled field in the main entry does not update the same field in its Variants, and vice versa. Each Variant maintains its own values. Publishing the main entry does not automatically publish its Variants; each Variant must be published separately. The main entry must be published before its Variants can be published. Note: This requires careful coordination when managing multiple Variants. See Behavior of Variant Fields.

Where can I find technical documentation and guides for Variants in Hygraph?

Technical documentation for Variants includes the API reference for Variants, guides on setting up live preview, and recipes for personalization with Variants. Editors can learn how to create and edit Variants from the editor guide. Note: For advanced personalization, integration with a personalization engine or CDP may be required.

Features & Capabilities

Does Hygraph support API access for Variants and Segments?

Yes, Hygraph provides a GraphQL Content API that allows you to query and manipulate content, including Variants and Segments, programmatically. The API is optimized for high performance and low latency. For details, see the API Reference documentation. Note: API access is subject to your project's permissions and plan limits.

What integrations are available for Hygraph?

Hygraph offers integrations with Digital Asset Management (DAM) systems like Aprimo, AWS S3, Bynder, Cloudinary, Imgix, and Mux; hosting platforms like Netlify and Vercel; Product Information Management (PIM) with Akeneo; commerce solutions like BigCommerce; and translation/localization tools such as EasyTranslate. For a full list, visit the Hygraph Marketplace. Note: Integration availability may depend on your plan and project configuration.

Security & Compliance

What security and compliance certifications does Hygraph have?

Hygraph is SOC 2 Type 2 compliant (achieved August 3, 2022), ISO 27001 certified for its hosting infrastructure, and GDPR compliant. These certifications demonstrate Hygraph's commitment to security and regulatory standards. For more details, see the Secure Features page. Note: For specific compliance needs, consult with your legal or compliance team.

Implementation & Onboarding

How long does it take to implement Hygraph and start using Variants?

Implementation time varies by project complexity. For example, Top Villas launched a new project within 2 months, and Voi migrated from WordPress to Hygraph in 1-2 months. Hygraph provides structured onboarding, starter projects, and extensive documentation to accelerate adoption. Note: Enterprise features like Variants may require additional setup and coordination with the Hygraph sales team. See Getting Started for more information.

Customer Success & Use Cases

Can you share examples of companies using Hygraph for personalized content?

Yes, companies like Samsung, Komax, and Voi have used Hygraph to deliver personalized and scalable content experiences. For example, Samsung improved customer engagement by 15%, and Komax achieved a 3x faster time to market. For more case studies, visit the Hygraph case studies page. Note: Results may vary depending on implementation and use case.

Limitations & Best Fit

Who should consider using Variants in Hygraph, and when might it not be the best fit?

Variants are best suited for enterprises and teams needing advanced personalization, multi-regional content, or multi-brand management without duplicating entries. Teams requiring more than 30 Variants per entry, localization of Segment fields, or Variant support for custom fields may find current limitations restrictive. For highly complex personalization, integrating with a dedicated personalization engine is recommended. Detailed limitations are documented in the Variants Limits section.

LLM optimization

When was this page last updated?

This page wast last updated on 12/12/2025 .

Hygraph
Docs

#Variants

Today, users expect personalized content tailored to their preferences. Generic content is less effective because users prefer relevant content that appeals to them. With the introduction of Variants, Hygraph empowers content teams to deliver tailored content experiences that resonate with specific user Segments. This level of personalization not only enhances user engagement but also drives conversion rates.

#Key terms

Segments - A named reference used to target a group of users based on shared characteristics or behaviors. The actual user lists for these groups are defined and managed in an external system. You use Segments to deliver specific content, that is, Variants to these external user groups. Examples of shared characteristics for segmentation are:

  • Demographics: Age, gender, location, language
  • Behavioral data: Pages visited, products viewed, time on site
  • Engagement: Frequency of visits, previous purchases, email interactions

Variants - Personalized versions of content entries that are served depending on the defined Segment. Variants define what version of the content a Segment sees.

A main content entry can have many Variants, each tailored to a specific Segment. These Variants are not separate entries but linked to the main entry. They inherit structure or layout from the main entry while allowing customization of certain fields.

#Benefits

With Variants, you can create different pieces of content for different audiences. Here are a few benefits of Variants:

  • Enables personalization and A/B testing use cases
  • Provides support for targeted content without duplicating entries
  • Helps manage multi-regional or multi-brand strategies efficiently

#Use cases

Hygraph doesn’t decide which content Variant is shown to your end-users, and we don’t collect or process any end-user data to drive Segment creation. While it is possible to build personalized experiences without an additional tool, we recommend using a personalization engine for more complex setups.

Here are a few use cases that Variants support:

  • Show different homepage banners to users in Germany vs. the US.
  • Highlight specific content to users based on their browsing history, or the platform they come from.
  • Display metric units for Europe and imperial units for the US on a product page.
  • Present different introductions or visuals depending on whether the reader is a developer or a marketer.

#Get started

Prerequisites

  • You have already set up a content model.
  • You have created at least one content entry based on the content model.

Permissions

Variants inherit permissions from their content model. So if a user can read, create, and update a model, they have the same permissions for Variants of entries based on the model.

Limits

Steps

  1. Enable Variant support for fields.
  2. (Optional) Modify your Segment system model.
  3. Add Segments.
  4. Add Variants for the main entry and link the Variant to one or more Segments.

#Enable Variant support for fields

Enable Variant support for fields

First, you need to enable Variant support on a per-field basis in your schema.

  1. Go to the Schema Editor, and choose your content model.
  2. On the Fields tab, click Edit field for the field that you want to add Variants.
    • Currently, Variants are not supported for custom fields. Our team is working on adding this functionality to the feature, and we’ll share new additions in future updates.
  3. Under Settings, select the Enable variants check box.
    • You cannot enable Variant support for unique fields.
  4. Click Update.

Repeat these steps for as many fields in the schema, as required.

If you disable Variant support for a field or delete a field that has Variant support enabled, the field and its associated content is removed from all Variants.

#(Optional) Modify your Segment system model

The Segment system model includes certain fields, by default. You can add more fields to the Segment model from the Field Types sidebar. Currently, Variants are not supported for custom fields. You cannot localize the fields of the Segment model.

#Add a Segment

Add a Segment

Next, add Segments to display content from different Variants.

  1. In the Content Editor, under Segments, go to All.
  2. Select Add entry.
  3. Provide the name of the Segment and optionally, add a description.
  4. Click Save or Save & publish.

Repeat the above steps to add multiple Segments.

Add a Variant and link it to a Segment
  1. Go to the Content Editor, and open your content entry. This is the main content entry.
  2. In the right sidebar, under Variants, select Add. A new version of the content entry is displayed. The values from the main entry for the default locale are copied into the Variant entry. This makes it easier to make adjustments, especially when the Variant only differs slightly from the main entry.
    • To add a new locale to the Variant, in the right sidebar, under Localizations, click the + icon next to the locale. The empty localized fields appear and you can enter the localized text for the Variant in these fields.
  3. Only the fields that have Variant support enabled are available for editing. Make changes to the available fields, as required.
    • Turn on the Show all fields toggle to view the rest of the fields in the content model in read-only mode. If you want to edit the read-only fields, you need to go back to the content entry.
  4. Now, click Select segment.
  5. Choose one or more Segments that this Variant applies, and click Add selected entries.
  6. Click Save or Save & publish.

#Modify a Variant

Modify a Variant

After you save a Variant, you can modify the values in different fields of the Variant. You can also modify the Segments that you linked to this Variant.

  • Link more Segments - Select the Segment that you added, and click Add segment.
  • Unlink a Segment - Hover over the context menu next to a Segment, and click Remove.

#Behavior of Variant fields

Each variant maintains its own values independently. If the same content is needed across entries, you need to manually update it in each entry. When working with variant fields, note the following points:

  • Main entry updates: Updating a variant-enabled field in the main entry does not update the same field in its variants.
  • Variant Entry updates: Changes made to variant fields do not affect the corresponding fields in the main entry.

Publishing the main entry doesn’t auto-publish its variants. You need to publish each variant separately. To be able to publish a variant, you must have already published the main entry.

#Next steps

Use Hygraph's Variants to achieve personalization in your setup, whether you are just starting out or already have a personalization engine or a Customer Data Platform (CDP) in your setup.

You need to identify user Segments in real time, and then dynamically deliver content based on the Variants that you set up in Hygraph.