Skip to content

Commit 1efb3a5

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

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

source/includes/_locations.md

Lines changed: 2 additions & 4 deletions
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 === 'YOUR_LANDING_PAGE') {
265+
if (ev.payload.pageName === 'YOUR_LANDING_PAGE') { // Note: Replace 'pageName' with the one we provide at page creation.
266266
API.insert('content', (elem, meta) => {
267267
const containerEl = document.createElement('div');
268268
containerEl.classList = 'bg-neutral-950 text-light';
@@ -275,13 +275,11 @@ Since this may also be present on one or two standalone pages as custom addition
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 empty space between the header and footer.
278+
This element will represent the entirety of the empty space between the header and footer on a custom landing page.
279279

280280
The example implementation can be tested here:
281281
<a href="https://www.roimotors.com/tools/your-landing-page.htm">https://www.roimotors.com/tools/your-landing-page.htm</a>
282282

283-
Alternatively, you can add this URL parameter to any Dealer.com website URL: `ssePageId=v9_WEB_INTEGRATION_GENERIC_FULL_WIDTH_V1_1`
284-
285283
You will need to subscribe to the <a href="#page-load-v1">`page-load-v1`</a> event, then use the <a href="#page-event">event</a> value of `payload.pageName` to ensure you only target your dedicated landing page.
286284

287285
Once ready for production, you will need to work with us to ensure we provide a landing page with this target.

0 commit comments

Comments
 (0)