TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Combining and Compressing Disqus' and Google Analytics' JavaScript

17 pointsby mudgemeisterover 14 years ago

2 comments

enomarover 14 years ago
"Both seem terse enough and are meant for inclusion in at the bottom of your web page."<p>That isn't true for Google Analytics. It's designed to be placed at the bottom of the head section: <a href="http://code.google.com/apis/analytics/docs/tracking/asyncTracking.html#Installation" rel="nofollow">http://code.google.com/apis/analytics/docs/tracking/asyncTra...</a>
评论 #2157870 未加载
enomarover 14 years ago
"it turns out that the type attribute is optional"<p>It is optional for HTML5, but not for 4.01: <a href="http://www.w3.org/TR/html401/interact/scripts.html#adef-type-SCRIPT" rel="nofollow">http://www.w3.org/TR/html401/interact/scripts.html#adef-type...</a>