Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Functionality can be extended with custom JavaScript. Website platforms with an easy means of client-side scripting and/or integrating with server-side functionality are likely to be able to implement advanced capabilities with less development effort.

JavaScript client

If using the Salesforce package, an administrative page is provided to assist with the client script and configuration.

The client is contained within a single minified JavaScript file. Download this file to a public location on your website, and include it on all pages by adding the following script to the HTML <head> element.

...

  • ‘/path/to/send2crm.min.js’: this should be set to the location of the Send2CRM JavaScript file. The ?v=1.2.3 parameter is not required but generally eases updates as changing this value will encourage browsers to request a new copy rather than delivering from cache.

  • ‘send2crm.service.com’: the domain where the Send2CRM service is hosted, in the case of the Salesforce package this will be the public site configured for Send2CRM endpoints.

  • ‘api-key-value’: the shared API key configured for your service.

Info

The JavaScript client can be downloaded directly and included on your website. Alternatively you can load it directly from the jsDelivr CDN: https://cdn.jsdelivr.net/gh/FuseInfoTech/send2crmjs@v0.5.0.22353/send2crm.min.js

...

  • .