Jump to content

discoloser

Members
  • Posts

    10
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

discoloser's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. I found it here: http://www.google.com/support/analytics/bin/answer.py?hl=en_GB&answer=174090&utm_id=ad Once you find the code snippet, copy and paste it into your web page, just before the closing </head> tag*... Anyway, now I use event tracking instead. We'll see tomorrow if it succeeded
  2. I followed this (http://www.google.com/support/analytics/bin/answer.py?hl=en&answer=55529) but still no success And according to google analytics you should place the tracking code just before the closing </head> tag
  3. I use google analytics on my website and it works perfectly, except when I want to track the number of downloaded images. The code I use looks like this, and I don't understand why it does'nt work. Someone who knows? <html> <head> <script type="text/javascript"> var _gaq = _gaq || []; _gaq.push(['_setAccount', 'XX-XXXXXXXX-X']); _gaq.push(['_trackPageview']); (function() { var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); })(); </script> </head> <body> <a href="download.php?dir=images/paris/20100922&file=_MG_1457.jpg" onClick="javascript: pageTracker._trackPageview('/downloads/_MG_1457.jpg');"><img src="images/paris/20100922/_MG_1457_thumb.jpg" /></a> </body> </html>
  4. Exactly, there is a problem. The folders will not change, but I will be adding new ones.
  5. I´ll try to explain more clearly: My image gallery is based on folders. Every folder is a category in the gallery. If the folder´s name is "Öland" I want the url to be "oland". Can I do this without changing the name of the folder and without using database?
  6. Can I use str_replace() to specify the folder name in the path?
  7. Yes, I have images in the category folders on my server. And when I use str_replace to change Ödla to odla, the category can´t find the images
  8. I´ve tried str_replace(), but "odla" couldn´t find the images in "Ödla"
  9. Hello, I have a photo gallery with a simple ul list of categories. The categories are folders on my server. If a folder is named "Ödla" then the category is named "Ödla" too. Is it possible to replace Ö in "Ödla" with o. I onlyt want to change the name of the ul list, not the actual folder on the server. I hope you understand what I mean.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.