Hi All,
I have an email application where I'd like to start tracking clicks throughs on all the <a href=""> tags.
Normally, a designer builds and tests our HTML mailouts, we then send them out using an inhouse mailer. I need to modifying the tags at send time from:
<a href="http://www.somewhere.com">Here is some text</a>
to
<a href="http://www.mysite.com/tracker.php?user=1234&emailunid=456&url=http://www.somewhere.com">Here is some text</a>
Can anyone help with some code that would enable me to do this? I'm not crash hot with regex, which looks like what is needed for this job.
-Andre