How to push CRM variables to prefill an identity form with a JavaScript embed code

Quentin Paquot -

Here's an example of a Javascript tag :

<div id="qualifio_insert_place_154768" class="qualifio_iframe_wrapper"></div>

<script type="text/javascript">
(function(b,o,n,u,s){var a,t;a=b.createElement(u);a.async=1;a.src=s;t=b.getElementsByTagName(u [0];t.parentNode.insertBefore(a,t);o[n]=o[n]||[]}) (document,window,'_qual_async','script','//');
_qual_async.push(['createIframe', 'qualifio_insert_place_154768', '', '20', 'CA8A486F-9081-581C-4733-C6D664EAC7C0', '100%', '1200', '', '', '', 'max-width:1130px;margin:0 auto;']);


We notice at the end empty elements in red ('').

That's where we can add variables information to prefill a form, see the results here-under.

<div id="qualifio_insert_place_164177" class="qualifio_iframe_wrapper"></div>
<script type="text/javascript">
(function(b, o, n, u, s) {var a, t; a = b.createElement(u); a.async = 1; a.src = s; t = b.getElementsByTagName(u)[0]; t.parentNode.insertBefore(a, t); o[n] = o[n] || [] })(document, window, '_qual_async', 'script', '//');_qual_async.push(['createIframe', 'qualifio_insert_place_164177', '', '20', 'DC0C2677-E66E-3D80-C5C8-24453128FEA9', '100%', '1200', '&firstname=Quentin&lastname=Qualifio&', '', '', 'max-width:810px;margin:0 auto;'], ['callParentFunction', 'popup']);






Powered by Zendesk