Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Ruby
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
app
config
features/support
lib/tasks
spec
README.md
Rakefile
campaign_monitor_extension.rb
cucumber.yml

README.md

Campaign Monitor


Installation

git clone git://github.com/lunaweb/radiant-campaign-monitor-extension.git vendor/extensions/campaign_monitor


Utilisation

les tags <r:campaign:list:subscribe> et <r:campaign:list:unsubscribe> génèrent un <form>...</form>

inscription

<r:campaign:list:subscribe>...</r:campaign:list:subscribe>

désinscription

<r:campaign:list:unsubscribe>...</r:campaign:list:unsubscribe>

générer le champ email

<r:campaign:input:email />

Configuration

définir une part "campaign_config"

api_key: xxx
list_id: xxx
subscribe_redirect_to: /newsletter/confirmation-inscription/
unsubscribe_redirect_to: /newsletter/confirmation-desinscription/
  • api_key : clef développeur disponible dans "Account Settings > API Key"
  • list_id : identifiant de la liste disponible dans "[client] > Lists & Subscribers > [liste] > (change name/type) > API Subscriber List ID"
  • subscribe_redirect_to : url de la page en cas de succès d'inscription
  • unsubscribe_redirect_to : url de la page en cas de succès de désinscription

Something went wrong with that request. Please try again.