Community @ The Turning Gate

Support community for TTG plugins and products.

NOTICE

The Turning Gate's Community has moved to a new home, at https://discourse.theturninggate.net.

This forum is now closed, and exists here as a read-only archive.

  • New user registrations are disabled.
  • Users cannot create new topics.
  • Users cannot reply to existing topics.

You are not logged in.

#176 Re: General » Analytics by piwik ? » 2013-09-06 18:07:49

Hello Matt,
I agree to that. But if it comes to dreaming, it would be a cool feature of the plugins to provide a slot for any kind of tracking code and inject that not only into each page but also into appropriate events of the gallery scripts utilised by the plugins.
As a photographer showing pictures to a public, I don't only long for the information if my album is being looked at at all, but also which fotos are being clicked most. I clean up my galleries after each season. Knowing which have found the strongest response, would give me the chance to make an evidence based decision, which files to delete and which to leave there.

I did some research and found it beyond my current abilities to modify the photoswipe events myself. But even if I will succeed, it would be even cooler not to have to do the same modification after every template export.

I wish a fine weekend,
Michael

#177 Re: General » Analytics by piwik ? » 2013-06-20 05:35:56

A first step is easy:
As the text field in the footer is markdown aware, You can simply insert the piwik tracking code there.

This will let piwik know about visits and page views. Image views initiated by direct clicks on a thumbnail.

Perhaps this already helps.

But depending on the presentation engine chosen for Your lightboxgoing it gets difficult with what I find more important. When further photos are being viewed in slideshow mode oder by mouse pull e.g. in photoswipe, these following image downloads will not get registered.
I beleive to manage this, the piwick tracking code has to be put in some place which gets loaded when the lightbox script of my choice -- actually photoswipe -- gets the next image in the series. I may be mistaken of course.
I do not see which of the PHPlugin exits might help.
Being a Photographer and not a web site maintainer in the first place I am more interested in which of my pictuers are viewed most often, regarded for longer or shorter duration rather then how my sites pages are navigated by my guests.
If a simple solution exists I would like knowing it.

Kindest regards,
Michael

Board footer

Powered by FluxBB