Concierge Example - Update Page

This page is used to test the updatePage functionality, rules with mapped engagements, and to find out what happens when additional copies of concierge-client.js are loaded onto the page (not supported).

The elements below with black borders all have IDs and should be reliably detected by the engagement mapper. One of the elements below is added to the page dynamically after concierge loads. This is used to test mapped engagements on content that is added to the DOM late.

You can click the "updatePage" button to call the updatePage functionality of the Public API V2. The values in the text box are used. The first time this is called there is another element added to the page after updatePage is complete. This is used to test mapped engagements on content that is added to the DOM after SPA navigation (assuming the SPA properly calls updatePage).

You can click the other two buttons to find out what happens when multiple copies of concierge-client.js are loaded. Each click copies the original script tag and adds it again to the page. This is just used when debugging customer issues, we don't support this at this time.

Parameters

Paragraph element IDs for text

Another paragraph of text

Lorem ipsum datum foobar qux challenger.

Form elements for testing engagement mapper

Test history