Google analytics download controls

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Google analytics download controls

Maarten Mostert-2
Hi,

I would like to track a sepcific file with google analytics

In my pier page I have a link like:

*StakePoint_0.42_Setup.exe>http://stakepoint.com/files/support/StakePoint_0.42_Setup.exe*

According to google:

http://www.google.com/support/analytics/bin/answer.py?hl=fr&answer=55529

My link should look something like:

<a href="http://www.exemple.fr/fichiers/carte.pdf" onClick="javascript:
pageTracker._trackPageview('/downloads/map'); ">

Is there a way to do this.

Regards,

@+Maarten,



_______________________________________________
Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki
Reply | Threaded
Open this post in threaded view
|

Re: Google analytics download controls

John McKeon
Hello Maarten,
There is a Pier-Google package in the Pier Add-ons repository.
Add the widget to your site and add a +reference+ in your environment and every page on your site gets tracked.

On Wed, Apr 14, 2010 at 6:15 PM, Maarten Mostert <[hidden email]> wrote:
Hi,

I would like to track a sepcific file with google analytics

In my pier page I have a link like:

*StakePoint_0.42_Setup.exe>http://stakepoint.com/files/support/StakePoint_0.42_Setup.exe*

According to google:

http://www.google.com/support/analytics/bin/answer.py?hl=fr&answer=55529

My link should look something like:

<a href="http://www.exemple.fr/fichiers/carte.pdf" onClick="javascript: pageTracker._trackPageview('/downloads/map'); ">

Is there a way to do this.

Regards,

@+Maarten,



_______________________________________________
Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki



--
http://jmck.seasidehosting.st

_______________________________________________
Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki
Reply | Threaded
Open this post in threaded view
|

Re: Google analytics download controls

Maarten Mostert-2
Dear John,

Well this is what I did in the first place and works nicely.

However it is also possible to track individual downloads of files as mentioned in the article (in english this
time):

http://www.google.com/support/analytics/bin/answer.py?hl=en&answer=55529


It states:
<<< tag:



Important: if your pages include a call to _trackPageview, _setAllowLinker _trackTrans(), your Analytics tracking
code must be placed in your HTML code above any of these calls. In these cases the tracking code can be placed
anywhere between the opening  tag and the JavaScript call.

To verify that _trackPageviewis being called correctly, you can check your Top Content report 24-48 hours after the
updated tracking code has been executed. You should be able to see the assigned pagename in your report.>>>>

_______________________________________________________

My question is how to combine the Pier Syntax with the extra Javascript required by Google analythics on the
download link of my file.

Regards,

@+Maarten,





> Message du 15/04/10 04:24
> De : "John McKeon"

> A : [hidden email], "Magritte, Pier and Related Tools ..."
> Copie à :
> Objet : Re: Google analytics download controls
>
> Hello Maarten,
> There is a Pier-Googlepackage
> in the Pier Add-ons repository.
> Add the widget to your site and add a +reference+ in your environment and
> every page on your site gets tracked.
>
> On Wed, Apr 14, 2010 at 6:15 PM, Maarten Mostert  > wrote:
>
> > Hi,
> >
> > I would like to track a sepcific file with google analytics
> >
> > In my pier page I have a link like:
> >
> > *StakePoint_0.42_Setup.exe>
> > http://stakepoint.com/files/support/StakePoint_0.42_Setup.exe*
> >
> > According to google:
> >
> > http://www.google.com/support/analytics/bin/answer.py?hl=fr&answer=55529
> >
> > My link should look something like:
> >
> >  > pageTracker._trackPageview('/downloads/map'); ">
> >
> > Is there a way to do this.
> >
> > Regards,
> >
> > @+Maarten,
> >
> >
> >
> > _______________________________________________
> > Magritte, Pier and Related Tools ...
> > https://www.iam.unibe.ch/mailman/listinfo/smallwiki
> >
>
>
>
> --
> http://jmck.seasidehosting.st
>



_______________________________________________
Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki