Google Analytics issues (or Why did X comic update early?)

For requests for help from CG administrators, Wranglers, and experienced CG members. Please read the FAQ before posting. Also look at CG Wiki for tutorials and how-tos written by other CG webtoonists.
Post Reply
User avatar
Kisai
Goddess of Light
Goddess of Light
Posts: 3276
Joined: Fri Jan 01, 1999 4:00 pm
Location: The Past, the Present, The future
Contact:

Google Analytics issues (or Why did X comic update early?)

Post by Kisai »

There's no need to sticky this, but someone may want to update the wiki.

if you are going to include google analytics code, please make sure to only use this part:

Code: Select all

<script type="text/javascript">
var pageTracker = _gat._getTracker("UA-XXXXXXX-X");
pageTracker._initData();
pageTracker._trackPageview();
</script>
CG's now running the google analytics part site wide, so if you already are running google analytics, you'll need to cut it down to just the above piece or it will stop working.

*note, if you are actually specifiying other variables in pageTracker, you still can, the important part is not to load the code twice*

Also I'm re-generating ALL the sites to take advantage of this. so if you've been doing things wrong up to today, you'll know.

***Also this may result in some of todays comics showing up early***

User avatar
Dr Neo Lao
Cartoon Hero
Posts: 2397
Joined: Wed Oct 18, 2006 5:21 am
Location: Australia

Post by Dr Neo Lao »

We currently have no pages on the Wiki dealing with Google Analytics.

I don't use it (actually, I have most of google's stuff blocked on my browser) and would most likely provide inaccurate data.

I take it Analytics is not the same as Adsense, and is allowed? (Actually, encouraged by the look of it)

User avatar
Kisai
Goddess of Light
Goddess of Light
Posts: 3276
Joined: Fri Jan 01, 1999 4:00 pm
Location: The Past, the Present, The future
Contact:

Post by Kisai »

Dr Neo Lao wrote:We currently have no pages on the Wiki dealing with Google Analytics.

I don't use it (actually, I have most of google's stuff blocked on my browser) and would most likely provide inaccurate data.

I take it Analytics is not the same as Adsense, and is allowed? (Actually, encouraged by the look of it)
Add "How do I make my comic show on the front page search box" to the wiki as well while you are at it.

In short, make sure you've uploaded a 468x60 banner in the same place you put newsboxes. It will display comics in the order they updated, so no updates, it gets pushed down to the bottom.

Oh and, make sure your Title and description actually describe your comic. Titles are for titles, and descriptions are for a TEXT DESCRIPTION

Post Reply