Skip to main content


Optimizely Knowledge Base

Integrating Optimizely Classic with Gigya

This article will help you:
  • Enable the Gigya integration in Optimizely
  • Create new audiences using the Gigya integration

This integration allows you to create targeted audiences in Optimizely based on visitor segments in Gigya. From there, you can run targeted tests and personalization campaigns.

Enabling Gigya in Optimizely

To enable Gigya for a project, go to the Integrations tab on the Home page and toggle the button to On in the right sidebar.


This will connect your project with Gigya, so Optimizely can read the segments defined in your Gigya account.


Under our current implementation, if a user loads Gigya after they load Optimizely (i.e. "lower on the page"), the integration makes use of Gigya's onServiceReady callback. If the client is already using onServiceReady for some other purpose, the integration may cause a conflict.

Creating a Gigya Audience

After enabling the Gigya integration, you can create Optimizely Audiences (or add Gigya conditions to current Audiences) based on visitor segments in Gigya. To do this, go to the Overview > Audiences tab and click New Audience.

In the audience builder, click on the Gigya drop-down and drag the Audience Segment condition into the Audience Conditions. Complete the open fields.

Gigya makes the following data attributes available conditions in the Audience Builder:

  • Age
  • Country
  • Gender
  • Language
  • Relationship Status
  • Religion
  • State
  • Zip Code 

In this example, we created an audience with the condition that Age is between 25-40 years:


Once you have set your audience conditions, click Save Audience. You should now be able to see your Gigya segments in Optimizely.
To learn more about Gigya's data attributes, please visit their user object documentation.