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.

Similar Messages

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

  • Data tracking with Google Analytics

    Hi
    Can I use Google Analytics with iweb?

    Yes. You can add it to each page using iWeb SEO which requires it to be reapplied each time you edit a page.
    You can also add it an HTML snippet which is a one time application. However, the snippet requires a bit more effort up front. Wyodor posted detailed instructions on how: IWEB : ADDING GOOGLE ANALYTICS WITHOUT EDITING THE WEBPAGE.
    Have you looked at the information that you can get about visitors by using a counter from StatCounter.com. It's quite comprehensive and much easier to add to each page.
    Click to view full size
    Old Toad's Tutorial #13 - Adding a StatCounter as an HTML Snippet describes how to add the counter.
    I've used both and find the info from StatCounter more complete regarding visitors.
    OT

  • Google Analytics in iWeb (continued thread from 'Anchor Tabs in iWeb')

    Cyclosaurus wrote:
    --it's more precise than widget placement (if you add text the y-axis placemnt will change of course screwing up the entire alignment, which is why this royally screwed up without built-in anchor tags)
    I'm glad you got it.
    I have a precise method for within page anchors but it is too abstract for people here, so I toned it down with javascript scroll function... and yet, people still don't understand it.
    The method dynamically set/changes both source and destination of the anchors during the page load. The trick is how to set the anchors in iWeb Inspector.
    Yes, I was impressed with the utlization of the array and for loop to create the references for xyz number of links. The code could've been more bloated, but yours was efficient. I have reverence for your code's efficiency and functionality.
    That said, as of iweb3... I can build my own widgets to deal with common things like this. I'd built much more complicated widgets than just within page anchors. Have a look at my page:
    http://home.cyclosaurus.com/UnderConstruction.html
    I've tinkered wtih C, Java, and Javascript enough to appreciate good code. I am not interested in devoting more time to coding (my emphasis is NLP now), so I can't go into more depth with this, but needless to say, I was impressed with how concise, functional (non-buggy), and intuitive your javacript snippet was.
    the "_anchors" variable seems to be handled really well and you set it up for cross-browser platforms (// http:/ == Safari , http:/// == EI7 and FF).
    I may scrutinze this more to further my understanding of arrays. This is an article I wrote on arrays during a computer science class in college.
    In any case. Clean codekid. quality!
    Lastly, I have total control over every widget that I add on my page... I don't have to guess which widget# iweb assigned.
    Yes, control definitely is the ultimate result to clean, efficient, functional (non-buggy code). I'm working on a set of principles for social, outside, phone, email, physiology, inside, etc that is "Code" for success. It's very complex and needs to have efficiency, functionality, and cleanliness and concision. OKay. cheers.
    "Big Brother (aka apple)" HHAHAAH!!!! I love apple! apple computer isn't THAT controlling, but it's true, some things it's hard to have control of with apple (photo booth save folder is the most recent lol). I'll never use microsfot product again (enormous waste of time and moving backwards in life). so long live apple.
    GOOGLE ANALYTICS and your STATCOUNTER code. !!!!!!! I'm in the process of needing to set those up on my site. Did you do that efficiently? Do you recommended any widgets??? I have numerous statcounter projects, but need to get it up on my main site. Do you put statcounter html on every page of your site? is that necessary? Do you need to put a google analytics on every page of your site?? Thanks heaps. (this is probably a seperate thread now). Should we start this as a new thread?
    I've bookmarked Cyclo's and Toadie's site for thei helpfulness in the future working with iweb.
    Message was edited by: johntkucz
    Message was edited by: johntkucz
    Macbook 2.16 (White) Mac OS X (10.5.5) 8gb 1st Gen iPhone; 3.06ghz 24" iMac.
    johntkucz
    Posts: 90
    From: Los Angeles
    Registered: Jun 29, 2008
    Re: Anchor Tags in iWeb
    Posted: Jun 6, 2009 5:46 PM in response to: johntkucz
    Reply Email
    Should this be another thread? I think so. The subject has now evolved from anchor tags to analytics and other widgets! lol
    Do you host your site on mobileme or 3rd-party? I'm currently using godaddy and everyone has their preference. Regardless of which 3rd-party used, the '09 iweb ability to auto publish to ftp server is extremely handy for quickly checking to see if code/updates/changes made in iweb look and behave the way they're supposed to behave in browsers.

    "Big Brother (aka apple)" HHAHAAH!!!! I love apple! apple computer isn't THAT controlling, but it's true, some things it's hard to have control of with apple (photo booth save folder is the most recent lol). I'll never use microsfot product again (enormous waste of time and moving backwards in life). so long live apple.
    I did not mean to be a joke, I'm serious about it.
    apple have poked at my site for some of the stuff that I'm doing.
    Not just a controlling big brother... but thieves, they'd ripped off my works.
    GOOGLE ANALYTICS and your STATCOUNTER code. !!!!!!! I'm in the process of needing to set those up on my site. Did you do that efficiently?
    AFAIK I'm the only one (as now) build widgets that *actually work* with iweb3.
    So there is nothing for me to compare with, to know if I do efficient works (in iweb3 context).
    Do you recommended any widgets???
    No. I do look at other widgets to see how they work and how efficient they are...
    But I don't use them, I build my own iweb widgets.
    I have numerous statcounter projects, but need to get it up on my main site. Do you put statcounter html on every page of your site? is that necessary? Do you need to put a google analytics on every page of your site?? Thanks heaps. (this is probably a seperate thread now).
    It's all depend.
    As far as I see so far, people (most of iweb users) add GA and Statcounter thru HTML Snippet...
    But they don't realize that by doing so the codes don't track correctly.

  • Want to use google analytics in iweb. Possible?

    i transfered domain to .mac and had to convert site to iweb 08 from dreamweaver. is there anyway to continue using google analytics? google webmaster tools? insert any code? adsense seems to work but google informs me apple will share the profits!
    are there any web analytics tools native to iweb?

    Shiels,
    try the AddGoogleAnalytics automator script from here: <http://www.apple.com/downloads/macosx/automator/addgoogleanalyticsaction.html>
    Works fine for me. Even more, Henrik is very helpful in case of problems.
    Regards,
    Kai

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

  • Does iweb SEO tool from Rage replace the Google Analytics Automator?

    Until now, I ran Google Analytics Automator on my website which is saved in a local folder on my hard drive, then republished the site so that my results (visits, page views, etc.) will show up in Google Analytics reports. I just bought the iweb SEO Tool so that I can add keywords so my site will get better traffic. It asks for Googles UA number. Does this mean that the iWeb SEO Tool replaces the Automator tool I previously used so that I don't need to use the Automator tool each time I make a change and republish my site? If I do both, what happens?

    SEO Tool will apply analytics to all the pages of the site with one click.
    http://www.iwebformusicians.com/Search-Engine-Optimization/Tags.html
    There's not a lot of point in adding analytics twice!

  • 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

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

  • Google Analytics Automator breaks iWeb blog comments

    Hi
    I added a blog for our Small Business site that I created with iWeb. We used Google Analytics and the Automator script add the HTML snippet to track visits on our site. Since I added the blog I realized that after running the GA automator script the "Add a comment" link disappears.
    Kinda defeats the purpose of the blog. I have to choose between tracking how many visitors have been on the blog, or visitors posting comments, but I can't have both. How can I fix this and track how many visitors were on our site, and have a blog where visitors can leave comments? Any ideas and solutions would be most welcome. Thanks,
    Zoltan

    Unfortunately, as you have discovered, inserting Google Analytics into your site requires post editing. This means that you cannot just publish directly to MobileMe from iWeb - to insert the analytics you need to publish to a folder, insert and then place the Blog directly on your iDisk - unfortunately, this way you loose the features that your iWeb blog provides when published directly to MME - i.e. Blog comments.
    Do you have an ordinary website too or is it just a blog? If you have an ordinary website, what some people do, including myself, is set up a blog with WordPress, E-blogger, or http://www.posterous.com and link to it from your iWeb site.
    If you are just after setting up a blog on its own without a site, then I would suggest you look at http://www.wordpress.com, http://www.eblogger.com or posterous (link provided). You can set up a blog with any template you like and can add entries on line at any time, rather than being limited to updating with the domain.sites file as you are with iWeb.
    In WordPress, you can also add as many pages as you like, so you can effectively have a website as well as a blog, so the other alternatives might be a better bet than iWeb and I think they have their own built in analytics too.

  • Using Google Analytics with iWeb site

    Is it possible to use Google Analytics with an iWeb site? They have code they want me to put before the </body> tag.... and I can't find that tag. How do I get the code to show in iWeb? Can I insert this with an HTML snippet?
    Thanks!

    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

  • Google Analytics for iWeb

    Please help.. I am trying to get google analytics (or anything like that) onto my iWeb site so I can see how many people view it and from where...does anyone know how to do this? I tried to google it.. and I just got even more confused... THANKS!!!

    I assume you searched this forum and couldn't find anything?
    [google analytics|http://discussions.apple.com/search.jspa?objID=c188&search=Go&q=google+analytics]
    I found this : [Setting up Google Analytics|http://discussions.apple.com/thread.jspa?messageID=11748928&#11748928 ]

  • Google Analytics breaks iWeb blog comments

    Does anybody know a workaround for Google Analytics' breaking of iWeb blog comments? Apparently, from some posts I've read, StatCounter and other traffic stat services break iWeb blog comments, too... so it's apparently an iWeb issue rather than a Google Analytics issue. FWIW, I'm publishing to my MobileMe personal domain. Thanks in advance!

    I found a decent way of adding Google Analytics to all pages, without using HTML Snippits (which cause analytics to track those odd page names like widget2_markup.html), that doesn't break MobileMe comments, and doesn't require any post-processing of your iWeb site. Just Publish and go! Open up your iWeb app bundle, and drill down to Contents/Resources/Scripts/Site. Open up the file iWebSite.js in TextEdit (or your favorite text editor), and paste the following at the bottom of the file:
    // Begin Google Analytics
    gaTrackerId = 'ss-ddddddd-d'; // insert your tracker id here
    document.observe('dom:loaded', function() {
    var gaJsHost = ( ('https:' == document.location.protocol) ? 'https://ssl.' : 'http://www.') + 'google-analytics.com/ga.js';
    var script = new Element('script', { 'src': gaJsHost});
    var gaTrack = function() {
    if (
    !script.readyState
    || /loaded|complete/.test(script.readyState)
    var pageTracker = gat.getTracker(gaTrackerId);
    pageTracker._trackPageview();
    script.observe('load', gaTrack);
    script.observe('readystatechange', gaTrack);
    document.body.appendChild(script);
    // End Google Analytics
    Credit to this solution goes to this blog post. I got the idea to find a way of using Google Analytics in Prototype (since iWeb sites use the Prototype JavaScript framework) and found that blog snippit.
    And yes, since this is editing the iWeb application bundle, you may need to reapply this hack if/when iWeb is updated. Hopefully though, some enterprising iWeb engineer is reading this and will add proper Google Analytics support to iWeb for us.

  • Google Analytics and iWeb

    I'm attempting to insert an html tag generated by Google Analytics into our website that is published using iWeb (the latest version, sorry, I'm no longer on site).  Can anyone help me?
    Thank you,
    Jeff

    Since this is your website, the path to the analytics.js file is not correct :
    http://www2.hawaii.edu/~kpauker/Pauker_Lab/People.html
    The line in the code where it says :
    newScript.src = '/js/analytics.js';
    should be in order of preference :
    newScript.src = '../../../js/analytics.js';
    Or :
    newScript.src = '/~kpauker/js/analytics.js';
    Or :
    newScript.src = 'http://www2.hawaii.edu/~kpauker/js/analytics.js';

Maybe you are looking for