Jump to content

  • You cannot start a new topic
  • You cannot reply to this topic

<script> Code Automatically Being Deleted? Rate Topic   - - - - -

 

Posted 26 October 2018 - 12:39 AM #1

Greetings all.  So we use an external lead management system which can feed leads to our management system from a contact us form which just uses a simple embed code system: 

 

<div class="pipedriveWebForms" data-pd-webforms="https://pipedriveweb...075722"><scriptsrc="https://cdn.pipedriveassets.com/web-form-assets/webforms.min.js"></script></div>

 

But when I look at what is actually saved only the <div> code seems to get through.  Any way to get the script to be accepted?  Thanks! 

 



 
  • galtinbaeva
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 06-Dec 13
  • 3365 posts

Posted 31 October 2018 - 05:42 AM #2

Greetings all.  So we use an external lead management system which can feed leads to our management system from a contact us form which just uses a simple embed code system: 

 

<div class="pipedriveWebForms" data-pd-webforms="https://pipedriveweb...075722"><scriptsrc="https://cdn.pipedriveassets.com/web-form-assets/webforms.min.js"></script></div>

 

But when I look at what is actually saved only the <div> code seems to get through.  Any way to get the script to be accepted?  Thanks! 

 

Hello! How did you paste the code?


Simtech Development | sales@simtechdev.com | www.simtechdev.com
CERTIFIED CS-CART PARTNER | LICENSES | DEVELOPMENT | ADD-ONS | DESIGN | UPGRADE

Google Analytics Enhanced Ecommerce - get advanced ecommerce analytics


 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 19698 posts

Posted 31 October 2018 - 12:46 PM #3

Try to use data-no-defer property

 

https://docs.cs-cart...pt_display.html


GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart                USD 345     Multi-Vendor              USD 1250    CS-Cart RU                         24500 руб.
CS-Cart Ultimate  USD 775     CS-Cart + YOUPI      USD 545      CS-Cart RU + UniTheme    36000 руб.