abandoned-cart-plugin

1.1.10 • Public • Published

Description

This plugin implements the sending of abandoned carts on the website.

Cart details will be sent to https://my.globaldrive.ru/abandoned-cart.

Demo

Demo

How to use

<script src="https://unpkg.com/abandoned-cart-plugin@latest/dist/global/abandoned-cart.js"></script>
<script>
  new AbandonedCart({
      phoneInputSelector: '#phone-input',
      emailInputSelector: '#email-input', // optional
      nameInputSelector: '#name-input', // optional
      contentElementSelector: '#content-element', // optional
      submitButtonSelector: '#submit-button',
      sourceId: 122,
      ymId: 96821999,
  })
</script>

Readme

Keywords

none

Package Sidebar

Install

npm i abandoned-cart-plugin

Weekly Downloads

251

Version

1.1.10

License

none

Unpacked Size

47.6 kB

Total Files

14

Last publish

Collaborators

  • danil-gd