{"id":24777360,"url":"https://github.com/dallasread/marketing.js","last_synced_at":"2026-04-15T16:07:00.350Z","repository":{"id":146045687,"uuid":"75046398","full_name":"dallasread/Marketing.js","owner":"dallasread","description":"Calls-to-Action that change the way your website interacts with others.","archived":false,"fork":false,"pushed_at":"2017-07-10T01:48:39.000Z","size":2765,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-29T07:51:18.241Z","etag":null,"topics":["action","cta","marketing"],"latest_commit_sha":null,"homepage":"http://www.marketingjs.com","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dallasread.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-11-29T05:23:02.000Z","updated_at":"2018-12-01T19:13:18.000Z","dependencies_parsed_at":null,"dependency_job_id":"c8d986ca-3b0a-42d9-ba95-145be6e4a0a3","html_url":"https://github.com/dallasread/Marketing.js","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dallasread%2FMarketing.js","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dallasread%2FMarketing.js/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dallasread%2FMarketing.js/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dallasread%2FMarketing.js/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dallasread","download_url":"https://codeload.github.com/dallasread/Marketing.js/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245195938,"owners_count":20575936,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["action","cta","marketing"],"created_at":"2025-01-29T07:50:50.791Z","updated_at":"2026-04-15T16:07:00.319Z","avatar_url":"https://github.com/dallasread.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Marketing.js\n\nCalls-to-Action that change the way your website interacts with others.\n\nCalls-to-Action\n===============\n- [x] **Wizard** - single or multi step forms - [Example](./ctas/wizard/index.html)\n- [x] **Social Shares** - social icons - [Example](./ctas/chat/index.html)\n- [x] **Cookie Notice** - display a cookie notice - [Example](./ctas/cookie-notice/index.html)\n- [x] **Contact Form** - display a contact form - [Example](./ctas/contact/index.html)\n- [x] **Button Link** - display a button - [Example](./ctas/button/index.html)\n- [x] **Call Back** - display a button for users to schedule a call with you - [Example](./ctas/call-back/index.html)\n- [x] **Survey** - display a survey - [Example](./ctas/survey/index.html)\n- [ ] **Click To Call** - display a button for users to call you - [Example](./ctas/call-back/index.html)\n- [ ] **Live Chat** - chat with your visitors - [Example](./ctas/chat/index.html)\n- [ ] Appointment Booker\n- [ ] Petition\n- [ ] Poll\n- [ ] Shopping Cart\n- [ ] Cobrowsing\n\nHere's a chat in action:\n\n![Introduction](./assets/intro.gif \"Introduction\")\n\nTo use a CTA, simply:\n\n```\n\u003cscript type=\"text/javascript\" src=\"/path/to/marketing.js\"\u003e\u003c/script\u003e\n\u003cscript type=\"text/javascript\"\u003e\n    new Marketing.Chat({\n        data: {\n            messages: {},\n            user: {},\n            agent: {},\n            appendTo: '.chat'\n        },\n        api: { // required to interact with a server\n            identify: function identify() {},\n            track: function track(eventName, data) {}\n        }\n    }).ready();\n\u003c/script\u003e\n```\n\nCTAs may require other details \u0026mdash; check the examples above.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdallasread%2Fmarketing.js","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdallasread%2Fmarketing.js","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdallasread%2Fmarketing.js/lists"}