search for: href_filt

Displaying 1 result from an estimated 1 matches for "href_filt".

Did you mean: href_filter
2013 Jun 06
1
Introducing MailJack: autogenerate querystring parameters that are appended to links in your emails
...in, and what query string parameters you want to include. What''s cool is that you pass a Proc to each query string parameter that is evaluated at mail send time. Here''s what the configuration looks like MailJack.config do |config| config.mailers = [:user_notifier] config.href_filter = /#{MyApp::Application.config.host}/ config.encode_to = :utm_source config.trackable do |track| track.campaign = lambda{|mailer| mailer.action_name} track.campaign_group = lambda{|mailer| mailer.class.name} end end So, *mailers* are your mailer classes that you want to track i...