Feeds

Dawson.be
Dawson.be Forums
Welcome, Guest
Please Login or Register.
Lost Password?
Re:Feature Request - Track across multiple domains (1 viewing)
_GEN_GOTOBOTTOM Post Reply Favoured: 0
TOPIC: Re:Feature Request - Track across multiple domains
#122
Mark (User)
Posts: 3
graphgraph
User Offline Click here to see the profile of this user
Feature Request - Track across multiple domains 2009/05/31 05:11 Karma: 0  
Hi there,

I need the ability to track across multiple domains.

joomlagator currently has the feature for subdomains which works well when I use "none" as the root domain for tracking BUT I still need one more line of code for the cross domain tracking to work.

pageTracker._setAllowLinker(true);

So the final code need to look something like this:

<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
try {
var pageTracker = _gat._getTracker("UA-XXXXXXX-X");
pageTracker._setDomainName("none");
pageTracker._setAllowLinker(true);
pageTracker._trackPageview();
} catch(err) {}</script>

Of course I'll still need to add the tracking code to all the links manually but at least the Ga code will be ready for it.

Any chance of adding that feature?

Mark
  The administrator has disabled public write access.
#123
Nick Dawson (Admin)
Posts: 54
graphgraph
User Online Now Click here to see the profile of this user
Re:Feature Request - Track across multiple domains 2009/05/31 11:25 Karma: 1  
As it is as simple as adding that option you can expect it in the next release, 2.3.0.
  The administrator has disabled public write access.
#124
Mark (User)
Posts: 3
graphgraph
User Offline Click here to see the profile of this user
Re:Feature Request - Track across multiple domains 2009/06/07 21:05 Karma: 0  
Great to Hear Nick,

Can't wait to see it!

Mark.
  The administrator has disabled public write access.
#130
Mark (User)
Posts: 3
graphgraph
User Offline Click here to see the profile of this user
Re:Feature Request - Track across multiple domains 2009/07/13 02:46 Karma: 0  
Hi Nick,

We ended up making the changes ourselves.

If you want I can send you an updated version that includes the option to track across multiple domains. Let me know if you want me to send it and where to send it.

Mark.
  The administrator has disabled public write access.
_GEN_GOTOTOP Post Reply
Powered by FireBoardget the latest posts directly to your desktop