Skip to content

Commit

Permalink
Add missing step to setup documentation
Browse files Browse the repository at this point in the history
Added instructions to update the content in Optimizely Graph to ensure the next step (deployment to Vercel) works without errors.
  • Loading branch information
remkoj committed Dec 18, 2023
1 parent 0cf8231 commit d171094
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 5 deletions.
3 changes: 2 additions & 1 deletion .vscode/extensions.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"arcanis.vscode-zipfs",
"mikestead.dotenv",
"bradlc.vscode-tailwindcss",
"capaj.graphql-codegen-vscode"
"capaj.graphql-codegen-vscode",
"yzhang.markdown-all-in-one"
]
}
3 changes: 2 additions & 1 deletion RemkoJ.Optimizely.Frontend.code-workspace
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@
"vscode.typescript-language-features",
"christian-kohler.npm-intellisense",
"arcanis.vscode-zipfs",
"mikestead.dotenv"
"mikestead.dotenv",
"yzhang.markdown-all-in-one"
]
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,7 @@ export const OptimizelyContentRecsTrackingScript = (props: OptimizelyContentRecs
// Set client and delivery
_iaq = [
['client', ${ JSON.stringify(client_id) }],
['delivery', ${ JSON.stringify(delivery_id) }],
['track', "consume"]
['delivery', ${ JSON.stringify(delivery_id) }]
];
// Include the Content Analytics & Recommendations JavaScript
Expand Down
16 changes: 15 additions & 1 deletion docs/cms-config.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
[Back to readme](../README.md)
## Optimizely CMS Configuration
## Optimizely CMS Configuration <!-- omit in toc -->
These instructions assume that you've just received the e-mail with login information for the CMS and are able to login to the fresh CMS instance.

- [1. Import the content pack](#1-import-the-content-pack)
- [2. Configure the channel](#2-configure-the-channel)
- [3. Configure the languages](#3-configure-the-languages)
- [4. Update content in Optimizely Graph](#4-update-content-in-optimizely-graph)

### 1. Import the content pack

Expand Down Expand Up @@ -55,4 +59,14 @@ The last step is to have the available languages match the languages in the cont
After configuration the list should look like:
![Language configuration](./cms-languages.png)

### 4. Update content in Optimizely Graph
To make sure the content upload and configuration changes from the previous steps are reflected in Optimizely Graph, take the following steps:

- Navigate to "Settings" (cog icon on the left-hand side) - and then go to "Scheduled Jobs" under "Scheduled Jobs"
- Filter the job-list for "Graph" and click the "Optimizely Graph content synchronization job"
- Click the "Start" button on the "Details" page that has just been opened, the status should change to "Running", with status updates next to it.
- Once the status returns to "IDLE" the synchronization process has completed.

The content will now be reflected correctly by Optimizely Graph

[Back to readme](../README.md)

0 comments on commit d171094

Please sign in to comment.