When tracking links, do i need to put this code at the end?

return _gaLink(this,'#'); 

What exactly does it do? My understanding of this is not clear.

Here is the full code:

<a href="#" onclick="_gaq.push(['_trackEvent', 'Email Link Clicked', 'exampleurl.org/';, '#']); return _gaLink(this,'#'); ">exampleurl.org</a>

Thanks

Recommended Answers

All 4 Replies

Hello, thanks

It's still not clear to me sorry.

I need a proper dummies version.

In the link given, it is a trick to open a link in a new window (without side effects).

I see, would i still need to use " target="_blank"?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.