OneClick is a 3rd party company that offers a product that we are selling, similar to Banno Marketing, but integrated with Core data.

Implementation Steps

For the pre-live development team, this product will show up as an edit on Trello.

The PC will provide you with 3 lines of code which will look like this:

<div data-oneclick-widget="iframe" data-page="/login-promo"></div>
<script>var oneClickSettings = { version:0, baseUrl: "https://themurrybank.oneclickfinancial.net", purlQueryParam:"purlId" };</script>
<script language="javascript" type="text/javascript" src="https://themurrybank.oneclickfinancial.net/Scripts/iframe.js"></script>

Since we have to hardcode the div we might as well hardcode the script. When placed, please comment out all lines of code. We are placing during prelive and once OneClick is fully ready the post-live team will uncomment.

The 2 scripts will go just before the closing </head>. The div will decide where the iframe gets injected, most sites are going to have this live in OLB modal under the login, but place this line (commented out) wherever the PC requests. If you are unsure about placement talk with Chris and the PC.

If you need an example of how this is implemented please review the commit for The Murray Bank, found here.