search for: encode_to

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

Did you mean: encode_id
2013 Jun 06
1
Introducing MailJack: autogenerate querystring parameters that are appended to links in your emails
...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 in underscore notation. *Href_filter* is a regex that will...