Posted by that0n3guy on March 4, 2008 at 3:28pm
5 followers
Jump to:
| Project: | Path redirect |
| Version: | 5.x-1.1 |
| Component: | Code |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (fixed) |
Issue Summary
Is there a way to track if a link is clicked using path redirect?
I have a site with links on a page to /outgoing/page1. When someone clicks on this link, they are redirected to an external link www.externallink.com.
Can this click be tracked using google analytics? Or will I need to use the Onclick java method? I would prefer not to go through and add this to all my current links.
Thanks
Comments
#1
I don't know enough about how Google Analytics works to be able to answer this question. Does this module help at all?
#2
Thanks for such a quick reply.
That is the module I am using. It basically just puts some java at the bottom of each page that sends info to google. My links using path redirect are acting exactly like outbound links. That is probably because path redirect doesnt actually load a page, but just points the link someplace. Is that right?
Thanks
#3
I don't know of any way that this module could help Google Analytics track the correct/redirected outbound clicked links. Marking as "won't fix" for now.
#4
A potential way this module could assist with redirect tracking, is to provide some facility for automatically appending a referral code to the destination URL.
So for example: foo.com/abc => foo.com/real-path?referrer=abc or something along those lines. Path Redirect could provide a field in settings, allowing the user to specify the tag name ("referrer" in the above example) for a referral value.
This is the approach advocated by Google, and in fact they define a number of tagging formats: http://www.intownwebdesign.com/google-analytics/google-analytics-utm-lin...
This is all possible already, by manually adding referral tags to the destination when defining the redirect. But automating the process would be a nice feature for this module, IMHO.
#5
You can enter in query strings in the redirect destination, so I'm not sure an automatic solution is necessary.
#6
Automatically closed -- issue fixed for 2 weeks with no activity.