WordPress.org

Ready to get started?Download WordPress

Forums

ALO EasyMail Newsletter
[resolved] Trackable links (14 posts)

  1. mindctrl
    Member
    Posted 1 year ago #

    I noticed the latest version says:
    "Added: all links in newsletters now are made trackable"

    I've created a newsletter but the links aren't wrapped in the tracker. Is there something special that must be done for this to work?

    http://wordpress.org/extend/plugins/alo-easymail/

  2. eventualo
    Member
    Plugin Author

    Posted 1 year ago #

    Nothing special to do, but I've just made a test and it does not work properly... In next version I'll fix it.

  3. mindctrl
    Member
    Posted 1 year ago #

    Thanks for checking into this.

  4. mindctrl
    Member
    Posted 1 year ago #

    Hey eventualo, any insight into what needs to be changed to fix this? I've got a batch of newsletters to send out tomorrow and if there's a small fix I can implement beforehand, I'd love to do that before sending.

    Thanks!

  5. eventualo
    Member
    Plugin Author

    Posted 1 year ago #

    I'm sorry, I hope that the next release will be ready soon...

  6. mindctrl
    Member
    Posted 1 year ago #

    Hey @eventualo,

    I've updated to the latest version released today but I'm still not seeing views being tracked through links.

    The change log says:
    Fixed: now all links in newsletters now really made trackable (using PHP Simple HTML DOM Parser)

    I'm guessing this is what we're talking about here? But it's not working. Let me explain my scenario.

    - ALO is configured to NOT publish newsletters online.

    - Creating newsletter that contains links to either a link on the local site or a link to a remote site. (http://mysite.com or http://anothersite.com)

    - The email clients I'm testing with default to NOT showing remote images, so the tr.php does not track the view. This is expected and is a common behavior among modern email clients.

    - I think the only reliable way to track views in this case is to wrap all links in some sort of tracker. (I thought this is what the change log is saying)

    The emails I'm receiving have nothing in the source that would seem to wrap or otherwise track any links.

    The Report screen does not count views, even though I've viewed and clicked the links in the emails.

    Thoughts on this?

  7. mindctrl
    Member
    Posted 1 year ago #

    Hey @eventualo,

    I looked through the code and realized it wasn't just picking up pasted URLs, but they *have* to be wrapped in the <a> tag. I wasn't really thinking when pasting my URLs in the tests earlier. I fixed the click tracking by doing things appropriately wrapped in the <a> tag.

    This looks to be working fine now. Thanks so much for adding this feature!

  8. eventualo
    Member
    Plugin Author

    Posted 1 year ago #

    Yes, the the parser looks for link in <a> tag. Thanks a lot for your tests and feedback.

  9. Agnes
    Member
    Posted 1 year ago #

  10. eventualo
    Member
    Plugin Author

    Posted 1 year ago #

    In 2.4.10 I added Simple HTML DOM class to make links trackable but it caused several issues in newsletter text. So in 2.4.11 I disabled it and the <a> links are no more trackable: http://www.eventualo.net/blog/2012/09/alo-easymail-version-2-4-11/

  11. mindctrl
    Member
    Posted 1 year ago #

    Thanks for leaving it so that we can enable it with the constant. That's very much appreciated. I look forward to testing that soon.

  12. mindctrl
    Member
    Posted 1 year ago #

    Well, that didn't take long. When defining the constant I'm getting an error due to a missing slash / on line 51.

    It errors trying to load:
    plugins/alo-easymailinc/simple_html_dom.php

    It should be:
    plugins/alo-easymail/inc/simple_html_dom.php

  13. eventualo
    Member
    Plugin Author

    Posted 1 year ago #

    Thanks, I'll fix in next version. Let us know about your tests.

  14. mindctrl
    Member
    Posted 1 year ago #

    Everything works great after making the change on line 51 and adding the constant to my wp-config.php.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.