Skip to content

Commit

Permalink
formating changes + update Variations Not Switching help
Browse files Browse the repository at this point in the history
  • Loading branch information
tzjames committed Nov 6, 2024
1 parent 4abaa33 commit bc211d1
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions contentful/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ This example codebase is a Next.js app that demonstrates how to integrate **Cont

Before you begin ensure you have the following:

[] [GrowthBook account](https://www.growthbook.io) (free tier available)
[] [GrowthBook account](https://www.growthbook.io) (free tier available)
[] [Contentful account](https://www.contentful.com) (free tier available)

## Overview
Expand Down Expand Up @@ -158,7 +158,7 @@ The **GrowthBook Experiment** content model is fetched via the following GraphQL

To get specific Variation content, make an additional call to the Contentful API using its `id` and `_typname`, or, as in the example below, add the fields for each Content Type you want to be able to experiment on.

```graphql
```ts
// src/app/lib/growthbookExperiment.ts
export const GROWTHBOOK_EXPERIMENT_GRAPHQL_FIELDS = `
sys {
Expand Down Expand Up @@ -233,7 +233,8 @@ Data about which variation the user saw is sent to the client where an analytics

2. Variations Not Switching

- Confirm experiment is published
- Confirm experiment has been started and is in state "Running"
- Confirm experiment and it's parent container are published
- Check Growthbook connection
- Verify targeting attributes

Expand Down

0 comments on commit bc211d1

Please sign in to comment.