Maksym Ponomarenko
Sitecore Consulting

Fix Sitecore EXM (Email Experience Manager) Analytics

Email Marketing with Sitecore EXM Analytics

When the Sitecore Email Experience Manager (EXM) sends an Email, it adds an image tag to the Email’s body. That is how EXM tracks analytics for the sent emails.

<img height="1" width="1" border="0" style="border-color:transparent" src="https://ci5.googleusercontent.com/proxy/RxlzWHIRmMuZRqvJir-LAIUm8p99J7F7qv63nQV8s8mjMQMAm8UpL7r5lzJtX_yCHbjtgcTSYW50
VJkkt6uXD4sbPTszHThtmsMLLR2YsqVviCIQ3_px2JaikuOLG47uXODTCdic
4DjJe5LUsl95ZQaIIZ_AauLGDOvSaJ9kFrg91lcHjh5RCjw_FpxtffMMhVuH-
nwhXvpikb7pYYN5w=s0-d-e1-ft#http://domain/sitecore/RegisterEmailOpened.aspx?ec_contact_id=293DD8258EBF95BBA035242E2EF143B7&amp;ec_message_id=BF8579AD84164516B78FE65D9DE429CD" class="CToWUd">

As you can see, it contains a path to the /sitecore/RegisterEmailOpened.aspx page. It is ok if you have no Firewall limitations. But sometimes links to the Sitecore folder are restricted on CD environments.

In that case you can use the workaround below:

  1. First you need to move the RegisterEmailOpened.aspx to some public location.
  2. Second, update the SendEmail pipeline:

Obviously all emails are sent via this pipeline. The first processor fills the Emails objects and the second sends them. So the easiest solution is to create an additional processor between those two to replace the link within the Email’s body.

Fixing EXM Analytics in Sitecore - Where to insert the code 

Code example:

Fixing EXM Analytics in Sitecore - Code Example

Kommentare
Es wurden noch keine Kommentare zu diesem Eintrag geschrieben.
Kommentar hinzufügen
Vor und Zuname
E-Mail
E-Mail bei weiteren Kommentaren
Mein Kommentar