How to track an image tracker in a goal



our CRM creates a Piwik Image Tracker on this way:


The question is how to track on the most professional way. The information given back by the image tracker is always different because the CRM variable “$contacts-lastname$” depends on the person who got the mail.

My wish is just to get a list with names who opened the mails. The content of the variable $contacts-lastname$ should be indicated in Piwik under Actions / Page names or anywhere else.

Is it possible to create one goal which would indicate all the persons who open the mail. How can I define this goal?:

  • I cannot set Keywords because they are always different.
  • I cannot set an URL because there is no URL at image tracking.

Thank you very much for your help.

With kind regards,


(Matthieu Aubry) #2

I recommend you use Custom Variables: Custom Variables Analytics - Analytics Platform - Matomo

There is an example request tracking custom variables to the piwik.php script at: Tracking API - Analytics Platform - Matomo


Thank you. You mean this was, do not you?

http://piwik-server/piwik.php?_cvar={“1”:[“OS”,“iphone 5.0”],“2”:[“Piwik Mobile Version”,“1.6.2”],“3”:[“Locale”,“en::en”],“4”:[“Num Accounts”,“2”]}&action_name=View settings&url= &idsite=8876&rand=351459​&h=18&m=13&s=3​ &rec=1&apiv=1​&cookie=​ &urlref=​&_id=af344a398df83874​ &_idvc=19​&res=320×480&”

If understand well this would make it possible to track $contacts-lastname$ that would be in each mail different.

In mein case it should be look like:

InterNetX: Domains, Server und SSL-Zertifikate für Profis!”"

All the other parameter are not necessary.

Thank you for confirming if it is Ok.



(Matthieu Aubry) #4

You can test it by loading the URL yourself. It is missing at least the &rec=1