Google analytics code under OS/X

I have modified the head.html file in the default html gallery to add the Google analytics code as per the instructions provided by Google. I first did this when I was working on a windows platform and all was well; the tracking code worked and the Lightroom web module behaved as expected. When I do the same thing under OS/X, each time I select an image or index in the web module, Lightroom opens a browser window with "http://www.google-analytics.com/ga.js". I noticed this behavior mentioned on a blog entry discussing LR and analytics, but wondered if anyone had found a way to prevent this. The analytics code works fine when uploaded to a web server, but the browser window opening behavior in LR is a pain.
Again, this only happens on OS/X, it does not happen on a windows platform.
Thanks.

You can find information to help you solve the problem here
in the forum:
http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?forumid=55&catid=290&threadid =1334782&highlight_key=y&keyword1=google
and I've also found some information here:
http://groups.google.com/group/analytics-help-tracking/browse_thread/thread/c01cf664b327df c2
Another option that you may want to look into would be to use
an include file in your template that contains the tracking script
code. I imagine that would prevent Contribute from re-writing the
tracking script code.
Hope this helps

Similar Messages

  • IWeb and HTML (need to insert Google Analytics Codes

    I have published my iWeb site but do not use (.Mac).
    I am subscribed to Google Analytics and have a code which I managed to insert using Transmit.
    When I needed to alter my webpages, I lost all my HMTL codes and had to reapply them page by page (an arduous task as I have 40-odd pages!).
    How can I keep the codes in situ on the iWeb pages so that I can edit my iWeb pages and not have to keep putting them in everytime.
    Thanks
    Frances

    You can't. But MassReplaceIt can make it a little easier for you.
    http://www.hexmonkeysoftware.com

  • Issue with Google Analytics Character Encoding (Contribute changes the code)

    I am wondering if there are any admin settings to work around this issue. This is an issue with Contribute CS3/CS4.
    Editing a page in Contribute turns encoded characters into unencoded characters. For example, turning "%3C" into "<". Encoded version has no errors.
    Un-encoded characters in Google Analytics code causes Scripting Errors on each page you open in Contribute, make loading slower, and make it difficult just to browse the site using Contribute.
    Specifically changing this:
    <script type="text/javascript">
    var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
    document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
    </script>
    to this:
    <script type="text/javascript">
    var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
    document.write(unescape("<script src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'></script>"));
    </script>
    (I believe it is the double </script></script> that might be causing the error to pop up.)

    Set the link encoding option as "Insert Links As Is", under Administer website dialog.

  • Google Analytics, PDF Tracker, where does code go?

    okay, so I've installed Google Analytics on my website using Automator. I still have about 12 hours to go to see if it works. In the mean time, I'm trying to figure out how to track the number of times a pdf file on my site is downloaded. I found a google analytics script i'm supposed to insert on my pdf link, but where is this in my files?
    -christina
    www.christinaforshay.com

    The Google Analytics code goes right before the </body> tag at the bottom of your page's HTML source. If your still not sure you can look at the source of my homepage to see where it goes.
    http://www.take2vm.com

  • How to insert Google analytics in BC website

    Please can you assist with how we can insert our Google Analytics in our clients BC websites
    thank you
    Michelle

    Hi Michelle,
    log in to your Google Analytics account, click on a project and go to Admin > Tracking Code.
    Under Step 2 copy the javascript code and paste it into each of your BC templates BEFORE the closing body tag (</body>). Done
    A more advanced approach would be to create a content holder, paste your Google Analytics Code in there and insert the contentholder into each of the templates before the closing body tag. That way you have only one file, in case you need to edit it later.
    Nicole - BCGurus.com   |  http://bcgurus.com/Business-Catalyst-Templates for only $7

  • IWeb '09 and Google Analytics

    So, Apple finally released the feature I've been waiting years for - the ability to upload to FTP in iWeb '09. This is really awesome because iWeb can upload changes to a site only instead of having to export the site to my hard drive then upload the entire site via a separate FTP program.
    The only problem is it has basically broken my Google Analytics support. I used to use a Automator script to automatically add Google Analytics code to each page before manually uploading, but now that iWeb does the uploading itself, I can't do this anymore. And the way iWeb implements HTML "widgets", it loads javascripts in a separate file instead of in the main HTML file of each page, which basically means Google analytics won't work.
    Does anybody have a good way to get Google Analytics working in an iWeb page without exporting the page and uploading with a separate FTP program?

    J-a-x:
    I started using iWeb '08 when it first came out and have been very happy with it. I purchase iLife '09 and have switched to iWeb '09 with very few problems. I use Statcounter (and Google Analytics on one site) and ran into the same problem that you have indicated. Initially, I used the Publish to FTP function and used html snippets for the Statcounter code which worked OK.
    One of the problems with using iWeb is that the pages do not always look the same in Safari as they do in IE7. What I do not is publish to a folder then through VMWare Fusion, look at the pages in Internet Explorer. The main difference that I am finding is the text boxes. This procedure allows me to make sure that the pages veiw correctly in IE7 before I publish them.
    Once, I am happy with the pages in the website, (at the recommendation of Roddy) the pages are optimized through Website Maestro (WSM). This creates another folder in your Sites folder with each site optimized. I then use iTweak to add the Statcounter codes to the optimized pages and then upload to the server with Fetch. WSM has the upload function, but last night I could not figure out the paths correctly so I used Fetch.
    FYI, I am also using Multisite with iWeb '09 and it seems to work fine. I maintain three websites, two of which have similar information. I can be working on a site, use Multisite to quickly switch to one of the other websites, copy information, then switch back to the previous site and paste the information. Seems to work well.
    I think an important thing to remember is that most of the people that view your website are going to be using Windows Internet Explorer so it is very important that you make sure that the view they see is correct; in that case WSM is a must have.
    Is iWeb '09 worth the upgrade? Yes, I think so even though I have chosen no to use the Publish to FTP function, the Publish to Folder option is much enhanced. There may be some additional enhancements that make it easier to use that I do not use and am unaware.
    Hope this helps!

  • Can Google Analytics provide reports/data from a Contact Form created in Muse?

    My Muse site will be hosted by a third party hosting service, as I am creating it for a client. My client wants to be able to see a monthly report of inquiries submitted via the contact form, which was created in Muse. Can Google Analytics provide reports/data from a Contact Form created in Muse?

    Muse makes files through interface design approach. It has actually nothing to do with the running of your site. And this forum is for Business Catalyst, Adobe's CMS. If you are not using that and a 3rd party then for tracking etc that is based on you or someone else installing the google analytics code on that website. Muse has nothing to do with that.
    Here is google's starting guide for that.
    http://www.google.com/intl/en-AU/analytics/learn/setupchecklist.html

  • Iweb and google analytics

    hi,
    i am new to iweb, i am trying to insert a google analytics script to my new site, how can that be done? can i edit my site in HTML mode?
    please advise, thanks, Meir

    Salut,
    I just tried 1000 combinations to implement that code and only had errorr... The solution proposed by Wyodor (thanks for the post btw) seems to be simple and easy but I definitely don't understand what I'm doing wrong...
    - I changed the google analytics code thanks to "Fraise" (HTML editor) by deleting :<script type="text/javascript"> and </script>
    - I uploaded the text file in a specific folder on my server (in the root)
    - I finally added the HTML snippet on iweb with the code given by Wyodor...
    - I publish
    = Result : no google analytics when I check my source code...
    Maybe my mistake comes from the code : newScript.src = 'http://url/of/the/file/named/analytics.js';
    Could you tell me exactly what URL (of the file named) I have to put in the HTML snippet ?
    I also read some articles where people say that iWebSEO is working well. Would you recommend to use it instead of that solution above ? Do you think that iWebSEO can be a good way implement meta tags in order to improve your visibility on search results ?
    Thanks for your help
    Merci !

  • Google Analytics in CS5 web galleries?

    Hey everyone,
    Just wondering if there is a way to change the template so it adds Google Analytics code to every new gallery I create?  I could just edit each gallery later but wondering if there is a quicker way?  What about Flash galleries too?
    Thanks,
    Chris

    Hi Colin,
    Just an update...  It looks like we finally got this up and running.  Two important notes for anyone following in our footsteps...
    1)  It appears that the Analytics for Flash does not work with a "Mobile App" account, it only seems to work with a "Web site" account.  When creating the new account to track your AIR app created in Flash, create the standard "Web site" account.  When asked for a URL, even though a mobile app isn't a web page, you need to put something in that field, so enter a URL that links to something you've created.  It doesn't seem to need to actually be related to the app you're trying to track, I think they just need to confirm that a URL exists.
    2) It appears that it takes several hours (24 hours perhaps?) after creating the analytics account for data to start showing up.  When I came back to this after the weekend, none of the tests I did within the first few hours of the account's existance ever showed up, not in Real-Time, nor in any of the other views.  But, to my delight, Real-Time data began appearing on Monday, so it must take some time to propegate before the account starts showing activity.
    Colin, I can't thank you enough for your patience and willingness to see me through trying to get this up and running.  It really is a very simple process if you take note of the two points above, but short of knowing that, it was very frustrating.  So thank you ever so much for being such a valuable resource to this community!

  • Adding Google analytics in muse

    when I add the Google analytics html code in Muse the code shows up on the page?

    Hello,
    You can add the Google Analytics code in the "html for head" section of the page by going into Page properties.
    Please refer to forum post : http://forums.adobe.com/thread/987920
    Hope this helps.
    Regards,
    Sachin

  • Directions for adding Google Analytics and Verifying Webmaster

    If you publish to mobile me:
    Here you go
    I have google analytics and webmaster tools now set up on my blog. I used Iweb Buddy to accomplish putting the google analytics on my site. Here are the steps.
    I publish my blog to mobile me but have my own domain name. http://decorateagarden.com/
    1. Set up an account at Google
    2. Go to analytics and add your blog
    3. This will give you a UA #
    4. Purchase and install something like Iweb Buddy
    5. Open Iweb Buddy and follow their instructions to add the UA# from google to Iweb Buddy
    6. Process your blog pages from Iweb Buddy as this puts the google analytics code on your blog. Note!, this is not the same thing as publishing you blog from Iweb. This is called processing and is done from Iweb Buddy right on your computer.
    7. Each time you publish an update on your site, you must also process that update on Iweb Buddy. You won't have to process the whole site--just the pages you published.
    To get your blog verified for Webmaster tools on Google for Iweb,( you have to be able to access your server and prove you own your Iweb site)
    1. Go to your account at Google
    2. Go to webmaster tools
    3. add your blog
    4. choose upload as html
    5. take the code it gives you---exactly---( I uploaded to a saved document file and removed the
    -1 my computer had attached to it and then copy and pasted it before I uploaded that code to my website folder in Idisk)
    6. put it in the sites folder for your site on your Idisk
    7. Go back to google and hit verify
    8. If it doesn't verify on google
    9. you entered the code wrong on Idisk
    I actually had to hit verify about 10 times to get it right. I kept entering the code wrong on Idisk but I am new to all this Iweb stuff.
    When it verifies, a new page on google loads.
    I hope this helps someone. Wishing you all the best with your sites.
    If anyone has a good way to index my whole site from my welcome page...I'd sure like to hear it. I mean without adding Google ads.

    I'm no longer publishing every page to Iweb buddy. Now that my google analytics code is picked up on my site---I just insert( the google analytics code) it into an html code on any any new pages I create right from Iweb and put it on my sidebar of those new pages and it works when I publish to mobile me. My pages are appearing in my google analytics just fine now on analytics. My site is appearing in Google search as it should.

  • Google analytics in content holder

    Is it possible to place Google Analytics code into a content holder, so if the client needs to update it later advertising tracking purposes they would only need to do this in one spot?

    yes  and there's also a BC.App for this too.

  • Google Analytics and tracking unique downloads

    I have a resource page with .pdfs and .ppts
    What do I need to do to track if a user clicks on these links?
    Is there also an extra step I need to take to track if they successfully downloaded the target completely?
    I heard one solution is to make a single sub-web page for each download item and stick an analytics snippet in to the page as one way to track, but this sounds tedious and not very efficient. Is there something that can track this on the fly?
    Thanks!

    Here's a solution that may work. Just tried it today. May see results tomorrow.
    Get the Google analytics code.
    Open TextEdit and set it to plaintext.
    Paste the code WITHOUT these opening and closing tags :
    <script language="JavaScript" type="text/javascript">
    <!--
    // -->
    </script>
    Save the file as analytics.js
    Put the file on the server and determine the URL to it.
    Create a blank page (for testing) and paste this code in a HTML Snippet.
    <script language="JavaScript" type="text/javascript">
    <!--
    var headID = parent.document.getElementsByTagName("head")[0];
    var newScript = parent.document.createElement('script');
    newScript.type = 'text/javascript';
    newScript.src = '../js/analytics.js';
    headID.appendChild(newScript);
    // -->
    </script>
    Where it says *newScript.src = '../js/analytics.js';* use your own URL.
    Publish the page.
    Visit your page and open the Activity window in Safari (Comand-Option-A)
    Note the 2 URLs to Google. They look the same as with code that is pasted in a page.
    Tomorrow check with Google to see if your page appears in the stats.
    Call your friends and family and tell them to visit the page. More visitors may show more results.
    If it works, fine.
    If not, then I'm mistaken and will sob in a corner.

  • Dreamweaver, Wordpress   Google Analytics

    Hey, I'm using Dreamweaver and Wordpress for a site and have added the Google Analytics code to each page within wordpress, but my analytics aren't working properly. I'm getting some stats, but they don't seem to be correct. Should I be adding the code in Dreamweaver too? Any thoughts?

    Using the WordPress plug-in is the correct way to add Google Analytics code to a WordPress site.
    There aren't "pages" to add anything to, per se, with DW. Once the WP site is up and running, your pages are all created on the fly by pulling info from your database.
    Unless you fully understand the ins and outs of PHP, opening WordPress include files and making changes in DW can be pretty daunting.

  • Google Analytics for iweb 09 site published to MobileMe

    At one point I was able to add Google Analytics to my iweb site that's on Mobile Me. That lasted 2 days, till I republished it. I redid it twice, I thought the same way. The last time was yesterday after changing to new iweb 09 software. I published site to local disk (idisk), then went to Automator and added the Google Analytics code (UA-xxxxxxx-x) again and unchecked "Old Style Analytics Code". I saved as a new "Google Analytics plugin". Then I selected website folder on idisk through Finder. Then control-clicked (to run Google Analytics workflow) and chose the "Google Analytics plugin" from menu. After this, I went back to my site in iweb and clicked on "Publish". I assumed that it published the site in idisk, where I had added Google Analytics. But it's been over 24 hours and no results in Google Analytics.
    Through Safari, I went to home page of site, then clicked View, then page source and I don't see the Google Analytics code (UA-xxxxxxx-x) shown so it didn't seem to work. I just don't know where I made a mistake. I don't think its because I changed to iweb 09 because I re-did it the same way in iweb 08 (but did not uncheck the "Old Style Analytics Code") and it didn't work then either. Can't figure out how I got it to work for two days when I first tried it.
    Please help. Anyone?

    It is now easier than ever. You don't need an outside application, or an automator action at all. I used to use Transmit to upload my site, since I first had to export it to a folder, then run the automator action. I again spent some time looking for how to do it for iWeb 09 and found the easiest (and therefore overlooked) way:
    1. in iWeb, create an HTML snippet
    2. Copy the Google Analytics code and paste into the snippet.
    3. Make the box as small as it can go (although this does not really matter since nothing will display on your site)
    4. Copy this snippet and go on each page on your site and paste it.
    5. Publish your site.
    6. It will take a little bit of time for it to show up on the Google Analyics page, so set it up, then walk aawy for a little bit.
    This worked for me right away, and I no longer have to export to a folder and use an action of any kind.

Maybe you are looking for