Skip to content

Commit 1fcc4e8

Browse files
committed
Adding insert documentation for 'content' and 'secondary-content'
1 parent cc26353 commit 1fcc4e8

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

source/includes/_locations.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -169,8 +169,8 @@ This element is the media gallery container on vehicle details pages. Injecting
169169
(WIAPI => {
170170
const API = new WIAPI('test-integration'); // Note: Replace 'test-integration' with your actual integration identifier.
171171
API.insert('secondary-content', (elem, meta) => {
172-
// This element is the a secondairy content container on vehicle details pages roughly 2/3 of the way down.
173-
// It may also be added custom two one or two stand-alone pages on the website.
172+
// This element is the a secondary content container on vehicle details pages roughly 2/3 of the way down.
173+
// It may also be added custom to one or more standalone pages on the website.
174174
});
175175
})(window.DDC.API);
176176
```
@@ -250,7 +250,7 @@ You can target either the listings or details page by first subscribing to the <
250250
(WIAPI => {
251251
const API = new WIAPI('test-integration'); // Note: Replace 'test-integration' with your actual integration identifier.
252252
API.insert('content', (elem, meta) => {
253-
// This element is will only insert on to Dealer.com pages created for your purposes.
253+
// This element is will only insert on pages created by us for your purposes.
254254
// It may also be present on pages created for another integration.
255255
});
256256
})(window.DDC.API);
@@ -267,15 +267,15 @@ You can target either the listings or details page by first subscribing to the <
267267
const containerEl = document.createElement('div');
268268
containerEl.classList = 'bg-neutral-950 text-light';
269269
containerEl.style = 'font-size: 35px; width: 100%; height: 540px; margin: 0 auto; padding: 100px; text-align: center;';
270-
containerEl.innerHTML = 'Your secondary content container goes here.';
270+
containerEl.innerHTML = 'Your content container goes here.';
271271
API.append(elem, containerEl);
272272
});
273273
}
274274
});
275275
})(window.DDC.API);
276276
```
277277

278-
On a custom landing page created for the purpose of this target, it will represent the entirety of the space between the header and footer.
278+
On a custom landing page created for the purpose of this target, it will represent the entirety of the empty space between the header and footer.
279279

280280
The example implementation can be tested here:
281281
<a href="https://www.roimotors.com/promotions/index.htm?ssePageId=v9_WEB_INTEGRATION_GENERIC_FULL_WIDTH_V1_1">https://www.roimotors.com/promotions/index.htm?ssePageId=v9_WEB_INTEGRATION_GENERIC_FULL_WIDTH_V1_1</a>

0 commit comments

Comments
 (0)