Skip to content

Commit 67bd515

Browse files
committed
Updating 'content' insert example with better link and verbiage
1 parent 5ab08dd commit 67bd515

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/includes/_locations.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ Since this may also be present on one or two standalone pages as custom addition
262262
(WIAPI => {
263263
const API = new WIAPI('test-integration'); // Note: Replace 'test-integration' with your actual integration identifier.
264264
API.subscribe('page-load-v1', ev => {
265-
if (ev.payload.pageName === 'PROMOTIONS_LANDING') {
265+
if (ev.payload.pageName === 'YOUR_LANDING_PAGE') {
266266
API.insert('content', (elem, meta) => {
267267
const containerEl = document.createElement('div');
268268
containerEl.classList = 'bg-neutral-950 text-light';

0 commit comments

Comments
 (0)