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.

#1 2013-05-31 03:17:59

dussel
Member
From: OWL / Germany
Registered: 2013-05-27
Posts: 61
Website

Analytics by piwik ?

Hej to all....

little question, please...

under my settings in the LR - Pages --> analytics  i found the possibility to enter the Google analytics UA-Code there.

Is it also possible to work with http://piwik.org/features/ ?

What do i have to do for that?

Thanks for help


https://www.rl-foto.de Due to the DSGVO in Europe offline yet

Offline

#2 2013-05-31 09:44:27

Matthew
Administrator
From: San Francisco, CA
Registered: 2012-09-24
Posts: 5,795
Website

Re: Analytics by piwik ?

We do not support any other analytics services "out-of-the-box", but you can use PHPlugins extensibility features to add whatever code is necessary to your site to integrate with such services.


Matt

The Turning Gate, http://theturninggate.net

Offline

#3 2013-06-20 05:35:56

michilge
Member
From: Sprockhövel, Germany
Registered: 2013-04-15
Posts: 206
Website

Re: Analytics by piwik ?

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

Offline

#4 2013-06-24 15:33:23

Matthew
Administrator
From: San Francisco, CA
Registered: 2012-09-24
Posts: 5,795
Website

Re: Analytics by piwik ?

No simple solution for that, I'm afraid. If you wanted to trigger tracking on Photoswipe initialization, then you would need to dig into Photoswipe's callback events. http://photoswipe.com for information on that, but I'm afraid it's beyond the scope of support for the plugins.


Matt

The Turning Gate, http://theturninggate.net

Offline

#5 2013-09-06 18:07:49

michilge
Member
From: Sprockhövel, Germany
Registered: 2013-04-15
Posts: 206
Website

Re: Analytics by piwik ?

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

Offline

#6 2013-09-06 19:30:51

Matthew
Administrator
From: San Francisco, CA
Registered: 2012-09-24
Posts: 5,795
Website

Re: Analytics by piwik ?

michilge wrote:

... 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 ...

Done; that's PHPlugins.

michilge wrote:

... but also into appropriate events of the gallery scripts utilised by the plugins.

That's pretty well impossible, as such injections do not adhere to any standard. Trying to setup a universal plugin point would be pretty fruitless, as it would still necessitate that you get into the code, familiarize yourself with what's going on, with what the injected codes needs to do, and then work to make it happen. This would most likely be best accomplished by putting your changes into a publisher template for use by multiple galleries.


Matt

The Turning Gate, http://theturninggate.net

Offline

Board footer

Powered by FluxBB