I have added her Google analytics code to the home page ( where the carousel stuff is ) and to a couple of other pages, news and newslist which are made using FW and webyep.
Now she is upset as the carousel panes do not show in the analytics.
Does anybody know if there is a way to get the carousel panes to show up in the analytics, basically the six panes are named apage, bpage, etc.
I hunted the google help which does show a way to track javascript onclick links but it I do not know what to do to make it work
You’re basically going to have to double up the effort on your
carousel tabs. Normally, you apply the Action to the tab image, and
the Action creates a link on that image set to the ID of the pane you
want to have come into view. So if you were to look at the code, you
would see something like
<a href="#apage"><img src=" ... " /></a>
for the apage tab.
The Carousel Tabs Action will overwrite whatever href (URL) is added
to the tab, so you can simply create a dummy URL and add this onclick
code to that URL through the Hyperlink dialog. (I haven’t tested this,
but it should work okay.)
So to add a custom tracker for /panes/apage try this:
Click on the tab for apage, and press Apple-K for the Hyperlink
dialog.
Click on the External tab, and enter #apage in the URL field.
Click the Extended button in the Hyperlink dialog, and in the
resulting sub-dialog, press New.
In the Name field, enter onclick
In the Value field, enter javascript:pageTracker._trackPageview('/ panes/apage');
(If you’re viewing this in e-mail, strip out the back-ticks that
surround the JavaScript above – they are there to keep the Web forum
view from rendering the single-quotes as correct punctuation.)
You can use whatever naming scheme you (or your client) like here,
this is just for example. Whatever you use should look like a “legal”
URL (no spaces or illegal control characters), and it will be reported
in the GA interface as if it was a real URL to a normal page that was
clicked. Note that this will not (and cannot) report if someone pages
to the apage pane using the previous/next buttons.
I love you… ( in a truly professional sense that is ! )
thanks for what has to be the quickest reply on the forum yet.
I will change the pane names to relect the content and then follow your procedure above, will let you know how it goes.
Cheers !
Gary
BTW been meaning so say it for ages, the video you showed ages ago of the birthday party with the balloons which I presume is your daughter, was the best movie clip I have seen in ages, I showed it to loads of my friends - I hope you have it on YouTube…nice one G