Initiating the Device Data Collection Iframe {#reference_mhg_xpl_xpb}
=====================================================================

Initiate a form POST in a hidden 10 x 10 pixel iframe and send it to the device data collection URL (consumerAuthenticationInformation.deviceDataCollectionUrl).  
Place the HTML anywhere inside the `&lt;body&gt;` element of the checkout page. Dynamically replace the value of the form action attribute and JWT POST parameter with the response values discussed in [Step 1: Setup Service](/docs/cybs/en-us/payer-authentication/developer/all/rest/payer-auth/pa2-ccdc-setup-intro.md ""). See this example. **Initiate the Device Data Collection Iframe**

```
&lt;iframe id="cardinal_collection_iframe" name="collectionIframe" 
sandbox="allow-forms allow-scripts allow-same-origin allow-pointer-lock allow-popups"
allow="payment *; publickey-credentials-get *; publickey-credentials-create *" 
height="10" width="10" style="display: none;"&gt;&lt;/iframe&gt;
&lt;form id="cardinal_collection_form" method="POST" target="collectionIframe" action=https://centinelapistag.cardinalcommerce.com/V1/Cruise/Collect&gt;
  &lt;input id="cardinal_collection_form_input" type="hidden" name="JWT" value="eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJSZWZlcmVuY2VJZCI6ImE0NjVlYzU1LTMwNTEtN GYwZC05MGE0LWZjMDNlMGE2MWQxOSIsIlJldHVyblVybCI6Imh0dHA6XC9cL2xvY2FsaG9zdDo4MDgyXC9yZXF1ZX N0LWNhdGNoZXJcL2NhdGNoLXJlcXVlc3QucGhwIiwianRpIjoianRpXzVmMDVkM2VkY2U0MjYzLjc5MjQwNzMzIi wiaWF0IjoxNTk0MjE3NDUzLCJpc3MiOiI1YjIzZjhjMGJmOWUyZjBkMzQ3ZGQ1YmEiLCJPcmdVbml0SWQiOiI1 NWVmM2YwY2Y3MjNhYTQzMWM5OWI0MzgifQ.Yw9cB9Hdrg71GPL40oAC0g3CVKYElNGe0uvN9JAaw2E"&gt;
&lt;/form&gt;                         
```

