Issues with LinkedIn AutoFill with Cornerstone

Hi Themeco Team,

We are trying to add LinkedIn’s AutoFill feature to our Gravity Forms in Cornerstone and are running into issues. On the backend, the LI AutoFill button works as expected, but on the frontend the button is populating multiple times and doesn’t work at all. We tried adding the LI javascript to a raw text element and that doesn’t work either.

Can you guys recommend a way to fix this?

Thank you!

Hello Robert,

Thanks for posting in! There is a JS error on the page. This error might have prevented the LinkedIn autofill from working. Are you using Insert Headers and Footers plugin? It seems that you have inserted an incorrect javascript code:

<script type="text/javascript" id="sns_global_scripts"><script type="text/javascript">
_linkedin_partner_id = "95633";
window._linkedin_data_partner_ids = window._linkedin_data_partner_ids || [];
window._linkedin_data_partner_ids.push(_linkedin_partner_id);
</script>

You will need to update that code and use this instead:

<script type="text/javascript" id="sns_global_scripts"></script>
<script type="text/javascript">
_linkedin_partner_id = "95633";
window._linkedin_data_partner_ids = window._linkedin_data_partner_ids || [];
window._linkedin_data_partner_ids.push(_linkedin_partner_id);
</script>

Please let us know if this works out for you.

We haven’t had a chance to revisit this, but when we do we will let you know how it worked out. Thank you for your help!

You are most welcome. :slight_smile:

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.