Location: Make a Suggestion

Discussion: Move Google Analytics tracking code to section.Reported This is a featured thread

Showing 10 posts

japasja
Move Google Analytics tracking code to <head> section.
Sep 14 2011, 10:13 AM EDT | Post edited: Sep 14 2011, 10:13 AM EDT
Google Analytics tracking code should be moved from <body> to <head> section.
It shouldn't cause any problems to Wetpaint and would allow Wetpainters to authorize within Google Webmaster Central giving much more possibilities to manage their sites.
Sorry if it has been already requested - couldn't find it :(
Do you find this valuable?    
CryingDove
CryingDove
1. RE: Move Google Analytics tracking code to <head> section.
Sep 14 2011, 1:15 PM EDT | Post edited: Sep 14 2011, 1:16 PM EDT
Due to the structure of Wetpaint wikis, the only area open to users is the Easy Edit table that resides in the body of the page code. The head section has never been available to the end user. This purposeful design allows WP to provide a universal structure to all wikis. And to keep all coding such as CSS, Javascript, Meta tags on the server side and out and away from the client side. Doing so, it minimizes the issues that may arrive from allowing that area open to the general public.

Google analytics is designed for Webmasters. As a Wetpaint user, you are not really a webmaster, but a user of template created by a Wetpaint Webmaster. In essence, Google Webmaster Central's tools are really not available to us.

What is available to us, are the rudimentary tracking tools of Google Analytics.

Wetpaint stated last October, they will not be developing new features for the Wikis by Wetpaint platform but they would continue to support the platform as it stands.

What are you missing from Google Analytics as it is now, that Webmaster Central can supply? In other words, what are you seeking to do with the program that you cannot do except by moving the code to the head of the WP code?

Do you find this valuable?    

Posted Anonymously
2. RE: Move Google Analytics tracking code to <head> section.
Sep 16 2011, 4:42 AM EDT | Post edited: Sep 16 2011, 4:42 AM EDT
Thanks for your reply. I have missed information Wetpaint Wikis is not going to be developed further ;(

I would like to use Google Webmaster Cetral to submit and keep track of pages in Google search engine. I see your (and Wetpaints) point in not letting regular users to access head section - it's obvious.

We do not need rights to manipulate script's code. This could be stripped down and Wetpaint could allow regular users to enter just their Google Analytics Web Property IDs (UA-xxxxxxx-x) instead of whole script.
This ID would be than sanitized and copied to a proper place in head section by Wetpaint.

Think very easy to implement since everything already is there, but since it's not developed any more it might be impossible..
Do you find this valuable?    
CryingDove
CryingDove
3. RE: Move Google Analytics tracking code to <head> section.
Sep 16 2011, 10:15 AM EDT | Post edited: Sep 16 2011, 10:15 AM EDT
I think you can submit a "Site Map" to Google Webmaster. This may accomplish the tracking of all pages on your wiki. Do you find this valuable?    

Posted Anonymously
4. RE: Move Google Analytics tracking code to <head> section.
Sep 17 2011, 2:47 PM EDT | Post edited: Sep 17 2011, 2:47 PM EDT
hmm.. I either couldn't see a place where one can submit Site map to Google Webmaster without veryfing a site first or it is not possible..?
Could you post where should I look for it?
Do you find this valuable?    
CryingDove
CryingDove
5. RE: Move Google Analytics tracking code to <head> section.
Sep 17 2011, 3:10 PM EDT | Post edited: Sep 17 2011, 3:12 PM EDT
"hmm.. I either couldn't see a place where one can submit Site map to Google Webmaster without veryfing a site first or it is not possible..?
Could you post where should I look for it? "
Go to the bottom of this page where it says "Tell Google About Your Site" It states submit a sitemap. You may want to watch the video about Google Webmaster Tools on the same page.

http://www.google.com/webmasters/
Do you find this valuable?    

Posted Anonymously
6. RE: Move Google Analytics tracking code to <head> section.
Sep 19 2011, 6:49 AM EDT | Post edited: Sep 19 2011, 6:49 AM EDT
But I do not have my Wetpaint's wiki verified within Google Webmaster so adding a Site map is not available..
I can verify my site with:
a) Google Analytics - can't be done as script is in wrong place
b) a file - files can't be added to my wiki root directory,
c) a metatag or dns record - can't be accessed by us.

Unless there is any additional way I can verify ownership of my site with Google?
Do you find this valuable?    
CryingDove
CryingDove
7. RE: Move Google Analytics tracking code to <head> section.
Sep 19 2011, 8:27 AM EDT | Post edited: Sep 19 2011, 8:27 AM EDT
"But I do not have my Wetpaint's wiki verified within Google Webmaster so adding a Site map is not available..
I can verify my site with:
a) Google Analytics - can't be done as script is in wrong place
b) a file - files can't be added to my wiki root directory,
c) a metatag or dns record - can't be accessed by us.

Unless there is any additional way I can verify ownership of my site with Google?
"
Sorry, but the areas you have sited are not available with Wetpaint wikis. Every element on a Wetpaint wiki has a Wetpaint URL address. That is where the problem of ownership lies.

a. Even if Wetpaint moved the script to the head, other issues will not be corrected.
b. The structure of Wetpaint wikis does not allow for write-backs to the server side except for what is allowed by the CSS and javascript coding. And the root directory is totally off-limits to the client.
c. Metatags are controlled only by Wetpaint. And they only use one to direct the browser on how to render the pages.(The use of good tags on pages is the only way the crawlers are going to find your wiki)

This platform was built to allow everyone to create an easy to use site without requiring programming skills whatsoever. I like you would love to have the accesses to the servers you are desiring. Wetpaint in order to protect everyone from the types of damage that could occur with those types of access, has removed those capabilities.

The platform as it stands today will remain that way. Wetpaint has stated it will not develop any new features nor make changes to their code with the exception of browser support compatibilities.

You and I will sit with our chin in our hands shrugging at what we can't do, but could do, if those accesses were available.
Do you find this valuable?    

Posted Anonymously
8. RE: Move Google Analytics tracking code to <head> section.
Sep 19 2011, 10:19 AM EDT | Post edited: Sep 19 2011, 10:19 AM EDT
So seems moving Google Analytics script from body to head section would be the easiest for Wetpaint remedy to at least some of the problems.
It costs almost nothing to implement, does not change Wetpaint's security level and lets users use Google Webmaster tools.
Thus I think it could be pushed to being implemented with some maintenance changes they plan.

I understand implementing b) and c) would be too expensive task to accomplish in present circumstances.
Do you find this valuable?    
CryingDove
CryingDove
9. RE: Move Google Analytics tracking code to <head> section.
Sep 19 2011, 3:46 PM EDT | Post edited: Sep 19 2011, 3:46 PM EDT
I must reiterate. Wetpaint is not going to implement any new features or changes like those that have been suggested here in this thread.

Do you find this valuable?    

Related Content

  (what's this?Related ContentThanks to keyword tags, links to related pages and threads are added to the bottom of your pages. Up to 15 links are shown, determined by matching tags and by how recently the content was updated; keeping the most current at the top. Share your feedback on Wetpaint Central.)