> ## Documentation Index
> Fetch the complete documentation index at: https://docs.gocertify.me/llms.txt
> Use this file to discover all available pages before exploring further.

# Ometria

> Start building loyal communities with targeted, gated offers.

Once the user submits their email and/or mobile number, Gocertify will send this data to the customer's Ometria account, and will create a Customer, subscribed to Email and/or SMS (according to the setup with gocertify).

After that screen, when the user successfully verifies as a target group (student, healthcare, senior, etc) a “Custom Event” (named “gocertify”) will be triggered, including the details of the verification.

With this data, you will be able to generate segments based on these events.

**See also:** [Ometria's Gocertify launch guide +](https://support.ometria.com/hc/en-gb/articles/15582974493853-Setting-up-a-gocertify-integration)

## Requirements to go live

To set up Ometria you will need to share your Ometria API key with the Gocertify team.

<Accordion title="Show step by step tutorial">
  <Steps>
    <Step title="Access project settings">
      Log into your Ometria account and in the top right corner, click on your account name and then “Settings”.

      <img className="block dark:hidden" src="https://mintcdn.com/gocertify-db9cc6b8/PPr5fj4e8e7ywwBC/images/integrations/cdp/ometria/ometriaSettings.png?fit=max&auto=format&n=PPr5fj4e8e7ywwBC&q=85&s=aa0b9778cb687f40f7f6864694797e37" alt="Ometria Settings" style={{ borderRadius: '0.5rem' }} width="740" height="432" data-path="images/integrations/cdp/ometria/ometriaSettings.png" />

      <img className="hidden dark:block" src="https://mintcdn.com/gocertify-db9cc6b8/PPr5fj4e8e7ywwBC/images/integrations/cdp/ometria/ometriaSettings.png?fit=max&auto=format&n=PPr5fj4e8e7ywwBC&q=85&s=aa0b9778cb687f40f7f6864694797e37" alt="Ometria Settings" style={{ borderRadius: '0.5rem' }} width="740" height="432" data-path="images/integrations/cdp/ometria/ometriaSettings.png" />
    </Step>

    <Step title="Add new API key">
      In the navigation menu, click on “API keys” and then “Add new API key”.

      <img className="block dark:hidden" src="https://mintcdn.com/gocertify-db9cc6b8/PPr5fj4e8e7ywwBC/images/integrations/cdp/ometria/ometriaNewAPIKey.png?fit=max&auto=format&n=PPr5fj4e8e7ywwBC&q=85&s=5f4b26120e7822533bc7332a752dab1b" alt="Ometria New API Key" style={{ borderRadius: '0.5rem' }} width="3064" height="438" data-path="images/integrations/cdp/ometria/ometriaNewAPIKey.png" />

      <img className="hidden dark:block" src="https://mintcdn.com/gocertify-db9cc6b8/PPr5fj4e8e7ywwBC/images/integrations/cdp/ometria/ometriaNewAPIKey.png?fit=max&auto=format&n=PPr5fj4e8e7ywwBC&q=85&s=5f4b26120e7822533bc7332a752dab1b" alt="Ometria New API Key" style={{ borderRadius: '0.5rem' }} width="3064" height="438" data-path="images/integrations/cdp/ometria/ometriaNewAPIKey.png" />
    </Step>

    <Step title="Name your API key">
      Add a name for this new API key, we recommend using “gocertify” or “gocertify integration”

      <img className="block dark:hidden" src="https://mintcdn.com/gocertify-db9cc6b8/PPr5fj4e8e7ywwBC/images/integrations/cdp/ometria/ometriaNameAPIKey.png?fit=max&auto=format&n=PPr5fj4e8e7ywwBC&q=85&s=361b92539f3c1df6a301caa0dc0f9dec" alt="Ometria Name API Key" style={{ borderRadius: '0.5rem' }} width="1418" height="842" data-path="images/integrations/cdp/ometria/ometriaNameAPIKey.png" />

      <img className="hidden dark:block" src="https://mintcdn.com/gocertify-db9cc6b8/PPr5fj4e8e7ywwBC/images/integrations/cdp/ometria/ometriaNameAPIKey.png?fit=max&auto=format&n=PPr5fj4e8e7ywwBC&q=85&s=361b92539f3c1df6a301caa0dc0f9dec" alt="Ometria Name API Key" style={{ borderRadius: '0.5rem' }} width="1418" height="842" data-path="images/integrations/cdp/ometria/ometriaNameAPIKey.png" />
    </Step>

    <Step title="Share with Gocertify">
      Go to onetimesecret.com and paste the new generated API key there. Even if it's not required, we encourage you to also add a random “Passphrase”. This will generate a secret link that will expire within 7 days and will be visible only once.
      Share this link with your Customer Success Manager, and we will enable your integration.

      <img className="block dark:hidden" src="https://mintcdn.com/gocertify-db9cc6b8/PPr5fj4e8e7ywwBC/images/integrations/cdp/ometria/ometriaOneTimeSecret.png?fit=max&auto=format&n=PPr5fj4e8e7ywwBC&q=85&s=7856e87fa4fd947f77351649522d5562" alt="Ometria One Time Secret" style={{ borderRadius: '0.5rem' }} width="1466" height="1268" data-path="images/integrations/cdp/ometria/ometriaOneTimeSecret.png" />

      <img className="hidden dark:block" src="https://mintcdn.com/gocertify-db9cc6b8/PPr5fj4e8e7ywwBC/images/integrations/cdp/ometria/ometriaOneTimeSecret.png?fit=max&auto=format&n=PPr5fj4e8e7ywwBC&q=85&s=7856e87fa4fd947f77351649522d5562" alt="Ometria One Time Secret" style={{ borderRadius: '0.5rem' }} width="1466" height="1268" data-path="images/integrations/cdp/ometria/ometriaOneTimeSecret.png" />
    </Step>
  </Steps>
</Accordion>

## How data will appear in  Ometria

Before you are able to see this information in your Ometria account, you will need to ask your Customer Success (at Ometria) to setup this Custom Event. Note that this can take up to 1 week.
Once set up, the data will appear in your Ometria account as a Custom Event, with the name “gocertify”:

```JSON Example of a Gocertify event in Ometria theme={null}
    [{
        "@type": "custom_event",
        event_type: "gocertify",
        id: "gcme-ABCD1234",
        timestamp: Time.now.iso8601,
        identity_email: "gustavo@gocertify.me",
        properties: {
        type: "Code",                         // ← it could be "Code" or "Deal"
        group_type: "Occupation",             // ← might not be present
        group_parent: "Key Worker",           // ← might not be present
        group_child: "NHS Worker",            // ← might not be present
        coupon_code: "EXAMPLECODE",           // ← might not be present if it's a "Deal" type.
        token: "ABCD1234"                     // ← our internal randomly generated identifier
        brand_slug: "amazon",                 // ← the identifier of the customer
        campaign_id: 1234,                    // ← the gocertify's campaign's identifier
        campaign_title: "20% OFF for Key Workers",  // ← the title of the campaign
        campaign_url: "https://secure.gocertify.me/at/amazon",   // ← the url of our campaign
        iframe_parent_url: "https://www.customer-website/keyworkers",  // ← might not be present
        date: Time.now.iso8601                // ← the current date, in iso8601 format.
        }
    }]
```

## How to create segments in Ometria

Once the Ometria team has enabled our Custom Event in your account, you will be able to create specific segments.

Go to the Segment Explorer menu and then click on “Filter customers”. Now, click on “+ Add Condition”, browse to the end of the list and select “Custom Events”, now you should see a “gocertify” item.

<Tip>
  Please note that if you don't see this event there, it means your Customer Success at Ometria hasn't enabled the event yet.
</Tip>

<img className="block dark:hidden" src="https://mintcdn.com/gocertify-db9cc6b8/PPr5fj4e8e7ywwBC/images/integrations/cdp/ometria/ometriaFilterSegment.png?fit=max&auto=format&n=PPr5fj4e8e7ywwBC&q=85&s=68d1e18cd4cf7bab2289456894ff7734" alt="Ometria Filter Segment   " style={{ borderRadius: '0.5rem' }} width="2444" height="1088" data-path="images/integrations/cdp/ometria/ometriaFilterSegment.png" />

<img className="hidden dark:block" src="https://mintcdn.com/gocertify-db9cc6b8/PPr5fj4e8e7ywwBC/images/integrations/cdp/ometria/ometriaFilterSegment.png?fit=max&auto=format&n=PPr5fj4e8e7ywwBC&q=85&s=68d1e18cd4cf7bab2289456894ff7734" alt="Ometria Filter Segment" style={{ borderRadius: '0.5rem' }} width="2444" height="1088" data-path="images/integrations/cdp/ometria/ometriaFilterSegment.png" />

Once you selected “gocertify”, you will see many different options to create a condition. The simplest one is “Event occurred”. Use this one (that is present) to filter every customer that has been verified or claimed a general offer through gocertify.

<img className="block dark:hidden" src="https://mintcdn.com/gocertify-db9cc6b8/PPr5fj4e8e7ywwBC/images/integrations/cdp/ometria/ometriaCreateCondition.png?fit=max&auto=format&n=PPr5fj4e8e7ywwBC&q=85&s=7e3edf1d1aa1eb1e969ee6f066c53c41" alt="Ometria Create Condition" style={{ borderRadius: '0.5rem' }} width="1618" height="828" data-path="images/integrations/cdp/ometria/ometriaCreateCondition.png" />

<img className="hidden dark:block" src="https://mintcdn.com/gocertify-db9cc6b8/PPr5fj4e8e7ywwBC/images/integrations/cdp/ometria/ometriaCreateCondition.png?fit=max&auto=format&n=PPr5fj4e8e7ywwBC&q=85&s=7e3edf1d1aa1eb1e969ee6f066c53c41" alt="Ometria Create Condition" style={{ borderRadius: '0.5rem' }} width="1618" height="828" data-path="images/integrations/cdp/ometria/ometriaCreateCondition.png" />

If you want to create a segment for each group we currently verify, you can then use the “Group Type”, “Group Parent” or “Group Child” attributes, according to this table of groups. For example:

<img className="block dark:hidden" src="https://mintcdn.com/gocertify-db9cc6b8/PPr5fj4e8e7ywwBC/images/integrations/cdp/ometria/ometriaCustomerFilter.png?fit=max&auto=format&n=PPr5fj4e8e7ywwBC&q=85&s=011f0a41f4d67097c2ea45befa165458" alt="Ometria Customer Filter" style={{ borderRadius: '0.5rem' }} width="1344" height="732" data-path="images/integrations/cdp/ometria/ometriaCustomerFilter.png" />

<img className="hidden dark:block" src="https://mintcdn.com/gocertify-db9cc6b8/PPr5fj4e8e7ywwBC/images/integrations/cdp/ometria/ometriaCustomerFilter.png?fit=max&auto=format&n=PPr5fj4e8e7ywwBC&q=85&s=011f0a41f4d67097c2ea45befa165458" alt="Ometria Customer Filter" style={{ borderRadius: '0.5rem' }} width="1344" height="732" data-path="images/integrations/cdp/ometria/ometriaCustomerFilter.png" />
