These forums are provided for community interactions only. For official support please submit a support ticket.

You are not logged in.

#1 2008-04-12 15:11:15

sdegan
Member
From: USA
Registered: 2007-11-10
Posts: 23
Website

Adding Google Analytics for site statistics

Hi All,
I would like to know if it is already possible to add (automatically) the Google Analytics code to track each album and images in SSP for Lightroom.
Thanks

Last edited by sdegan (2008-04-12 15:12:21)

Offline

 

#2 2008-04-14 16:05:44

sdegan
Member
From: USA
Registered: 2007-11-10
Posts: 23
Website

Re: Adding Google Analytics for site statistics

Is there anyone that may answer this question?
Thanks

Offline

 

#3 2008-04-17 21:13:55

antonivano
New Member
Registered: 2008-04-17
Posts: 1

Re: Adding Google Analytics for site statistics

First of all pardon me for my poor english.

On your website, go to the folder  where you put your gallery. There is index.html. Open it and add your Google Analytics code right after BODY tag! Thats all. For example look in my source code here: http://www.iafoto.ru/240807/

Last edited by antonivano (2008-04-17 21:14:31)

Offline

 

#4 2008-05-16 14:59:04

sdegan
Member
From: USA
Registered: 2007-11-10
Posts: 23
Website

Re: Adding Google Analytics for site statistics

Hi Antonivano,

This is what I am currently doing. The question is whether it is possible or not to have a script that automatically adds the Google track code to the slideshow and, ideally, to each slide.

It there anibody that has thought something about this?

Thank you very much for helping

Offline

 

#5 2008-06-05 16:03:30

bizrlimited
Senior Member
From: Devon UK
Registered: 2008-05-14
Posts: 89
Website

Re: Adding Google Analytics for site statistics

This is a very important feature that should be able to be included.
If your creating galleries for clients and uploading via lightroom you shouldn't have to then modify the index page off of the server just to get the stats working.

Could we get some attention on this?


Believe in is a full service design studio. Our capabilities extend across print and digital media. We have expertise in the creation of identity systems, branding, print communications and interactive design and development.

Offline

 

#6 2008-06-05 16:19:55

afrmx
Support super
From: Mexico City, Mexico
Registered: 2007-07-23
Posts: 6483
Website

Re: Adding Google Analytics for site statistics

Google Analytics is just one of many site statistics systems online, we could get a similar request to add the default code for "Mint" and if we added all then for most users the default template would be filled with code they never use and would need to open the index file and remove it to optimize their site.

For us it's better to have our product to it's basics and not implement code of third party services, if you do need to add it you may do so once you have exported the slideshow.


Antonio Farias
antonio[at]slideshowpro.net

(Tambien doy soporte en espaņol, solo pregunta.)

Offline

 

#7 2008-06-06 02:08:44

rowellphoto
New Member
Registered: 2008-06-05
Posts: 7

Re: Adding Google Analytics for site statistics

It was a fairly simple addition to the XML code provided in the package. It felt a little adventurous because i have never edited this type of code, nor do i know what it does. Thank goodness for all the great examples in the code already.

in the galleryMaker.xml file I duplicated a previous piece of code and altered the id, value, and text to suit the new addition.

we will start from the top of the file and work our way down.

somewhere near the top of the file is this:

        <mx:Model id="metadata">
            <siteInfo>
                <galleryTitle>Gallery title</galleryTitle>
                <galleryDescription>Gallery description</galleryDescription>
                <albumTitle>Album title</albumTitle>
                <albumDescription>Album description</albumDescription>
            </siteInfo>
        </mx:Model>

right under the line:
                <albumDescription>Album description</albumDescription>

add this:
                <trackingCode>Paste tracking script code here</trackingCode>

to make everything look like this:
        <mx:Model id="metadata">
            <siteInfo>
                <galleryTitle>Gallery title</galleryTitle>
                <galleryDescription>Gallery description</galleryDescription>
                <albumTitle>Album title</albumTitle>
                <albumDescription>Album description</albumDescription>
                <trackingCode>Paste tracking script code here</trackingCode>
            </siteInfo>
        </mx:Model>


next go looking for this code:

                    <mx:HBox>
                        <mx:Label text="Album Description" />
                        <ag:mruPopup value="albumDescription" />
                    </mx:HBox>
                    <mx:TextInput ag:maximumLength="3000" ag:resizeToFitTextHeight="true"
                            ag:layout="text_color=AgPanel.bright_text_color," id="albumDescription" />

and copy it and paste it underneath to change it accordingly.
What was added underneath:

                    <mx:HBox>
                        <mx:Label text="Album Description" />
                        <ag:mruPopup value="albumDescription" />
                    </mx:HBox>
                    <mx:TextInput ag:maximumLength="3000" ag:resizeToFitTextHeight="true"
                            ag:layout="text_color=AgPanel.bright_text_color," id="albumDescription" />
                    <mx:HBox>
                        <mx:Label text="Site Tracking Code (Cut and Paste Code Below)" />
                        <ag:mruPopup value="trackingCode" />
                    </mx:HBox>
                    <mx:TextInput ag:maximumLength="3000" ag:resizeToFitTextHeight="true"
                            ag:layout="text_color=AgPanel.bright_text_color," id="trackingCode" />


I dont know how all this code is going to show up on this forum. anywho, on we go

somewhere in the same file 'galleryMaker.xml' near the bottom I copied this code:

        <mx:Binding destination="metadata.siteInfo.albumDescription" source="albumDescription.text" />
        <mx:Binding destination="albumDescription.text" source="metadata.siteInfo.albumDescription" />


and made it into this code (note the duplicate but changes made):

        <mx:Binding destination="metadata.siteInfo.albumDescription" source="albumDescription.text" />
        <mx:Binding destination="albumDescription.text" source="metadata.siteInfo.albumDescription" />
       
        <mx:Binding destination="metadata.siteInfo.trackingCode" source="trackingCode.text" />
        <mx:Binding destination="trackingCode.text" source="metadata.siteInfo.trackingCode" />

and now the only other thing left to edit is the index.html

as most tracking codes go, they are right before the </body> tag in the HTML

so I just pasted this one line above the </body> tag

%metadata.siteInfo.trackingCode%


and that was about it..

now when i go into the web module and use the most amazing web slideshow program available I have a new text box to paste my tracking code into. The new text box is in the 'Site Info' panel at the bottom under, you guessed it, the 'Album Description'

Hope this helps someone.

all the best
Ryan Rowell
http://www.rowellphoto.ca

Last edited by rowellphoto (2008-06-13 18:39:10)

Offline

 

#8 2008-06-06 02:21:43

rowellphoto
New Member
Registered: 2008-06-05
Posts: 7

Re: Adding Google Analytics for site statistics

Forgot to mention that with each update to slideshowpro you will have to repeat the process again. Who knows maybe this will be added to the next release.. hint hint. smile

Offline

 

#9 2008-06-12 15:03:02

bizrlimited
Senior Member
From: Devon UK
Registered: 2008-05-14
Posts: 89
Website

Re: Adding Google Analytics for site statistics

Hi Rowellphoto,
Thats great! but I cant get it to render on the index.html page

%metadata.siteInfo.trackingCode% does seem to do anything?


Believe in is a full service design studio. Our capabilities extend across print and digital media. We have expertise in the creation of identity systems, branding, print communications and interactive design and development.

Offline

 

#10 2008-06-13 18:33:57

rowellphoto
New Member
Registered: 2008-06-05
Posts: 7

Re: Adding Google Analytics for site statistics

Looks like i forgot to add this too to the galleryMaker.xml file:

        <mx:Model id="metadata">
            <siteInfo>
                <galleryTitle>Gallery title</galleryTitle>
                <galleryDescription>Gallery description</galleryDescription>
                <albumTitle>Album title</albumTitle>
                <albumDescription>Album description</albumDescription>
                <trackingCode>Paste tracking script code here</trackingCode>
            </siteInfo>
        </mx:Model>

note the line for <trackingCode>.. this line was added to what is already there in the xml file.

Sorry for forgetting such an essential piece of code in the tut. guess i will append this to the previous post.

all the best

Ryan
rowellphoto.ca

Offline

 

#11 2008-09-03 15:52:28

mmaziarz
New Member
Registered: 2008-07-16
Posts: 7

Re: Adding Google Analytics for site statistics

Hi Ryan,

Your suggestions in this thread seem like exactly what I'm looking for, but I'm having some basic trouble that I was hoping  you or someone on the forum could help me with:

I'm using SSP for LR also, but I don't have any files generated called galleryMaker.xml.  Thinking maybe it was renamed somewhere I searched for the mx tag you write about and I can't find it in any of the files generated by SSP for LR.  Am I missing something obvious?

Regards,
mark

PS Your wedding photos are great!

Offline

 

#12 2008-09-03 18:41:35

tmcfadden
Lightroom Specialist
Registered: 2006-08-17
Posts: 1908
Website

Re: Adding Google Analytics for site statistics

mmaziarz wrote:

Am I missing something obvious?

Yup.

It's not a generated file.  It part of the SSP/LR install.  Go here to find the install directory:
http://wiki.slideshowpro.net/SSPlr/Installation

-Tim


Timothy McFadden

Offline

 

#13 2008-09-05 02:47:05

mmaziarz
New Member
Registered: 2008-07-16
Posts: 7

Re: Adding Google Analytics for site statistics

Thanks for pointing that out Tim.  That was pretty easy.

After waiting 24 hours for Google Analytics to update, it seems to be "sort of" working.  I don't have the 100% bounce rate anymore, but I'm not getting a listing of the albums visited under pages viewed in the content overview in GA.  That's what I was expecting to see to be able to track which albums were viewed.  Is that what should happen?  Any thoughts on what could be missing?

Thanks,
mark

Offline

 

#14 2010-01-21 21:00:44

bluffmedia
New Member
Registered: 2010-01-20
Posts: 1

Re: Adding Google Analytics for site statistics

Wow i am kind of shocked about the response to add some sort of google analytics tracker. Sure there are some other tracking systems out there but to not find a way to incorporate one of the largest most used. After hours of building a new gallery system using SSP I know have to scrap the whole thing and not use your product because there is no way to sell advertising on a product when you cant prove how many views its getting.

If not google analytics at least something that could be tracked vid director would be very helpful.

Offline

 

#15 2010-02-03 02:19:59

tmcfadden
Lightroom Specialist
Registered: 2006-08-17
Posts: 1908
Website

Re: Adding Google Analytics for site statistics

bluffmedia wrote:

Wow i am kind of shocked about the response to add some sort of google analytics tracker. Sure there are some other tracking systems out there but to not find a way to incorporate one of the largest most used. After hours of building a new gallery system using SSP I know have to scrap the whole thing and not use your product because there is no way to sell advertising on a product when you cant prove how many views its getting.

If not google analytics at least something that could be tracked vid director would be very helpful.

Well, this is trivial if you use your own HTML file.  That's why we won't support it.

If you are looking for tracking information, I'd consider you a "power user".  I'd also expect that you would create your own HTML.  That HTML can include any kind of tracker you want.

In my opinion, the settings are confusing enough.  90% of people who are using the exported 'index.html' don't know what trackers are or how to implement the JavaScript.

Just my 2 cents.


Timothy McFadden

Offline

 

#16 2011-09-10 17:27:06

benwinton@cox.net
Member
Registered: 2006-03-15
Posts: 21

Re: Adding Google Analytics for site statistics

I just came across the responses from SSP staff and have to say I'm rather offended by the snotty, highbrow way of answering the requests.

It is clear that you have not made an effort to understand the defined need: It is not as simple as putting tracking code in a HTML page file. Rather, it is about being able to track the Slideshow production, itself, no matter what page it appears on, and to see who is clicking on the slideshow, which might also be embedded on a page containing other content.

I have to say, the response by staff clearly seems to indicate that they do not want SSP or SSPDirector to be used much, if at all, in commercial applications, where tracking usage is a very important consideration.

I am offended.  You guys should try to better understand what the request is, rather than just brushing it off. I am considering recommending to all my clients that we discontinue use of this product and move to another one.

Offline

 

#17 2011-09-10 18:45:55

tmcfadden
Lightroom Specialist
Registered: 2006-08-17
Posts: 1908
Website

Re: Adding Google Analytics for site statistics

I'm truly sorry you were offended; I certainly meant no disrespect.  I'm not a web developer, and perhaps that's where my misunderstanding stemmed from.

No request is "brushed off."  Todd reads this forum.  He's aware of the requests placed by the users.  That's why I commented "Just my 2 cents."  As technical support, I was offering my unqualified opinion (I don't really have a say in what features are implemented).

Again, I apologize for any offence.

-Tim


Timothy McFadden

Offline

 

#18 2012-05-25 19:14:31

ashppa
New Member
Registered: 2010-07-03
Posts: 1

Re: Adding Google Analytics for site statistics

sdegan wrote:

Hi All,
I would like to know if it is already possible to add (automatically) the Google Analytics code to track each album and images in SSP for Lightroom.
Thanks

I use google analytics in the index file but It's not tracking the images, only pages (maybe albums, never checked it)
I'm looking for a way to track each images number of views and time of view.

Offline

 

#19 2012-10-24 01:47:09

neoinoakleys
New Member
Registered: 2010-03-01
Posts: 8

Re: Adding Google Analytics for site statistics

Seriously, this is a HUGE feature.  I am getting requests from my clients to better understand what galleries AND images are most popular in there galleries.  It helps my clients understand what people are looking at and would help guide their decisions on what types of images to continue or discontinue producing.

I use SSP Director with the embed function to implement smart galleries on their sites.

It is very frustrating that I have to tell them that I can't quantify the popularity of their galleries or images for them.

This form of analytical or measurements do not have to be fancy or integrated with Google analytics or anything.  I would just be happy with some way to see how many hits, views or clicks a particular image or gallery was receiving over a period of time.

Overall, I am VERY happy with this product and have implemented it into just about every appropriate project that I work on.

This lack of availability of this feature is a HUGE miss, and this would really set this tool apart.

Thanks

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2005 Rickard Andersson