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 !

Similar Messages

  • 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!

  • Iweb'09 blog comments and google analytics

    My apologies if this has been asked before.
    My blog no longer allows comments. This occurred when I used the Automator program to add google analytics to my site. The good news is that google analytics does work. I host the site on mobile me so I have 2 questions
    (1) Is there a way to get google analytics to work and allow blog comments within a moble me hosted site?
    if not, how can I remove google analytics to restore the blog comment capability and is there a monitoring package available within the mobile me world?
    thanks

    I had the same problem. From the little research I've done it appears that you can't have the comments on and run GA at the same time. I have seen some messages on here that claimed to move a picture on the pages that had comments in order to restore the ones that were lost. I didn't have any luck with it.
    Here's and interesting site that references it in the comments section.
    http://allaboutiweb.com/index.php/2009/01/why-use-google-analytics-iweb/

  • Techie Question about iWeb, outbound links, and Google Analytics

    Hi,
    I have a kind of pretty technical question about using Google Analytics (GA) with iWeb sites to measure clicks on outbound links. Here's the setup:
    1) My website's online, and GA is working properly.
    2) I don't sell stuff directly, but I do have a "Purchase" page which contains a link to a specific Amazon page.
    3) I'm pretty sure I can measure how many people go to the Purchase page using GA, but how do I measure whether visitors click on the Amazon link? It would be interesting to me to be able to gauge what the conversion rate is; that is, how many people actually proceed to purchase the product at Amazon.
    I've checked the GA instructions and there's a page about manually tracking clicks on outbound links but it requires some code inputting. I know zero about coding, but I'm pretty sure that in iWeb you can't get access to the source code to input the required code.
    Am I wrong about this? And if I am, then does anyone here know how to measure the clickthrough rate?
    Anyway, hope you can help. Thanks in advance.

    I don't know about the link tracking but you could have the link take you to a redirect page which automatically sends them to Amazon.com after a preset time, 0 seconds to whatever you'd like. You can put a counter on that redirect page, like StatCounter. StatCounter can tell you how many, from where they came, i.e country and area, repeat visits, etc.
    Tutorials #12 & #13 describe how to put a visible counter on a page but with a redirect page you wouldn't have to bother since it wouldn't be seen. You can get all of your information from your account on the StatCounter site.
    The redirect page would be a simple plain text page titled redirect.html and would look like this:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
    <html>
    <head>
    <meta http-equiv="refresh"
    content="0; Destination URL">
    <title>Redirecting or whatever you'd like to appear at the top of the browser</title>
    </head>
    <body>
    </body>
    </html>
    0 Is the number of seconds to wait before redirecting the visitor. If set to zero the visitor would not know they were being redirected. Replace Destination URL with the Amazon URL you want them to go to.
    OT

  • Problem with redirection and google analytics

    Hello,
    I created my professional website with iweb and bought a domain name for it can be simplest to remember, so this professional domain name (www.julienchabot.com) redirect to the iweb url (web.mac.com/julienchabot/iweb/com/home.html). Now I subscribed to Google Analytics to know the statistics of my website, but it seems that when people visit www.julienchabot.com, google analytics doesn't register any visit on my website, it only registers something when the iweb url (web.mac.com/julienchabot...) is visited, so only when I visit my website as a webmaster because I'm the only one to know this url.
    So it's very frustrating for I can't know the statistics even if Google analytics seems to provide fantastics results !!!
    However, when we're on julienchabot.com and that we read the source code, the correct code and iweb url appear on the top of the window... Does the problem come from the redirection company I subscribed to ?
    Has someone a solution to this problem ?
    Thank you very much for your help !!
    Julien

    Dear Gretsch,
    Thank you for this website, I just registered but unfortunately the problem is still the same ! I think it's due to the redirect company I subscribed to, they use "frames" for the redirection.
    Do you use frames as well for your website ? StatCounter asks if it's the case before providing the code and I replied "yes", they specify to put the code in the main page where there's not the "frame" code, but I don't know where this "frame" code is written, so I put the StatCounter code on the homepage one, but it's the same than with Google.
    Would you mind provide me the url of your website for I can compare your code to mine ?
    Thank you very much for your help !
    Julien

  • IWeb with Google Analytics

    I spent all morning setting up Google Analytics. Looked at dozens of posts here with loads of misinformation. iWeb 09 does work with Google Analytics. Here's what worked for me. They key was to make sure my URL ended with a /. That is, it didn't work when I pointed to www.testsite.com but it did with www.testsite.com/
    Go to Google Analytics to set up your site and get your code
    (something like 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>
    <script type="text/javascript">
    try {
    var pageTracker = gat.getTracker("UA-xxxxx-1");
    pageTracker._trackPageview();
    } catch(err) {}</script>
    Add an HTML snippet (Show Media, click on Widgets). I dragged the HTML widget to the footer (as you drag, the bottom inch illuminates so you know you're in the footer.) Paste in the code you got from Google. Re-size as desired and then post the same HTML snippet into each page in your web. Just click on each page and paste. It will go to the same place on each page.
    Oh, one other odd thing: in the Google Analytics display, the current day is not shown. Click on the date range to choose today and you should see results fairly quickly.

    Hello ruralart,
    After saving the automator workflow as a Finder Plugin,
    mount you iDisk in the finder (ex. click on the iDisk icon in the left pane of a Finder window),
    goto the folder iDisk / Web / Sites , select this folder "sites",
    control-click on the folder to run the “Add Google Analytics” workflow.
    Note : when you have iDisk Sync = ON, you'll see that the folder "web" is an alias so Automator will not work in this situation. You'll have to turn iDisk Sync OFF.
    Kind regards,
    Leo

  • Iweb et google analytics

    Bonjour,
    J'ai créé mon site via iweb... jusque là la vie est belle
    impossible de trouver comment intégere les balises google analytics sur les pages de mon site... je ne comprends rien
    Il y a t-il une méthode simple et compréhensible
    je vous remercie par avance

    If you want to add title tags and meta descriptions for SEO as well as Google Analytics, youcould consider using the application iWeb SEO Tool...
    http://www.iwebformusicians.com/Search-Engine-Optimization/Tags.html
    This app will add the analytics code to all the pages of your site with one click.

  • Iweb and  google and

    ok i use iweb and i was wondering if it is possible to do this with it
    http://mitchellbrownphotography.info/Picture%203.png
    so it shows all my website pages under my website in google.
    or if not i do actually use dreamweaver and i was wondering if i could do it with that if not can anyone help of you wanna contact me with extra info or anything else it is [email protected]
    thanks Mitch

    That is not something you have real control over. It is something Google will do automatically for your site if they feel it is necessary. Here are some of the things you can do to help your chances of having those links come up;
    1) Link to your important pages from within your website using the same anchor text (ie the blue underlined text)
    2) Get links to your important pages from third party websites using the same anchor text (This is difficult since it is hard to control how other sites link to yours)
    3) Create an XML Sitemap file and create a Google Webmaster tools account. From here you can control what links Google displays for your website.
    Keep in mind that this takes time. If your site is new, you will probably have to wait a few months before these additional links start appearing in Google's search results.

  • Flash and Google Analytics

    Hi there!
    I'm wondering if anyone here has managed to hook up a flash site to google analytics.  I'm talking specifically about communicating clicks internal to one's flash application to the Google Analytics system.  Seems to me this is either impossible or a total pain in the keester.  Any and all comments or insight are welcome here.

    http://code.google.com/apis/analytics/docs/tracking/flashTrackingIntro.html
    That should get you started....
    HTH
    -Ted

  • Adobe Muse site and Google Analytics/Webmaster Tools

    Ok, so this is my first time attempting to utilize Google Analytics/Webmaster Tools, etc. onto a Muse website. It gives me an html code that I am supposed to add to my website. Without using the Edit > Insert Custom HTML, I need to actually go into the site Code and add it manually. For example, the Google Webmaster basically wants me to add a "google1234567890.html" page to my site, so I need to actually be able to upload a .html to act as a page on my muse site so that it can verify the "www.domain.google1234567890.html if one were to visit it like a page. Additionally, with Google Analytics, it requests you add a custom html code to each page you want to "track". The Edit > Insert HTML does not work with these tools. So ultimately, how can I access my actual HTML code in order to add these manually to each web page, AND have it Publish?

    http://www.j-26.com/google-webmaster.html
    http://www.j-26.com/google-analytics.html
    those are updated version of Dr Juan's links.

  • IWeb and Google's Website Optimizer

    I am interested in using Google's Website Optimizer to analyze which of my web pages get the most attention and are the most effective. I need to modify the HTML in my web pages and "add HTML tags" but I don't know how to do that or if that's possible in iWeb? Can anyone help me figure this out? Thanks!

    You can use the freewareiWeb SEO Tool to add keywords, page titles and photo alt titles which help search engines.
    OT

  • Can't access certain Google sites (youtube and google-analytics)

    I can't access Youtube or goole-analytics in Safari or in Firefox. In Safari, I get an error saying that Safari could not contact the server. Here are more symptoms:
    - A ping from Terminal works. The site responds.
    - No change when firewall is turned off.
    - No change when LittleSnitch is turned off.
    - No change when all settings in Safari are reset.
    - google.com works fine.
    - yahoo.com works fine.
    - Other video sites work fine - only youtube is affected.
    - Youtube videos linked on other web sites do not work.
    - In Safari I get a blank window - no text at all.
    - In Firefox I get text but no videos at all - but the page never fully loads.
    - Parental controls are off.
    - I connect to the internet without proxies - ie. there are no proxy settings.
    - I have installed the latested versions of Flash and Shockwave.
    I have seen a lot of messages regarding this problem. Does anyone know about the cause ? Some people have noted the problem started with the beta version of Safari v4. If so, why would that stop Firefox from working ?
    It's not a big deal but this is really bugging me. Why would all web acess be lost ?
    Thanks
    Garry

    Great news Garry, thanks!
    DNS Servers are a bit like Phone books where you look up a name and it gives you the phone number, in our case, you put in apple.com and it comes back with 17.149.160.49 behind the scenes.
    Problems are that many Modems/Routers don't communicate the DNS Servers with macs all that well because they've made mistakes in their Firmware & by golly by gee, they tell MS about the workaround!
    Then, many... even major ISPs have DNS problems and may have not even patched them against DNS poisoning!
    Those numbers are in the US, and there may or may not be faster ones in your area, but I doubt there'll be and better more reliable ones!

  • IWeb and Google

    Dear iWebbers,
    I have published a new site made in iWeb on my personal domain. Now Google doesn't seem to find my site anymore. I would very much appreciate any tips or solutions.
    Thanks, Jeroen

    It looks like your website is called Site_2 in iWeb so the sitemap.xml should go inside the folder of that name and its URL will be...
    http://web.mac.com/joegramm/Site_2/sitemap.xml
    You would be better to name your site JoeGramm or Joe_Gramm or Joe.Gramm.
    Once you have submitted your sitemap to Google and had it verified, the spiders then crawl your text - they can't look at photos! You need to put your keywords like Joe Gramm, Upholstery etc in the text on your pages.
    As far as I know the masking stops Google but you'll find that out for sure if you try to them to verify using that URL.
    I use the application Google Sitemap Automator to create sitemaps.
    I just read your latest post while writing this.

  • Why do Google Analytics and Sharepoint give difference in numbers?

    Hi all,
    We are using Google Analytics with our Sharepoint Intranet portal. Just recently we’ve decided to compare the numbers with the real server logs as the numbers from google where a little bit suspicions. After some data analyzing, it looks like the numbers are totally different, and my boss is not believing and numbers from google analytics now. The problem is that we are using google analytics on our website as well (hosted in different place and based on different CMS though), but because of the differences in Sharepoint my boss is questioning the numbers for the web as well! Is it possible that the Sharepoint here is the problem and google analytics is not working properly with it, because I don’t know – the way it is structured, caching servers, etc, not sure. Please, could you explain that a little bit to me if you had similar experience or might know what it works like that.
    Thank you very much in advance for your help.
    stone28

     Google Analytics Tracking Code is executed (behind the scenes) in the client's browser and if that can access the Internet to register the hit on the Google Analytics server, GA should collect the Intranet traffic just fine. I can't see why the GA script will not fire if someone visits that page.
    If you have one HTML page with no images or external files called from it like stylesheets or javascript this will be one line on the IIS log each time it is loaded. If you have an HTML page with an external stylesheet and 3 images this will be logged on 5 lines in the log file each time the page is requested because you are requesting 5 files from the web server. Usually your statistics software will filter out all the requests for images, stylesheets and other files and just look at the pages that were loaded because we usually don’t care how many times the logo on each page was loaded.
    When you type in a URL to a specific page on a sub site that folder hierarchy and file doesnt really exist in the physical file system. What happens is the request is intercepted by SharePoint/WSS and routed to a DLL that renders the file from another location (a ghosted page) or renders the page from the SQL database (unghosted page). So your IIS logs are going to contain a whole lot of requests for DLLs like owssrv.dll.
    Reference -
    http://www.sharepointsos.com/category/sharepoint-analytics/
    Hope that helps !!

  • I get an unwated extra page popping up and slow browsing and at the bottom it says waiting for google analytics

    unwanted google page when i click a link or can just pop up when it wants to and google analytics at bottom of page not allowing the page to load when i refresh it says stopped please help its doing my head in and i know of 3 other laptops the same
    == This happened ==
    Every time Firefox opened
    == few weeks ago

    Do a malware check with a few malware scan programs.
    You need to use all programs because each detects different malware.
    Make sure that you update each program to get the latest version of the database.
    http://www.malwarebytes.org/mbam.php - Malwarebytes' Anti-Malware
    http://www.superantispyware.com/ - SuperAntispyware
    http://www.safer-networking.org/en/index.html - Spybot Search & Destroy
    http://www.lavasoft.com/products/ad_aware_free.php - Ad-Aware Free
    http://www.microsoft.com/windows/products/winfamily/defender/default.mspx - Windows Defender: Home Page
    See also "Spyware on Windows": http://kb.mozillazine.org/Popups_not_blocked and [[Searches are redirected to another site]]

Maybe you are looking for