Currently KPIs reporting on mailings is supported only for mail mailings. However we think it is interesting to have insights on SMS mailings as well even if less KPIs are available. Indeed we currently do not support open or reply KPIs. This report will be sent by email 24 hours after the campaign sms are sent. Modification are done of the digest_mail_layout to be able to use it to generate the KPI report for Email or SMS mass mailing campaigns. The goal is to have a single template that can be used for both SMS and email mailings. Some wording is also improved in various places of KPIs process. Task ID-2274770 COM PR odoo/odoo#56887 UPG PR odoo/upgrade#1744
43 lines
2.7 KiB
XML
43 lines
2.7 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<odoo>
|
|
<data noupdate="0">
|
|
<template id="mass_mailing.mass_mailing_kpi_link_trackers" name="Marketing: mailing link trackers statistic">
|
|
<div class="global_layout" t-if="link_trackers">
|
|
<table bgcolor="#ffffff" cellspacing="0" cellpadding="0" width="650" align="center" border="0" style="width: 100%; max-width: 650px;">
|
|
<tr>
|
|
<td style="width: 100%;">
|
|
<table cellspacing="0" cellpadding="0" border="0" width="580" align="center" style="width:100%; max-width:580px;">
|
|
<tr>
|
|
<td align="left">
|
|
<span style="color:#282f33; font-size: 15px; font-weight: bold; line-height: 30px">
|
|
<t t-esc="'Click Rate Report on %i %s Sent' % (object.expected, mailing_type)"/>
|
|
</span>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td style="margin: 0; padding:0;">
|
|
<table cellspacing="0" cellpadding="0" border="0" width="580" align="center" style="width:100%; max-width:580px;border-collapse: collapse;">
|
|
<tr style="color: #875a7b; font-size: 16px; font-weight: 500;">
|
|
<td style="width: 70%;padding: 10px 0; text-align: center; border: 1px solid #e7e7e7;">Button Label</td>
|
|
<td style="width: 30%;padding: 10px 0; text-align: center; border: 1px solid #e7e7e7;">%Click (Total)</td>
|
|
</tr>
|
|
<tr t-foreach="link_trackers" t-as="link_tracker" style="color: #888888; font-size: 15px; font-weight: 300;">
|
|
<td style="width: 70%;padding: 10px 0; text-align: center; border: 1px solid #e7e7e7;">
|
|
<a t-att-href="link_tracker.absolute_url" target="_blank" style="color: #56b3b5; text-decoration: none;" t-esc="link_tracker.label or link_tracker.url"/>
|
|
</td>
|
|
<td style="width: 30%;padding: 10px 0; text-align: center; border: 1px solid #e7e7e7;">
|
|
<t t-esc="int(link_tracker.count * 100 / object.sent) if object.sent else 0"/>% (<t t-esc="link_tracker.count"/>)
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
</template>
|
|
</data>
|
|
</odoo>
|