مرجع پارسی MyBB

نسخه‌ی کامل: مشکل با گوگل آنالیز
شما درحال مشاهده‌ی نسخه‌ی متنی این صفحه می‌باشید. مشاهده‌ی نسخه‌ی کامل با قالب‌بندی مناسب.
سلام دوستان
یک مشکل عجیب توی سایتم دیده شده
سایت با بعضی از dns ها باز نمیشه و مشکل با تغییر dns های سمت کلاینت بر طرف میشه
حالا یک گزارش از سایتم دارم که میگه:
کد:
The following resources are loaded synchronously. Load them asynchronously to reduce blocking of page rendering.

    http://www.sport-eng.ir/behrooz-keshmiri/index.html loads http://www.google-analytics.com/ga.js synchronously.
خب حالا گوگل برای حل این مشکل این توضیح را داده
کسی چیزی فهمید به منم بگه :دی

The Analytics snippet is a small piece of JavaScript code that you paste into your pages. It activates Google Analytics tracking by inserting ga.js into the page. To use this on your pages, copy the code snippet below, replacing UA-XXXXX-X with your web property ID. Paste this snippet into your website template page so that it appears before the closing </head> tag.

If you need to do more than basic page tracking, see the tracking reference for a list of methods available in the API and see the Usage Guide for details on using the asynchronous syntax. For step-by-step instructions on setting up tracking, see the Help Center article on setting up tracking.

و کد زیر رو داده

کد:
<script type="text/javascript">

  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-XXXXX-X']);
  _gaq.push(['_trackPageview']);

  (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>

خب تا اینجا قبول که میگه مرورگر جاوا یا بخشی از صفحه رو نمیتونه رندر کنه :دی
ولی یکی بهم بگه برای اینکه بخوام جای پیج گوگل به landing page سایت خودم بره باید جای UA-XXXXX-X چی بذارمTongue
(۱۳۹۱/۸/۲۶، ۲۰:۴۴:۳۳ عصر)Behr☺uz نوشته است: [ -> ]ولی یکی بهم بگه برای اینکه بخوام جای پیج گوگل به landing page سایت خودم بره باید جای UA-XXXXX-X چی بذارمTongue

با سلام

کد UA-XXXXX-X را می توانید پس از ساختن اکانت در سایت :

http://www.google.com/analytics/

مشاهده نمایید.

پس از وارد شدن به اکانت خود، مانند تصویر زیر، کد اختصاصی سایت شما نمایش داده می شود.

دیدن مطلب زیر نیز خالی از لطف نیست :

http://www.nukelearn.com/article/60