Giter Site home page Giter Site logo

Comments (5)

antespi avatar antespi commented on August 14, 2024

This functionality is not implemented. mail_tracking is also a base addon for other ones that integrate event webhooks, for instance, mail_tracking_mailgun.

This could be a good improve to mail_tracking. In order to have a todo list, we have to:

  • Create a new table in order to save the relation of link to an unique token.
  • Replace all links in email body with the link to a new controller (this new link will include only the database name, the unique token and the tracking_email_id).
  • Controller will look up the table (using the unique token) and return a redirect to the real link.
  • Also controller will create a click tracking_email_event with all the available metadata associated with the HTTP request (IP, user_agent, timestamp, etc ...)

With this improvement, an Odoo instance that use a simple SMTP service (in localhost, for instance) will have sent, open and click events out-of-the-box.

from social.

ivantodorovich avatar ivantodorovich commented on August 14, 2024

Yeah, that will be really good.

I already solved my pressing issue using Google Analytics, but I'll make a PR with this improvements as soon as I have the time. Having all the tracking data in Odoo would be really awesome.

from social.

pedrobaeza avatar pedrobaeza commented on August 14, 2024

Don't close this then until it's done. I assign you in the issue.

from social.

pedrobaeza avatar pedrobaeza commented on August 14, 2024

In Odoo v9, it must use the existing link tracker from Odoo.

from social.

ivantodorovich avatar ivantodorovich commented on August 14, 2024

I'm looking into this.
In order to replace all the original links in the email, I'm thinking of taking advantage of the beautifulsoup library.
Would that be ok, or should I try to do it using regexp?

Nevermind. I think I got it working with just regexp.

from social.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.