Digging down to users - possible?
Moderator: moderator
-
- Posts: 12
- Joined: Tue Nov 25, 2008 7:03 pm
Digging down to users - possible?
Is it possible to find out what specific users have viewed an email?
-
- Posts: 12
- Joined: Tue Nov 25, 2008 7:03 pm
-
- Site Admin
- Posts: 2628
- Joined: Thu Aug 03, 2006 10:20 am
- Location: Munich, Germany
- Contact:
Please see here for a description of the OpenEMM database tables:
http://www.openemm.org/fileadmin/docs/O ... le-Doc.txt
http://www.openemm.org/fileadmin/docs/O ... le-Doc.txt
OpenEMM Maintainer
SQL to show who Clicked Through
select c.email, c.firstname, c.lastname,
l.ip_adr, l.change_date,
u.shortname
from rdir_log_tbl l,
rdir_url_tbl u,
customer_1_tbl c
where l.url_id = u.url_id
and l.customer_id = c.customer_id;
l.ip_adr, l.change_date,
u.shortname
from rdir_log_tbl l,
rdir_url_tbl u,
customer_1_tbl c
where l.url_id = u.url_id
and l.customer_id = c.customer_id;
I did it a bit differently. I didn't want every click event.
To get link tracked customers for a particular mailing I use this query:
And to get all users who just opened the mail I use:
Just replace the 'MAILING_ID' with the id number of the mailing you want to investigate.
HTH someone.
Alan
To get link tracked customers for a particular mailing I use this query:
Code: Select all
SELECT
customer_1_tbl.firstname,
customer_1_tbl.lastname,
customer_1_tbl.email,
rdir_log_tbl.change_date,
rdir_log_tbl.url_id,
rdir_url_tbl.full_url
FROM rdir_log_tbl
LEFT OUTER JOIN customer_1_tbl ON rdir_log_tbl.customer_id = customer_1_tbl.customer_id
LEFT OUTER JOIN rdir_url_tbl ON rdir_url_tbl.url_id = rdir_log_tbl.url_id
WHERE rdir_log_tbl.mailing_id = 'MAILING_ID'
ORDER BY rdir_log_tbl.change_date ASC;
Code: Select all
SELECT
customer_1_tbl.firstname,
customer_1_tbl.lastname,
customer_1_tbl.email,
onepixel_log_tbl.change_date
FROM onepixel_log_tbl
LEFT OUTER JOIN customer_1_tbl on onepixel_log_tbl.customer_id = customer_1_tbl.customer_id
WHERE onepixel_log_tbl.mailing_id = 'MAILING_ID'
ORDER BY onepixel_log_tbl.change_date ASC;
HTH someone.
Alan
Adding the click count in recipient list?
What about adding the recipient's click count (total and/or last mailing) in the overview list of recipients as a new column? I think this would not be confusing. And you could use it to sort by click count, which I expect to be helpful also for marketing people.ma wrote:Our commercial customers (marketing people) would be overwhelmed ...

Cheers,
Peter
Peter
Get click counts per recipient
Here are some more variations.
Get the number of URLs clicked per recipient:
Get the number of URLs clicked per recipient in a given mailing (replace 'MAILING_ID' with the ID of the mailing):
Get the count, how often a mailing was opened per recipient (replace 'MAILING_ID' with the ID of the mailing):
Get the count, how often all mailings were opened per recipient:
Get the number of URLs clicked per recipient:
Code: Select all
select c.email, c.firstname, c.lastname, count(l.customer_id) from rdir_log_tbl l, customer_1_tbl c where l.customer_id = c.customer_id group by c.email order by count(l.customer_id) desc;
Code: Select all
select c.email, c.firstname, c.lastname, count(l.customer_id) from rdir_log_tbl l, customer_1_tbl c where mailing_id='MAILING_ID' and l.customer_id = c.customer_id group by c.email order by count(l.customer_id) desc;
Get the count, how often a mailing was opened per recipient (replace 'MAILING_ID' with the ID of the mailing):
Code: Select all
select c.email, c.firstname, c.lastname, l.open_count from onepixel_log_tbl l, customer_1_tbl c where mailing_id='MAILING_ID' and l.customer_id = c.customer_id group by c.email order by count(l.customer_id) desc;
Code: Select all
select c.email, c.firstname, c.lastname, sum(l.open_count) from onepixel_log_tbl l, customer_1_tbl c where l.customer_id = c.customer_id group by c.email order by count(l.customer_id) desc;
Cheers,
Peter
Peter
Would be nice, Al, I'm looking forward
I was thinking about this myself, but in the next month I won't have time for sure ...
Instead I had another idea:
In addition to the overview list, the recipient's detail view could also get some statistics information, e.g. no of clicks total, no of mailings recieved / open / open count, list of mailings recieved, list of URLs clicked.

Instead I had another idea:

Cheers,
Peter
Peter