The Call to Action Element is an intranet-focused advertisement for On-Demand Pay, to help HR and IT teams “get the word out” about DailyPay. It features a simple summary of On-Demand Pay and a dynamic sign-up button that will direct users to the appropriate landing page.
The Call to Action Element can be rendered in any native or web application, using a WebView or iFrame, respectively.
| Environment | Target URL |
|---|---|
| Production | https://elements.dailypay.com/v1/ui/companion/available_balance |
| UAT | https://elements.uat.dailypay.com/v1/ui/companion/available_balance |
React
<WebView
ref={webViewRef}
source={{
uri: "https://elements.dailypay.com/v1/ui/companion/available_balance",
}}
javaScriptEnabled={true}
/>JavaScript
const cta = document.createElement('iframe');
cta.src = 'https://elements.dailypay.com/v1/ui/companion/available_balance';
cta.style.width = '360px';
cta.style.height = '230px';
cta.style.border = 'none';
document.body.appendChild(cta);