Skip to main content

Initialization

Initialize Wave.js with your public client_id.
client.js

Mount offers

Include the Wave.js script on your page by adding it to the head of your HTML file. Next, create an empty DOM node (container) to use for mounting.
index.html
You can start the offers list screen adding the following code:
client.js
Screen renders in an iframe that securely exchange information with Wave over an HTTPS connection. Also, you can choose to mount: .initEmbeddedProfile() or .initEmbeddedOfferDetail()