Skip to content

Commit

Permalink
Update tracking source to include NewsletterIssue.pk in addition to N…
Browse files Browse the repository at this point in the history
…ewsletter.pk.
  • Loading branch information
Tristan Waddington committed May 10, 2011
1 parent 71cd005 commit b4af2ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nova/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ def premail(self, template=None, canonicalize=True, track=True, plaintext=True):
# Track links
if track:
template = track_document(template, domain=self.tracking_domain,
campaign=self.tracking_campaign, source='newsletter-%s' % (self.newsletter.pk,))
campaign=self.tracking_campaign, source='newsletter-%s-issue-%s' % (self.newsletter.pk, self.pk,))

# Run premailer
if getattr(settings, 'NOVA_USE_PREMAILER', False):
Expand Down

0 comments on commit b4af2ac

Please sign in to comment.