Track open rate for new post notifications (user clicked the button in the link or not). No data about the user is collected during the process, it only uses an ID inserted by the issue delivery worker.
22 lines
822 B
HTML
22 lines
822 B
HTML
{% extends "base.html" %}
|
|
{% block title %}New post available: {{ post_title }}{% endblock %}
|
|
{% block content %}
|
|
<p>Hello there!</p>
|
|
<p>I just published a new post that I think you'll find interesting:</p>
|
|
<div class="post-preview">
|
|
<h2 class="post-title">{{ post_title }}</h2>
|
|
{% if !post_excerpt.is_empty() %}<p class="post-excerpt">{{ post_excerpt }}</p>{% endif %}
|
|
</div>
|
|
<a href="{{ base_url }}/posts/{{ post_id }}?origin=EMAIL_ID"
|
|
class="cta-button">Read the full post →</a>
|
|
<p>
|
|
This post covers practical insights and real-world examples that I hope will be valuable for your backend development journey.
|
|
</p>
|
|
<p>Thanks for being a subscriber!</p>
|
|
<p>
|
|
Best regards,
|
|
<br>
|
|
<strong>Alphonse</strong>
|
|
</p>
|
|
{% endblock %}
|