Log in

No account? Create an account
livejournal S2 style system blue
LiveJournal's S2 Styles
Can't add META tag to style? 
Jan 26th, 2012 - 06:28 pm
cute hat
I'm trying to Verify my journal through Google Webmaster Central... One of the ways is to add a META tag to your HEAD tags in the HTML of your site. I found that area in my theme layer and added the META tag. When I'm logged in and I view the page source of my journal, I see the META tag there right where it should be. When I log out and view my page and view source--POOF! It's gone. How do I (can I??) add a META tag that is there all the time, for public viewing and not just for me all special? 

Is this possible?

Alternately, is it possible to use Google Analytics on an LJ S2 style anywhere? I'm guessing no since it's javascript... but that is another way I could verify the site...

Appreciate any help I can get. Thanks.
Jan 27th, 2012 - 05:58 am (UTC)
Since you've got a permanent account you can do both Analytics and Webmaster Tools. Just go to the Extensions tab of Account Settings and enter the numbers you get from Google. LJ will insert them into the proper place in your style.

As for why the meta tag you added yourself disappeared when you logged out, it's because LJ is using heavy server-side caching to mitigate against DD0S attacks. Give it an hour and it should show up properly.
Jan 27th, 2012 - 07:41 pm (UTC)
Thanks! I'll try it. Cross your fingers :)
Jan 28th, 2012 - 01:45 am (UTC)
It worked! At first I thought it didn't, but after a couple of hours it verified! Woohoo!
Jan 31st, 2012 - 11:59 pm (UTC)
I'm glad it turned out okay for you.
Mar 18th, 2012 - 02:47 am (UTC)
Hi, I'm also trying to find out how to do this, but I keep messing up somewhere and failing to verify with G-webmaster. I've tried pasting the alsjfdlsfjasjfrowurowjfajfd meta tag into the appropriate box (without the html script, and with) and both times it fails. Could you help me please? I've been banging my head on where I can edit meta tags in my LJ, and how to add this, for more than two hours now. I can't find where to edit the html code directly either! (I use components) and eventually stumbled on this page via google search.

The FAQ needs better instructions for adding G-webmaster, I think =(.
Jul 4th, 2012 - 03:22 pm (UTC)
Were you ever able to resolve this issue? I've been trying for two days to get mine set up, and no matter which way I try to put in the code, Google refuses to accept that I've entered it in correctly. :(
Aug 8th, 2012 - 02:03 pm (UTC)
I'm afraid I was never able to solve this or get a reply on how.
This page was loaded Sep 17th 2019, 10:51 pm GMT.