[
https://issues.apache.org/jira/browse/LUCENE-3978?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13253121#comment-13253121
]
Uwe Schindler commented on LUCENE-3978:
---------------------------------------
Hi Hoss,
I have seen your commit and I now understand the reason for the redirect pages
(to also count downloads by Google Analytics). As I also did GA tracking for
webpages not long ago, there is a better/more correct solution to track
downloads. The trick is to add some javascript to the source link that tells
Google Analytics to create a "virtual pageview" when clicking on the link. The
virtual pageview is counted on a "virtual" URI (e.g., the current URL with the
redirect page, without http and hostname):
http://support.google.com/googleanalytics/bin/answer.py?hl=en&answer=55529 In
fact, the trick is to execute the analytics javascript on the link click and
pass a "custom" url instead the default one from the current page.
> redo how our download redirect pages work
> -----------------------------------------
>
> Key: LUCENE-3978
> URL: https://issues.apache.org/jira/browse/LUCENE-3978
> Project: Lucene - Java
> Issue Type: Improvement
> Reporter: Hoss Man
> Fix For: 4.0
>
>
> the download "latest" redirect pages are kind of a pain to change when we
> release a new version...
> http://lucene.apache.org/core/mirrors-core-latest-redir.html
> http://lucene.apache.org/solr/mirrors-solr-latest-redir.html
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]