mail-for-good icon indicating copy to clipboard operation
mail-for-good copied to clipboard

Add feature for tracking custom fields along with open tracking

Open karuppiah7890 opened this issue 7 years ago • 4 comments

While creating the list, we can ask if the user wants to track any custom fields (if the user has added any) and then we can do tracking on them too.

For example, say user wants to track based on "city" field for list "my pro users"

So, when someone creates a campaign and chooses the list "my pro users" and puts a tracking link, we need to include the particular city name too in the tracking link for each mail. Something like http://localhost:8080/trackopen?trackingId=cde05ea5-1a54-433e-af8a-ea7aa1f48007&city=chennai

I think this will be a very cool thing to do. I will look into how tracking is currently done using the tracking ids and I have some basic straight forward idea on how to do the above tracking, I will try to improve on it by doing some research !

/cc @AndrewGHC @QuincyLarson

karuppiah7890 avatar Jun 10 '17 14:06 karuppiah7890

I see that there are already some columns like IP address, city (taken from IP I guess?) in campaignanalytics and related tables. It's cool. But we can have more than that, like more customization.

Say the user has a field called "gender" along with his email list and wants to track how many men and women opened the mail, then the user can do this if the above feature is implemented

karuppiah7890 avatar Jun 10 '17 17:06 karuppiah7890

And by the way, why do we have to have all the open and click through tracking IDs in the database ? I mean, we can delete them once we track the open and click through right ? And why different IDs for tracking opens and clicks given a user per campaign ? We could have same tracking ID for a given user per campaign right ? What is the problem with that ? And that way, we can then merge the table for link analytics and open analytics and have extra columns corresponding to each other. Like for example "openBrowser" and "clickBrowser" to know which browser was used to open the mail and which was used to click the link.

/cc @AndrewGHC @QuincyLarson

karuppiah7890 avatar Jun 10 '17 17:06 karuppiah7890

These are good ideas but I'd say at this stage there are other items to be tackled that have greater priority.

I can't personally comment on the clickthrough/open ids as it's not something I worked on - it may well be possible to merge these items, though I can't comment without looking into it further.

AndrewWalsh avatar Jun 14 '17 20:06 AndrewWalsh

Hmm, okay!

karuppiah7890 avatar Jun 15 '17 02:06 karuppiah7890