RE: Creating trackable links for email links?

Support and whatever about Click Manager.

Postby garymgordon » 2004-01-13 05:41 pm

Jeremy,

I love your Click Manager script but have a question about how to use it to also track clicks on Email Links.

How (and hopefully I can) use it to track clicks to email links.

I tried placing mailto:ggordon@garymgordon.com instead of the typical http:// webpage information, but I get an error that says:

Invalid ID or URL

Is there any way I can use your script to also track this? What do I need to change?

Please let me know.

Thanks,
Gary :)
ggordon@garymgordon.com
garymgordon
Newbie
 
Posts: 4
Joined: 2004-01-13 05:39 pm
Location: Cherry Hill, New Jersey, USA

Postby Jeremy » 2004-01-13 10:35 pm

find this line (184)
Code: Select all
  foreach my $line(@_) {

right after it, put this:
Code: Select all
    if ($line =~ "mailto:") { next; }

that should work, although i haven't tested it.
Jeremy
Supreme Diety
 
Posts: 8922
Joined: 2003-05-05 04:41 pm
Location: NJ, USA

Postby garymgordon » 2004-01-13 11:18 pm

Jeremy,

Worked perfectly! You may want to add it into your code.

Thanks!!!!!
Gary
garymgordon
Newbie
 
Posts: 4
Joined: 2004-01-13 05:39 pm
Location: Cherry Hill, New Jersey, USA


Return to Click Manager

Who is online

Users browsing this forum: No registered users and 1 guest