A cfwheels plugin that adds the ability to track email views and clicks
ColdFusion Racket Shell
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
config
controllers
events
files
images
javascripts
lib
miscellaneous
models
plugins/TrackEmail
stylesheets
tests
views
wheels
.gitignore
.htaccess
Application.cfc
IsapiRewrite4.ini
README.md
index.cfm
rewrite.cfm
root.cfm
web.config

README.md

TrackEmail-CfWheels

A cfwheels plugin that adds the ability to track email views and clicks

How to install

After cfwheels extracts the content of the zip file do the following.

  • Copy the TrackEmails.cfc file from /plugins/TrackEmail/controllers/ to /controllers/.
  • Copy the trackemails folder from /plugins/TrackEmail/views/ to /views/.
  • Go to index.cfm?controller=trackemails&action=install to try to create tables. If it fails there is ms sql server script to create the tables.

How to use

To track emails all you have to do is add track=true to the arguments of your sendEmail call.

Example usage

sendEmail(
    from="john.doe@email.com",
    to="jane.doe@email.com",
    subject="Dear Jane",
    template=genericemailtemplate,
    track=true
)

Report Section

View reports for each unique email sent. A unique email is determined by site it is sent from and subject line.

Reports show graphs for emails sent, views, and clicks as well as a graph for each link and how often it was clicked. Reports also show sent, views, and clicks for each recipient.