Use {Literal} Smarty Tag to Add Google Analytics Tracking Code to BlogSome Hosted Blogs استخدام حرفي) (هندى الوسم لإضافة مجموعات تحليلات تتبع لقانون BlogSome استضافة مدونات
BlogSome is a free WordPress based web hosting service, which has been a popular choice before arrival of WordPress.com for bloggers who want a WordPress blogging platform without forking out a dime. BlogSome هو وورد الحرة القائمة على خدمة استضافة المواقع ، والتي تم اختيار شعبي قبل وصول WordPress.com على المدونين الذين يريدون ورد منصة المدونات دون التفرع الى عشرة سنتات. Even BlogSome still uses the legacy WordPress version 1.5.1-alpha, it still attract some bloggers as it allows blogger to add and place own ads such as Google AdSense on the blog. لا يزال يستخدم حتى BlogSome تركة ورد الإصدار 1.5.1 ألفا ، فإنه لا يزال يجتذب بعض المدونين لأنه يتيح مدون لإضافة ومكان الإعلانات الخاصة مثل غوغل] [أدسنس على بلوق.
BlogSome has been using Smarty template engine as its presentation framework. BlogSome وقد تم استخدام هندى قالب المحرك كما إطارها العرض. As a result, when user adds Google Analytics tracking code by placing either new tracking code (ga.js) or legacy tracking code (urchin.js) in BlogSome HTM source code (accessible via Manager -> Files), the following error occurs when any web pages on the blog is opened or visited. نتيجة لذلك ، عندما يضيف مستخدم جوجل تحليلات شفرة تتبع إما عن طريق وضع شفرة التتبع الجديدة (ga.js) أو إرث شفرة تتبع (urchin.js) في BlogSome هتم شفرة المصدر (يمكن الوصول إليها عبر مدير --> الملفات) ، والخطأ التالي عند أي صفحات الويب على بلوق يتم فتح أو بزيارتها.
Smarty syntax error زقحان خطأ في بناء الجملة
File index.html, line 280: syntax error: الملف index.html ، سطر 280 : خطأ في بناء الجملة :
unrecognized tag 'var' سمة غير معترف بها 'فار'If you own this blog, and wish to fix this problem, you can log in here. إذا كنت تملك هذا بلوق ، وترغب في حل هذه المشكلة ، يمكنك تسجيل الدخول هنا.
The error happens because Smarty template engine attempts to translate and interpret some keywords in Google Analytics tracking code that conflict with Smarty template delimiter syntax. يحدث الخطأ بسبب هندى قالب المحرك محاولات لترجمة وتفسير بعض المصطلحات في جوجل تحليلات شفرة التتبع التي تتعارض مع هندى قالب محدد بناء الجملة. As a workaround, Smarty does provide tags, كحل ، هندى لا توفر السمات ، {literal} and {/literal} (الحرفي) و (/ الحرفي) , which allows a block of data to be taken literally. ، والذي يسمح كتلة من البيانات التي يتعين اتخاذها حرفيا.
{literal} tags are typically used around Javascript or stylesheet blocks where {curly braces} would interfere with the template delimiter syntax. () السمات الحرفي عادة ما تستخدم في جميع أنحاء جافا سكريبت أو أنماط كتل حيث الأقواس المجعدة () من شأنه أن يتدخل في قالب محدد بناء الجملة. Anything within {literal}{/literal} tags is not interpreted, but displayed as-is. أي شيء داخل الحرفي) ((/ السمات) الحرفي لا يفسر ، ولكن عرضه كما هو. It means anything inside the tags will be appeared exactly the same in the final HTML output for web browser to interpret, and no change will be done by Smarty engine. وهو ما يعني أي شيء داخل العلامات سيكون بدا في عينه في المباراة النهائية أتش تي أم أل الإخراج لمتصفح الويب لتفسير ، وهناك تغيير وسيتم ذلك عن طريق هندى المحرك.
Thus, to fix Google Analytics tracking code error on BlogSome, just embed the tracking code with {literal} before Google Analytics Javascript code, succeeding with {/literal} after the tracking. وبالتالي ، لإصلاح غوغل تحليلات شفرة تتبع الخطأ على BlogSome ، مجرد تضمين شفرة تتبع مع () الحرفي قبل غوغل تحليلات شفرة جافا سكريبت ، خلفا مع (/ الحرفي) بعد التتبع. For example, على سبيل المثال ،
{literal} (الحرفي)
Google Analytics Tracking Code Append Here جوجل تحليلات تتبع قانون إلحاق هنا
{/literal} (/ الحرفي)
IMPORTANT : The page is machine translated and provided "as is" without warranty. هام : الصفحة هو آلة تترجم وتقدم "كما هي" دون ضمان. Machine translation may be difficult to understand. الترجمة الآلية قد يكون من الصعب فهم. Please refer to يرجى الرجوع إلى original English article المادة الانكليزية الأصلية whenever possible. كلما كان ذلك ممكنا.
Related Articles مواد متصلة
- WordPress Plugin: Display Google Analytics and FeedBurner Reports Statistics from Site Admin ورد البرنامج المساعد : عرض فيدبورنر غوغل تحليلات وتقارير تشير الاحصاءات الصادرة عن ادارة الموقع
- Official Google Analytics Blog Offers Tips and Information مسؤول مجموعات التحليلات مدونة عروض نصائح ومعلومات
- How to Remove or Delete (Unlink) Google AdSense and Analytics Integration كيفية إزالة أو حذف (فك ارتباط) غوغل] [أدسنس وتحليلات التكامل
- Add and Embed Google Universal Gadgets Modules to Websites and Blogs وإضافة رابط جوجل العالمي لأنظمة تشغيل وحدات مواقع ومدونات
- Free Google Trifecta Webinar on Webmaster Tools, Analytics and Website Optimizer الخطوط مجموعات تريفيكتا الويبينار على أدوات مشرفي المواقع ، تحليلات ومحسن موقع الويب
- Implement Ad Revenue Sharing in Blogger (Supports Google AdSense And Any Code) تنفيذ الإعلان تقاسم الإيرادات في مدون (جوجل ادسينس وتؤيد أي قانون)
- How to Add and Publish SPF Records for Google Apps Hosted Domains كيفية إضافة منتدى جنوب المحيط الهادئ ، ونشر الوثائق لتطبيقات البريد الإلكتروني واستضافت النطاقات
- Search for Humyo Hosted Files Download Links with Google البحث عن Humyo استضافت تحميل ملفات وصلات مع مجموعات
- Flight Tracking Tool by Google رحلة أداة تتبع من قبل مجموعات
- Add and Put AdSense Ads Code and JavaScript to Google Page Creator Website إضافة ادسينس الاعلانات ووضع قانون وجافا سكريبت الى موقع جوجل مصمم الصفحات










































September 4th, 2009 10:24 September 4th ، 2009 10:24
i try to search for tutorial to add google adsense in to free wordpress blog ط محاولة البحث عن البرنامج التعليمي لإضافة ادسينس في لبلوق الحرة وورد