Changed {{Tracker}} to be a full image tag, while {{TrackingURL}} is just the URL if needed.

pull/64/head
Jordan Wright 2015-08-25 22:29:12 -05:00
parent f51758f8c9
commit 9b597fea92
1 changed files with 2 additions and 0 deletions

View File

@ -64,9 +64,11 @@ func processCampaign(c *models.Campaign) {
models.Result
URL string
Tracker string
TrackingURL
}{
t,
"http://" + ips[0].String() + "?rid=" + t.RId,
"<img src='http://" + ips[0].String() + "/track?rid=" + t.RId + "'/>",
"http://" + ips[0].String() + "/track?rid=" + t.RId,
}
// Parse the templates