Google Webmaster support

MikeJohnsonMikeJohnson Registered Users Posts: 4 Beginner grinner
edited February 15, 2013 in SmugMug Support
Is it possible to 'verify' my basic SmugMug account with Google Webmaster tools?

It appears Google supports the following methods of verifying:
Google Analytics: Doesn't work since Smugmug uses custom Google Analytics code
  • You must be using the asynchronous tracking code.
  • Your tracking code must be in the <head> section of your page.
  • You must be the admin on the Analytics account.
HTML file upload: Doesn't work because Smugmug doesn't allow file uploads

Domain name provider:
Doesn't work because Smugmug controls the smugmug.com domain name records

HTML tag: Sounds like it works with a Pro account since you can edit the HTML directly.. but what about basic accounts?

Any solution/suggestions?

Comments

  • mbonocorembonocore Registered Users Posts: 2,299 Major grins
    edited February 13, 2013
    Hi Mike,

    Try this

    1. Sign up for analytics http://www.google.com/analytics/
    2. Get tracking id number
    3. Enter in your SmugMug Account Settings under "Stats"
    4. Give it a couple days for Google to find it
    5. Open webmaster tools and choose: authorize using my google analitcs account

    Please let me know if that works!

    Michael
  • MikeJohnsonMikeJohnson Registered Users Posts: 4 Beginner grinner
    edited February 13, 2013
    Tried that already... doesn't work.

    I suspect the (custom) Smugmug javascript code prevents Google from recognizing the Analytics code:
    exclamation_red.png Verification failed for http://xxxxx.smugmug.com/ using the Google Analytics method (less than a minute ago). The Google Analytics tracking code on your site is in the wrong location. You can verify site ownership only with the asynchronous snippet placed in the <head> section of your home page. Learn more.

    It further goes on to state:
    • You must be using the asynchronous tracking code.
    • Your tracking code must be in the <head> section of your page.
    • You must be the admin on the Analytics account.
    And the 'asynchronous tracking code' should look something like this:
    <script type="text/javascript"> var _gaq = _gaq || []; _gaq.push(); _gaq.push(); (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>

    Smugmug does not appear to use the above code, but instead has its own custom code....

    Bottom line, the verification fails.
    mbonocore wrote: »
    Hi Mike,

    Try this

    1. Sign up for analytics http://www.google.com/analytics/
    2. Get tracking id number
    3. Enter in your SmugMug Account Settings under "Stats"
    4. Give it a couple days for Google to find it
    5. Open webmaster tools and choose: authorize using my google analitcs account

    Please let me know if that works!

    Michael
  • mbonocorembonocore Registered Users Posts: 2,299 Major grins
    edited February 14, 2013
  • mbonocorembonocore Registered Users Posts: 2,299 Major grins
    edited February 14, 2013
    And how and where is it you are getting that error message?
  • MikeJohnsonMikeJohnson Registered Users Posts: 4 Beginner grinner
    edited February 15, 2013
    I sent you an email yesterday (2/14) with the tracking code, screenshot of the error message and screenshot of the Google analytics configuration.
    mbonocore wrote: »
    Can you please email me your tracking code? mbonocore@Smugmug.com
  • mbonocorembonocore Registered Users Posts: 2,299 Major grins
    edited February 15, 2013
    Got it. Thanks Mike! I will look into this.

    Michael
Sign In or Register to comment.