Skip to content

Open source Campaign Monitor widget for the Dashing framework

Notifications You must be signed in to change notification settings

garrettogrady/dashing-CampaignMonitor

Repository files navigation

dashing-CampaignMonitor

Open source Campaign Monitor widget for the Dashing framework using the Campaign Monitor Ruby API.

Dependencies

createsend

Add it to dashing's gemfile:

gem 'createsend'

And run

bundle install

Using the Campaign Monitor widgets

To use this widget:

  1. create a new folder in /widgets/ and name it campaign_monitor

  2. copy campaign_monitor.coffee, campaign_monitor.html, and campaign_monitor.scss into the /widgets/campaign_monitor directory of your Dashing app.

  3. Copy the campaign_monitor.rb file into your /jobs folder.

  4. Change your API Key and list ID in campaign_monitor.rb

:api_key: "Your API Key"
:listID: 'Your ListID'

for help finding your API Key: here and List ID: here

To include the widget in a dashboard, add the following snippet to the dashboard layout file:

<li data-row="2" data-col="2" data-sizex="1" data-sizey="1">
   <div data-id="campaign_monitor" data-view="CampaignMonitor" data-title="subscribers"></div>
</li>

About

Open source Campaign Monitor widget for the Dashing framework

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published