Skip to content

Calls-to-Action that change the way your website interacts with others.

Notifications You must be signed in to change notification settings

dallasread/Marketing.js

Repository files navigation

Marketing.js

Calls-to-Action that change the way your website interacts with others.

Calls-to-Action

  • Wizard - single or multi step forms - Example
  • Social Shares - social icons - Example
  • Cookie Notice - display a cookie notice - Example
  • Contact Form - display a contact form - Example
  • Button Link - display a button - Example
  • Call Back - display a button for users to schedule a call with you - Example
  • Survey - display a survey - Example
  • Click To Call - display a button for users to call you - Example
  • Live Chat - chat with your visitors - Example
  • Appointment Booker
  • Petition
  • Poll
  • Shopping Cart
  • Cobrowsing

Here's a chat in action:

Introduction

To use a CTA, simply:

<script type="text/javascript" src="/path/to/marketing.js"></script>
<script type="text/javascript">
    new Marketing.Chat({
        data: {
            messages: {},
            user: {},
            agent: {},
            appendTo: '.chat'
        },
        api: { // required to interact with a server
            identify: function identify() {},
            track: function track(eventName, data) {}
        }
    }).ready();
</script>

CTAs may require other details — check the examples above.

About

Calls-to-Action that change the way your website interacts with others.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published