#googleanalytics filter
Explore tagged Tumblr posts
freelancermostafizur · 2 years ago
Text
How to Fix GA4 Google Analytics 4 setup?
How to Fix GA4 Google Analytics 4 setup?
If you're facing issues with your GA4 Google Analytics 4 setup, here are some steps you can take to troubleshoot and fix common problems:
If you need Google Analytics 4 Expert you Can Check on Fiverr Gig
1. Verify your tracking code implementation: Ensure that you have correctly implemented the GA4 tracking code on your website or app. Double-check that the code snippet is placed on all relevant pages and that it is firing correctly. You can use browser extensions or developer tools to inspect the code and verify if it's being executed properly.
2. Check for data processing delays: It's important to note that there can be delays in data processing in GA4. If you recently set up GA4 or made changes to your implementation, allow some time for the data to propagate and become available in your reports. Generally, it can take a few hours or up to 24-48 hours for data to appear.
3. Confirm data collection settings: Review your data collection settings in GA4. Ensure that you have enabled the necessary data collection options, such as events, conversions, user properties, or enhanced measurement features, depending on your requirements. Make sure that you haven't accidentally disabled any crucial data collection settings.
4. Verify event and parameter mappings: Check your event and parameter mappings to ensure they are correctly configured. GA4 allows you to customize events and parameters to track specific actions or behaviors on your website or app. Verify that the events and parameters you expect to see in your reports are being sent correctly from your tracking implementation.
5. Test events and conversions: Manually trigger the events and conversions that you want to track in GA4 to confirm if they are being recorded accurately. You can use tools like Google Tag Assistant or the GA4 DebugView to help troubleshoot and monitor the events being sent from your website or app.
6. Review data filters and exclusions: If you have set up any data filters or exclusions in GA4, ensure that they are correctly configured. Improperly configured filters or exclusions can impact data accuracy or prevent certain data from being recorded. Double-check your settings and adjust them as needed.
7. Check for data discrepancies: Compare the data in GA4 with other analytics tools or data sources to identify any discrepancies. Differences in data can occur due to various factors like data sampling, tracking discrepancies, or configuration issues. Investigate the discrepancies to pinpoint potential problems and address them accordingly.
8. Consult documentation and resources: Review the official Google Analytics documentation, forums, or support resources for additional troubleshooting guidance. The Google Analytics Help Center and the GA4 community can provide valuable insights and solutions to common setup issues.
9. Seek professional assistance if needed: If you've exhausted all troubleshooting options and still can't resolve the issues with your GA4 setup, consider reaching out to a Google Analytics expert or consulting with the Google Analytics support team for further assistance.
Remember to test any changes or fixes in a controlled environment and monitor the impact to ensure accurate data collection and reporting in GA4.
Check my Website: www.freelancermostafizur.com
Check my Facebook Page: https://www.facebook.com/fixga4setupgoogleanalytics4expert
Check LinkedIn: www.LinkedIn.com
#ga4 #fixga4 #googleanalytics #setupgoogleanalytics4 #setupga4 #setup #ga4 #fix #fiverr #fmrdigitalmarketingagency #agencyowner
2 notes · View notes
zannathi · 4 years ago
Photo
Tumblr media
Do you need help with keyword research (KW)? Not sure what the next step is? Well, look no further because I have all your Keyword research needs. I’m going to keep things simple and direct. If you want to be ranked on the 1st page, you need to know what people search otherwise you’re wasting your time with search engines. Getting your post to rank is difficult especially if you’re just starting out because there are literally billions of kwds to choose from ranging from high to low keyword difficulty at google's whim. Luckily, that won’t be the case as I will simplify your SEO keyword strategy so you can see results fast organically and/or thru PPC (Google Ads). KW Report · Transactional & Informational Search Queries · Sortable, filterable, and customizable · Head Term, Middle and Long Tail Kwrds Competitor Analysis · Website Traffic · Your Competitor's Top kw's Backlinks Report · Overview · Backlinks List · Steal your Comp's backlinks! #seo #seo #searchengines #searchengineoptimization #searchengines #googleanalytics #digitalmarketing #google #marketing #leadgeneration #strategyexecution #people #linkedin #research #socialmedia
1 note · View note
digitalevolutionusa · 4 years ago
Text
I will set up google analytics, ga4 event tracking with GTM and used data layer.
Tumblr media
Are you looking for a professional in setting up Google Tag Manager and Google Analytics(GA4) or someone who can set up google ads conversion tracking, Facebook Event tracking, or dynamic remarketing for your website using Data Layer?
Well, you have landed on the right gig. I'm Raihan and I'll be helping you out with tracking any user interactio#shopifystore #shopifyseller #shopifybusiness #shopifyshop #shopifywebsite#tag #googleanalytics #googleanalytics4
#facebookPixel #facebookConversionApi #api #serverSideTrackingns on your website using Google Tag Manager and Google Analytics(GA4) or helping out with Ecommerce Tracking, Enhanced measurement, PageView, Add to Cart, purchase conversion tracking and provide reporting.
What I will do for YOU:
Setup Google Analytics(GA4)
Setup Google Tag Manager
Enable Google signals for cross-device use.
Block internal traffic (Data filter) in Google Analytics(GA4)
Automatically collected events Tracking
Setup Enhanced Measurement Tracking
Ecommerce Tracking in Google Analytics (GA4)
Remarketing Audience in Google Analytics (GA4)
I will report to GA4 for Business Decision Making
Platform:
WordPress Woocommerce
Shopify, Wix, Laravel, or any PHP site.
What I need from you:
You have to provide the below access -
Universal Analytics or GA4
Google Tag Manager
Website backend
Please contact me before placing an order:
https://www.fiverr.com/share/mQYPGV
0 notes
caweem-blog · 5 years ago
Photo
Tumblr media
Are you filtering out WordPress admin traffic from Google Analytics? Check out this article on how to do it: https://caweem.com/blog/how-to-exclude-wordpress-admin-traffic-from-google-analytics/ #wordpress #googleanalytics #webtraffic #websitetraffic #google #data #webanalytics #seo #wordpressseo https://www.instagram.com/p/CCEQJbsB9nc/?igshid=1c70oh04w776q
0 notes
joeyrob1 · 5 years ago
Text
Tutorial How To Create Custom Android Code Templates
Mobile App Development: Tutorial How To Create Custom Android Code Templates
(No Ratings Yet) Loading...
Introduction
This tutorial will show you how to create custom Android code templates of your own. Most Android developers would have used Android code templates at least once to start projects. But have you tried creating your own Android code templates? In this tutorial, we will show you how to create a template that can be used to generate a Android project from Android Studio IDE that contains Google Analytics configuration. (Google Analytics v4 for Android)
Tung Dao Xuan, [email protected], is the author of this article and he contributes to RobustTechHouse Blog
  Video & Source Code
Source Code
You can download the source code at GoogleAnalyticApplication-2015-05-31.
Step by Step Video
[vc_video title=”Video Tutorial How To Create Custom Android Code Template” link=”https://www.youtube.com/watch?v=rhsBrBcgMkQ”]
  High Level View of Code Generation Process
If you are not familiar with the code generation process, please also check out the documentation of the full process here.
  Steps To Create Custom Android Code Templates For Google Analytics
To build your own template, please ensure that:
You understand the code generation process described above at a high level.
You have some knowledge about FreeMarker
You have some knowledge about Android IDE Template Format and you can see the documentation here.
    Step 1: Create Google Analytic Application Folder
This is for the template directory you need. On Windows, place it in: path-to-your-installation-android-studio-folder\plugins\android\lib\templates\activities. Please change your path appropriately on Linux, Mac OS etc.
Then, create the root folder and other files inside your GoogleAnalyticApplication folder.
  Step 2: Create template.xml file
Each template directory must contain a template.xml file. This XML file contains the metadata about the template, including the name, description, category and user-visible parameters that the IDE will present as options to the user. The XML file also indicates the name of the recipe XML file which gets processed by FreeMarker, and the global variables XML file  if there are global variables besides the template parameter values that should be visible to all FreeMarker-processed files (.ftl files).
<?xml version="1.0"?> <template format="3" revision="4" name="Google Analytics Application" minApi="7" minBuildApi="14" description="Creates a new application that has already Google Analytics configuration."> <category value="Activity" /> <formfactor value="Mobile" /> <parameter id="activityClass" name="Activity Name" type="string" constraints="class|unique|nonempty" suggest="${layoutToActivity(layoutName)}" default="MainActivity" help="The name of the activity class to create" /> <parameter id="layoutName" name="Layout Name" type="string" constraints="layout|unique|nonempty" suggest="${activityToLayout(activityClass)}" default="activity_main" help="The name of the layout to create for the activity" /> <parameter id="classApplication" name="Class extends Application" type="string" constraints="nonempty|class" help="The name of class that extends from Application" /> <parameter constraints="nonempty|string" id="googleAnalyticID" name="Google Analytic ID" type="string" help="Id of Google Analytic" /> <parameter id="dispatchPeriod" name="Dispatch Period" help="Frequency of automatic dispatch in seconds. Defaults to 30 minutes (1800 seconds)." type="string" default="1800"/> <parameter id="autoActivityTracking" name="Auto Activity Tracking" help="If true, views (Activities) will be tracked automatically. false by default." type="boolean" default="false"/> <!-- 128x128 thumbnails relative to template.xml --> <thumbs> <!-- default thumbnail is required --> <thumb>template_google_analytics.png</thumb> </thumbs> <globals file="globals.xml.ftl" /> <execute file="recipe.xml.ftl" /> </template>
There are parameters: activityClass, layoutName, classApplication, googleAnalyticID, dispatchPeriod, autoActivityTracking which will be shown in popups when you create a project.
   Step 3: Create globals.xml.ftl file
The optional globals XML file contains global variable definitions, for use in all FreeMarker processing jobs for this template.
<?xml version="1.0"?> <globals> <global id="manifestOut" value="${manifestDir}" /> <global id="srcOut" value="${srcDir}/${slashedPackageName(packageName)}" /> <global id="resOut" value="${resDir}" /> </globals>
  Step 4: Create folder & files inside root folder
The root folder contains template source code & template resource to generate.
4a. Create AndroidManifest.xml.ftl
<?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="${packageName}"> <application android:name="${packageName}.${classApplication}" android:allowBackup="true" android:icon="@drawable/ic_launcher" android:label="@string/app_name" android:theme="@style/AppTheme"> <meta-data android:name="com.google.android.gms.version" android:value="@integer/google_play_services_version" /> <meta-data android:name="com.google.android.gms.analytics.globalConfigResource" android:resource="@xml/analytics_global_config" /> <activity android:name=".activities.MainActivity" android:label="@string/app_name"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.LAUNCHER" /> </intent-filter> </activity> </application> </manifest>
  There are parameters: packageName & classApplication that are declared in template.xml file above.
  4b. Create Application.java.ftl
package ${packageName}; import android.app.Application; import com.google.android.gms.analytics.GoogleAnalytics; import com.google.android.gms.analytics.Tracker; /** * Created by TungDX on 5/29/2015. */ public class ${classApplication} extends Application { private static GoogleAnalytics analytics; private static Tracker tracker; @Override public void onCreate() { analytics = GoogleAnalytics.getInstance(this); tracker = analytics.newTracker("${googleAnalyticID}"); } public static GoogleAnalytics getGoogleAnalytics() { return analytics; } public static Tracker getTracker() { return tracker; } }
There are parameters: packageName & googleAnalyticID which are parameters declared in template.xml file above.
  4c. Create MainActivity.java.ftl
package ${packageName}.activities; import android.os.Bundle; import android.support.v7.app.ActionBarActivity; import ${packageName}.${classApplication}; import ${packageName}.R; public class MainActivity extends ActionBarActivity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); } @Override protected void onStart() { super.onStart(); ${classApplication}.getGoogleAnalytics().reportActivityStart(this); } @Override protected void onStop() { super.onStop(); ${classApplication}.getGoogleAnalytics().reportActivityStop(this); } }
There are parameters: packageName & classApplication which are parameters declared in template.xml file above.
  4d. Create activity_main.xml.ftl
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent" android:paddingLeft="@dimen/activity_horizontal_margin" android:paddingRight="@dimen/activity_horizontal_margin" android:paddingTop="@dimen/activity_vertical_margin" android:paddingBottom="@dimen/activity_vertical_margin"> <TextView android:text="@string/ready" android:layout_width="wrap_content" android:layout_height="wrap_content" /> </RelativeLayout>
  4e. Create strings.xml.ftl
<resources> <#if !isNewProject> <string name="title_${activityToLayout(activityClass)}">${escapeXmlString(activityTitle)}</string> </#if> <string name="ready">Google Analytic is ready!</string> </resources>
  4f. Create dimens.xml
<resources> <!-- Default screen margins, per the Android Design guidelines. --> <dimen name="activity_horizontal_margin">16dp</dimen> <dimen name="activity_vertical_margin">16dp</dimen> </resources>
  4g. Create recipe.xml.ftl file
The recipe XML file contains the individual instructions that should be executed when generating code from this template. For example, you can copy certain files or directories (the copy instruction), optionally run the source files through FreeMarker (the instantiate instruction), and ask the IDE to open a file after the code has been generated (the open instruction).
  <?xml version="1.0"?> <recipe> <dependency mavenUrl="com.android.support:support-v4:${targetApi}.+" /> <dependency mavenUrl="com.android.support:appcompat-v7:${targetApi}.+"/> <dependency mavenUrl="com.google.android.gms:play-services:6+" /> <instantiate from="AndroidManifest.xml.ftl" to="${escapeXmlAttribute(manifestOut)}/AndroidManifest.xml" /> <instantiate from="src/app_package/Application.java.ftl" to="${escapeXmlAttribute(srcOut)}/${classApplication}.java"/> <instantiate from="src/app_package/activities/MainActivity.java.ftl" to="${escapeXmlAttribute(srcOut)}/activities/${activityClass}.java"/> <instantiate from="res/xml/analytics_global_config.xml.ftl" to="${escapeXmlAttribute(resOut)}/xml/analytics_global_config.xml"/> <instantiate from="res/layout/activity_main.xml.ftl" to="${escapeXmlAttribute(resOut)}/layout/${layoutName}.xml"/> <copy from="res/values/dimens.xml" to="${escapeXmlAttribute(resOut)}/values/dimens.xml"/> <merge from="res/values/strings.xml.ftl" to="${escapeXmlAttribute(resOut)}/values/strings.xml" /> <open file="${escapeXmlAttribute(srcOut)}/activities/${activityClass}.java" /> <open file="${escapeXmlAttribute(resOut)}/layout/${layoutName}.xml" /> </recipe>
    4h. Check Dependencies
   4i. Check AndroidManifest.xml.ftl
<instantiate from="AndroidManifest.xml.ftl" to="${escapeXmlAttribute(manifestOut)}/AndroidManifest.xml" />
  4j. Check Application.java.ftl
<instantiate from="src/app_package/Application.java.ftl" to="${escapeXmlAttribute(srcOut)}/${classApplication}.java"/>https://robusttechhouse.com/wp-admin/post.php?post=6937&action=edit&message=10#
      4k. Check MainActivity.java.ftl
<instantiate from="src/app_package/activities/MainActivity.java.ftl" to="${escapeXmlAttribute(srcOut)}/activities/${activityClass}.java"/>
  4l. Check analytics_global_config.xml.ftl
<instantiate from="res/xml/analytics_global_config.xml.ftl" to="${escapeXmlAttribute(resOut)}/xml/analytics_global_config.xml"/>
  4m. Generate files: activity_main.xml, dimens.xml, strings.xml from template to project.
<instantiate from="res/layout/activity_main.xml.ftl" to="${escapeXmlAttribute(resOut)}/layout/${layoutName}.xml"/> <copy from="res/values/dimens.xml" to="${escapeXmlAttribute(resOut)}/values/dimens.xml"/> <merge from="res/values/strings.xml.ftl" to="${escapeXmlAttribute(resOut)}/values/strings.xml" />
  4n. Open files after the project is generated.
<open file="${escapeXmlAttribute(srcOut)}/activities/${activityClass}.java" /> <open file="${escapeXmlAttribute(resOut)}/layout/${layoutName}.xml" />
  Try Generating A Project For Your Own Template
If your Android Studio IDE is running, please restart it to see your own template as shown in following image.
If you encounter this error when you are generating a project from the template:
AssertionError: Wrong line separators: ‘…plication;\r\n\r\nimport…’ at offset 29:
Please check your line separators in all your files in the template. Please ensure that you use the correct line separators for your computer’s OS. Eg Window uses LF, Linux or MAC OS use CRLF.
  Conclusion
And that’s it. It isn’t that difficult to create custom Android code templates and you will benefit from it in the long-term because you would adhere to the DRY (Don’t Repeat Yourself) principle and save yourself some time. Have fun coding!
  RobustTechHouse is a leading tech company focusing on mobile app development, ECommerce, Mobile-Commerce and Financial Technology (FinTech) in Singapore. If you are interested to engage RobustTechHouse on your projects in Singapore, you can contact us here.
    References
Video showing the steps
Source code can be downloaded at GoogleAnalyticApplication-2015-05-31
Custom Android Code Templates Slides
GoogleSource Templates
ADT Template Format Documentation by Roman Nurik
      Tutorial How To Create Custom Android Code Templates was originally published on RobustTechHouse - Mobile App Development Singapore
0 notes
iamitpkumar · 5 years ago
Photo
Tumblr media
Top 10 Google search operators that you can use to filter your search. #GoogleSearch #operators #GoogleAnalytics #SERP #AmitsDigitalDiary #ADD #DigitalMarketing #Digital #SEO #SMO #GoogleAnalytics #WebDevelopment #SoftwareDevelopment #programmers (at Delhi, India) https://www.instagram.com/p/CAZxUwBgDHg/?igshid=duz2txe5fgg1
0 notes
sandhyamodi · 5 years ago
Text
कोरोना वायरस महामारी पर काबू पाने में नाकाम ब्राजील, स्वास्थ्य मंत्री ने दिया इस्तीफा
Tumblr media
नई दिल्ली: दुनिया भर में कोरोना वायरस (Coronavirus) के मामले तेजी से बढ़ रहे हैं. ब्राज़ील (Brazil) भी देश में बढ़ रहे मामलों पर लगाम लगाने के लिए अब भी संघर्ष कर रहा है, जिसके नतीजा ये है कि दुनिया में कोरोना वायरस के सबसे ज्यादा मामलों में ब्राजील छठवें स्थान पर है. अब ब्राजील के स्वास्थ्य मंत्री नेल्सन टीश ने भी अपने पद से इस्तीफा दे दिया है. ब्राजील फिलहाल दोतरफा संकट का सामना कर रहा है. ब्राजील में कोरोना के 2 लाख से ज्यादा मामले सामने आए हैं और 14,000 से ज्यादा लोगों की मौत हुई है और ऐसे में देश इस संकट से निपटने में असमर्थ दिखाई दे रहा है. ब्राजील के राष्ट्रपति जायर बोल्सोनारो ने पहले तो कोरोना संकट को नकार दिया और जब महामारी फैली तो वैज्ञानिकों की राय के खिलाफ गए. पहले, उन्होंने वायरस के खतरे को हल्के में लिया और बाद में बढ़ते मामलों के बावजूद उन्होंने देश की अर्थव्यवस्था पर ध्यान लगाया. संघीय गवर्नर और ब्राज़ील की सुप्रीम कोर्ट ने संकट को रोकने के लिए पूरे देश की गतिविधियों पर ताला लगा दिया. हालांकि, बोल्सोनारो ने देश भर में लॉकडाउन के खिलाफ प्रदर्शन का नेतृत्व किया. अपने विरोध प्रदर्शन के दौरान उन्होंने कहा, 'उन्ह��ं लॉकडाउन खोलना होगा, नहीं तो हम भूख से मर जाएंगे.' उनका मानना ​​है कि वायरस के मुकाबले संघीय गवर्नर के कदम वास्तव में संकट बढ़ाने वाले हैं. जब ये सब आरोप प्रत्यारोप लगाने में व्यस्त थे, कोरोना वायरस पूरे देश में कहर बन चुका था. नतीजा ये कि देश की मौत का आंकड़ा बढ़ता ही जा रहा है. ब्राजील में लाशें बिछ रही हैं. इतनी तादात में लाशें दफनाने के लिए साओ पाउलो में 13,000 वर्टिकल कब्रिस्तानों का निर्माण किया जा रहा है. कोरोना वायरस सुदूर क्षेत्रों में भी फैल गया है जो किसी बुरे सपने की तरह है. ग्रामीणों की पहुंच सीमित है, टेस्टिंग की सुविधा नहीं है. लेकिन उनका सबसे बड़ा दुश्मन ये वायरस नहीं, बल्कि सरकार की उदासीनता है और एक ऐसा राष्ट्रपति है जो संकट को स्वीकार करने से ही इनकार करता है. बोल्सोनारो ने जिम और सैलून को खोलने की इजाज़त दे दी और इन्हें आवश्यक सेवा माना है. और अब, वह गवर्नर को चुनौती दे रहे हैं. उन्होंने कहा 'स्वास्थ्य ही जीवन है. जिम, हेयर ड्रेसर और नाई भी स्वच्छता से जुड़े हैं, यही जीवन है.' इन तीनों श्रेणियों में करीब दस लाख से ज्यादा लोग नौकरी करते हैं. वह जीवन की तुलना में अर्थव्यवस्था को प्राथमिकता दे रहे हैं, जिसका नतीजा ये है कि उनकी अस्वीकृति रेटिंग बढ़कर 55 प्रतिशत हो गई है. जनवरी में यह 47 फीसदी थी. स्वास्थ्य मंत्री ने दिया इस्तीफा ब्राजील के स्वास्थ्य मंत्री नेल्सन टीश ने शुक्रवार को अपने पद से इस्तीफा दे दिया. वे इस पद पर एक महीने से भी कम समय के लिए रहे. एक महीने के अंदर ब्राज़ील में ऐसा दूसरी बार हुआ है कि स्वास्थ्य मंत्री को अपना पद छोड़ना पड़ा है. माना जा रहा है कि नेल्सन टीश और दक्षिणपंथी राष्ट्रपति जायर बोल्सनारो के बीच मतभेद थे. वो मानते थे कि राष्ट्रपति का ध्यान लोगों के स्वास्थ्य के बजाए देश की अर्थव्यवस्था बचाने की तरफ ज्यादा है. हालांकि इस्तीफा देने का मुख्य कारण रहा एंटी मलेरिया ड्रग. बोल्सोनारो ने कोरोना मरीजों के इलाज के लिए एंटी मलेरिया ड्रग को हरी झंडी दे दी, जबकि दवा के साइड इफैक्टस के कारण टीश इसका विरोध करते आ रहे थे.  ये भी देखें- (function(d, s, id) { var js, fjs = d.getElementsByTagName(s); if (d.getElementById(id)) return; js = d.createElement(s); js.id = id; js.src = "https://connect.facebook.net/en_US/sdk.js#xfbml=1&version=v2.9"; fjs.parentNode.insertBefore(js, fjs); }(document, 'script', 'facebook-jssdk')); (function ($) { /*Drupal.behaviors.pagerload = { attach: function (context, settings) {*/ $(document).ready(function(){ var nextpath = ''; var pg = 1; var nextload= true; var string = '';var ice = 0; var load = 'लोडिंग'; var cat = "?cat=19"; /*************************************/ /*$(window).scroll(function(){ var last = $('div.listing').filter('div:last'); var lastHeight = last.offset().top ; if(lastHeight + last.height() //console.log("**get data"); var circle = ""; var myTimer = ""; var interval = 30; var angle = 0; var Inverval = ""; var angle_increment = 6; $.ajax({ url: "/hindi/news/article-list.php" + cat + nextpath, async: true, dataType: "json", beforeSend: function() { $('div.listing').append(load); nextload=false; //console.log("/micros/article-list.php" + cat + nextpath); ice = 1; circle = $('.center-section').find('#green-halo'); myTimer = $('.center-section').find('#myTimer'); angle = 0; Inverval = setInterval(function (){ $(circle).attr("stroke-dasharray", angle + ", 20000"); //myTimer.innerHTML = parseInt(angle/360*100) + '%'; if (angle >= 360) { angle = 1; } angle += angle_increment; }.bind(this),interval); }, success: function(data){ nextload=false; //console.log("success"); //console.log(data); $.each(data, function(key,val){ //console.log("data found"); ice = 2; if(val!='682092'){ string = ''+val+'' + val + ' ' + val + ' 3){ $("#star682092 > div.field-name-body > div.field-items > div.field-item").children('p').each(function(i, n){ ci = parseInt(i) + 1; t=this; var htm = $(this).html(); d = $("2 && $(this).html().length>20 && ci=3){ return false; } }); } var fb_script=document.createElement('script'); fb_script.text= "(function(d, s, id) {var js, fjs = d.getElementsByTagName(s);if (d.getElementById(id)) return;js = d.createElement(s); js.id = id;js.src = "https://connect.facebook.net/en_GB/sdk.js#xfbml=1&version=v2.9";fjs.parentNode.insertBefore(js, fjs);}(document, 'script', 'facebook-jssdk'));"; var fmain = $(".sr682092"); //alert(x+ "-" + url); var fdiv = ''; //console.log(fdiv); //$(fb_script).appendTo(fmain); $(fdiv).appendTo(fmain); $(document).delegate("button", "click", function(){ fbcontainer = ''; fbid = '#' + $(this).attr('id'); var sr = fbid.replace("#mf", ".sr"); //console.log("Main id: " + $(this).attr('id') + "Goodbye!jQuery 1.4.3+" + sr); $(fbid).parent().children(sr).toggle(); fbcontainer = $(fbid).parent().children(sr).children(".fb-comments").attr("id"); }); function onPlayerStateChange(event){ var ing, fid; console.log(event + "---player"); $('iframe').each(function(){ _v = $(this).attr('id'); console.log("_v: " + _v); if(_v != event){ console.log("condition match"); ing = new YT.get(_v); if(ing.getPlayerState()=='1'){ ing.pauseVideo(); } } }); $('div').each(function(){ _v = $(this).attr('id'); console.log("_v: " + _v + " event: " + event); if(_v != event){ //jwplayer(_v).play(false); } }); } function onYouTubePlay(vid, code, playDiv,vx, pvid){ if (typeof(YT) == 'undefined' || typeof(YT.Player) == 'undefined') { var tag = document.createElement('script'); tag.src = "https://www.youtube.com/iframe_api"; var firstScriptTag = document.getElementsByTagName('script'); firstScriptTag.parentNode.insertBefore(tag, firstScriptTag); window.onYouTubePlayerAPIReady = function() { onYouTubePlayer(vid, code, playDiv,vx, pvid); }; }else{onYouTubePlayer(vid, code, playDiv,vx, pvid);} } function onYouTubePlayer(vid, code, playDiv,vx, pvid){ //console.log(playDiv + "Get Youtue " + vid); //$("#"+vid).find(".playvideo-"+ vx).hide(); var player = new YT.Player(playDiv , { height: '450', width: '100%', videoId:code, playerVars: { 'autoplay': 1, 'showinfo': 1, 'controls': 1 }, events: { 'onStateChange': function(event){ onPlayerStateChange(event.target.a.id); } } }); $("#video-"+vid).show(); } function anvatoPlayerAPIReady(vid, code, playDiv,vx, pvid,vurl){ var rtitle = "zee hindi video"; if(vurl.indexOf("zee-hindustan/")>0){ rtitle = "zee hindustan video"; }else if(vurl.indexOf("madhya-pradesh-chhattisgarh/")>0){ rtitle = "zee madhya pradesh chhattisgarh video"; }else if(vurl.indexOf("up-uttarakhand/")>0){ rtitle = "zee up uttarakhand video"; }else if(vurl.indexOf("bihar-jharkhand/")>0){ rtitle = "zee bihar jharkhand video"; }else if(vurl.indexOf("rajasthan/")>0){ rtitle = "zee rajasthan video"; }else if(vurl.indexOf("zeephh/")>0){ rtitle = "zeephh video"; }else if(vurl.indexOf("zeesalaam/")>0){ rtitle = "zeesalaam video"; }else if(vurl.indexOf("zeeodisha")>0){ rtitle = "zeeodisha"; } AnvatoPlayer(playDiv).init({ "url": code, "title1":"", "autoplay":true, "share":false, "pauseOnClick":true, "expectPreroll":true, "width":"100%", "height":"100%", "poster":"", "description":"", "plugins":{ "googleAnalytics":{ "trackingId":"UA-2069755-1", "events":{ "PLAYING_START":{ "alias" : "play - " + rtitle, "category" : rtitle, "label" : vurl, "metric" : "1" }, "BUFFER_START":{ "alias" : "buffer - " + rtitle, "category" : rtitle, "label" : vurl, "metric" : "2" }, "AD_BREAK_STARTED":{ "alias" : "break - " + rtitle, "category" : rtitle, "label" : vurl, "metric" : "3" }, "VIDEO_COMPLETED":{ "alias" : "complete - " + rtitle, "category" : rtitle, "label" : vurl, "metric" : "4" } } }, "dfp":{ "clientSide":{ "adTagUrl":preroll, } } } }); } $(document).delegate("div", "click", function(){ //console.log($(this).attr("id")); //console.log($(this).attr("video-source")); //console.log($(this).attr("video-code")); var isyoutube = $(this).attr("video-source"); var vurl = $(this).attr("video-path"); var vid = $(this).attr("id"); $(this).hide(); var pvid = $(this).attr("newsid"); var vx = $(this).attr("id").replace('play-',''); var vC = $(this).attr("video-code"); var playDiv = "video-" + vid + "-" + pvid; if(isyoutube =='No'){ anvatoPlayerAPIReady(vid, vC, playDiv,vx, pvid, vurl); }else{ onYouTubePlay(vid, vC, playDiv,vx, pvid); } }); $(document).delegate("div", "click", function(){ var vid = $(this).attr("id").replace('ptop',''); $(this).hide(); var pvid = $(this).attr("newsid"); //console.log($(this).attr("id") + "--" + vid); //console.log($(this).parent().children().find('#play-'+vid).attr("video-source")); //console.log($(this).parent().children().find('#play-'+vid).attr("video-code")); var isyoutube = $(this).parent().children().find('#play-'+vid).attr("video-source"); var vC = $(this).parent().children().find('#play-'+vid).attr("video-code"); var vurl = $(this).parent().children().find('#play-'+vid).attr("video-path"); var playDiv = "mvideo-play-" + vid + "-" + pvid; if(isyoutube =='No'){ //console.log(jwplayer($(this).attr("id")).getState()); anvatoPlayerAPIReady($(this).attr("id"), vC, playDiv, vid, pvid,vurl); }else{ onYouTubePlay($(this).attr("id"), vC, playDiv, vid, pvid); } }); if($.autopager==false){ var use_ajax = false; function loadshare(curl){ history.replaceState('' ,'', curl); if(window.OBR){ window.OBR.extern.researchWidget(); } //console.log("loadshare Call->" + curl); //$('html head').find('title').text("main" + nxtTitle); if(_up == false){ var cu_url = curl; gtag('config', 'UA-2069755-1', {'page_path': cu_url }); if(window.COMSCORE){ window.COMSCORE.beacon({c1: "2", c2: "9254297"}); var e = Date.now(); $.ajax({ url: "/marathi/news/zscorecard.json?" + e, success: function(e) {} }) } } } if(use_ajax==false) { //console.log('getting'); var view_selector = 'div.center-section'; // + settings.view_name; + '.view-display-id-' + settings.display; var content_selector = view_selector; // + settings.content_selector; var items_selector = content_selector + ' > div.rep-block'; // + settings.items_selector; var pager_selector = 'div.next-story-block > div.view-zhi-article-mc-all > div.view-content > div.clearfix'; // + settings.pager_selector; var next_selector = 'div.next-story-block > div.view-zhi-article-mc-all > div.view-content > div.clearfix > a:last'; // + settings.next_selector; var auto_selector = 'div.tag-block'; var img_location = view_selector + ' > div.rep-block:last'; var img_path = 'लोडिंग'; //settings.img_path; //var img = '' + img_path + ''; var img = img_path; //$(pager_selector).hide(); //alert($(next_selector).attr('href')); var x = 0; var url = ''; var prevLoc = window.location.pathname; var circle = ""; var myTimer = ""; var interval = 30; var angle = 0; var Inverval = ""; var angle_increment = 6; var handle = $.autopager({ appendTo: content_selector, content: items_selector, runscroll: maindiv, link: next_selector, autoLoad: false, page: 0, start: function(){ $(img_location).after(img); circle = $('.center-section').find('#green-halo'); myTimer = $('.center-section').find('#myTimer'); angle = 0; Inverval = setInterval(function (){ $(circle).attr("stroke-dasharray", angle + ", 20000"); //myTimer.innerHTML = parseInt(angle/360*100) + '%'; if (angle >= 360) { angle = 1; } angle += angle_increment; }.bind(this),interval); }, load: function(){ $('div.loading-block').remove(); clearInterval(Inverval); //$('.repeat-block > .row > div.main-rhs394331').find('div.rhs394331:first').clone().appendTo('.repeat-block >.row > div.main-rhs' + x); $('div.rep-block > div.main-rhs394331 > div:first').clone().appendTo('div.rep-block > div.main-rhs' + x); $('.center-section >.row:last').before(' div.field-name-body > div.field-items > div.field-item").children('p').length; if(pl>3){ $(xp + " > div.field-name-body > div.field-items > div.field-item").children('p').each(function(i, n){ ci= parseInt(i) + 1; t=this; d = $("8){ if(i==(pl-2)){d.insertAfter(t);fillElementWithAd(d, '/11440465/Zeenews_Hindi_Article_Inarticle_300x250_BTF', , {}); } }*/ }); } //var $dfpAd = $('.center-section').children().find("#ad-"+ x); //console.log($dfpAd); //fillElementWithAd($dfpAd, '/11440465/Zeenews_Hindi_Article_970x90_BTF', , ], {}); var $dfpAdrhs = $('.main-rhs' + x).children().find('.adATF').empty().attr("id", "ad-300-" + x); //$('.content-area > .main-article > .row > .main-rhs'+x).find('#ad-300-' + x); var $dfpAdrhs2 = $('.main-rhs' + x).children().find('.adBTF').empty().attr("id", "ad-300-2-" + x);//$('.content-area > .main-article > .row > .main-rhs'+x).find('#ad-300-2-' + x); //var $dfpMiddleAd = $('.content-area > .main-article > .row').find('#ar'+x).find('#ad-middle-' + x).empty(); //fillElementWithAd($dfpAdrhs, '/11440465/Zeenews_Hindi_Web/Zeenews_Hindi_AS_ATF_300x250', , ], {}); //fillElementWithAd($dfpAdrhs2, '/11440465/Zeenews_Hindi_Web/Zeenews_Hindi_AS_BTF_1_300x250', , {}); //fillElementWithAd($dfpMiddleAd, '/11440465/Zeenews_Hindi_Article_Middle_300x250_BTF', , {}); var instagram_script=document.createElement('script'); instagram_script.defer='defer'; instagram_script.async='async'; instagram_script.src="https://platform.instagram.com/en_US/embeds.js"; /*var outbrain_script=document.createElement('script'); outbrain_script.type='text/javascript'; outbrain_script.async='async'; outbrain_script.src='https://widgets.outbrain.com/outbrain.js'; var Omain = $("#outbrain-"+ x); //alert(Omain + "--" + $(Omain).length); $(Omain).after(outbrain_script); var rhs = $('.main-article > .row > div.article-right-part > div.rhs394331:first').clone(); $(rhs).find('.ad-one').attr("id", "ad-300-" + x).empty(); $(rhs).find('.ad-two').attr("id", "ad-300-2-" + x).empty(); //$('.main-article > .row > div.article-right-part > div.rhs394331:first').clone().appendTo('.main-article > .row > div.main-rhs' + x); $(rhs).appendTo('.main-article > .row > div.main-rhs' + x); */ setTimeout(function(){ var twit = $("div.field-name-body").find('blockquote').length; var insta = $("div.field-name-body").find('blockquote').length; if(twit==0){twit = ($("div.field-name-body").find('twitterwidget').length);} if(twit>0){ if (typeof (twttr) != 'undefined') { twttr.widgets.load(); } else { $.getScript('https://platform.twitter.com/widgets.js'); } //$(twit).addClass('tfmargin'); } if(insta>0){ $('.content > .left-block:last').after(instagram_script); //$(insta).addClass('tfmargin'); window.instgrm.Embeds.process(); } }, 1500); } }); /*$("#loadmore").click(function(){ x=$(next_selector).attr('id'); var url = $(next_selector).attr('href'); disqus_identifier = 'ZNH' + x; disqus_url = url; handle.autopager('load'); history.pushState('' ,'', url); setTimeout(function(){ //twttr.widgets.load(); //loadDisqus(jQuery(this), disqus_identifier, disqus_url); }, 6000); });*/ /*$("button").live("click", disqusToggle); function disqusToggle() { console.log("Main id: " + $(this).attr('id')); }*/ var title, imageUrl, description, author, shortName, identifier, timestamp, summary, newsID, nextnews; var previousScroll = 0; //console.log("prevLoc" + prevLoc); $(window).scroll(function(){ var last = $(auto_selector).filter(':last'); var lastHeight = last.offset().top ; //st = $(layout).scrollTop(); //console.log("st:" + st); var currentScroll = $(this).scrollTop(); if (currentScroll > previousScroll){ _up = false; } else { _up = true; } previousScroll = currentScroll; //console.log("_up" + _up); var cutoff = $(window).scrollTop() + 64; //console.log(cutoff + "**"); $('div').each(function(){ //console.log("article" + $(this).children().find('.left-block').attr("id") + $(this).children().find('.left-block').attr('data-url')); if($(this).offset().top + $(this).height() > cutoff){ //console.log("$$" + $(this).children().find('.left-block').attr('data-url')); if(prevLoc != $(this).children().find('.left-block').attr('data-url')){ prevLoc = $(this).children().find('.left-block').attr('data-url'); $('html head').find('title').text($(this).children().find('.left-block').attr('data-title')); pSUPERFLY.virtualPage(prevLoc,$(this).children().find('.left-block').attr('data-title')); //console.log(prevLoc); //history.pushState('' ,'', prevLoc); loadshare(prevLoc); } return false; // stops the iteration after the first one on screen } }); if(lastHeight + last.height() //console.log("**get"); url = $(next_selector).attr('href'); x=$(next_selector).attr('id'); ////console.log("x:" + x); //handle.autopager('load'); /*setTimeout(function(){ //twttr.widgets.load(); //loadDisqus(jQuery(this), disqus_identifier, disqus_url); }, 6000);*/ } //lastoff = last.offset(); //console.log("**" + lastoff + "**"); }); //$( ".content-area" ).click(function(event) { // console.log(event.target.nodeName); //}); /*$( ".comment-button" ).live("click", disqusToggle); function disqusToggle() { var id = $(this).attr("id"); $("#disqus_thread1" + id).toggle(); };*/ $(".main-rhs394331").theiaStickySidebar(); var prev_content_height = $(content_selector).height(); //$(function() { var layout = $(content_selector); var st = 0; ///}); } } }); /*} };*/ })(jQuery); Source link Read the full article
0 notes
dohfos-blog1 · 5 years ago
Text
What Is My IP Address - Get It Now
Tumblr media
What's Definitely an IP Address, Anyway?
An IP address -- or Internet Protocol address to provide its whole name -- is lots assigned to every device connected to a computer system that employs the internet protocol. To learn extra information about internet protocol, you've to check out what is my ip address website.
Your IP address has two jobs: ID for your host or system interface, and area addressing. IPv4 employs 32bit amounts for the IP address. IPv6, the latest new edition of IP, works by using 128 bit.
How Do Businesses Use Internet Protocol Address Details?
Here are some frequent methods owners or business people use and take advantage of internet protocol address data.
Filter Out Internal Traffic On Your Site
All small companies should be using a web analytics tool. Probably one among the ones that are most popular would be Google Analytics that comes with a free version. Below however you need to utilize any analytics tool todo the same thing, we'll use google-analytics in this example.
To a own website, you are able to filter out all traffic in Google Analytics. That is performed regularly by employing individual IP addresses or by simply means of a subnet of IP addresses. This type of filtering is considered a best practice to avoid skewing your own traffic patterns via activity like screening on pages. This type of filter is really so prevalent that googleanalytics has one pre-configured for you. You simply will need to"flip a few switches", so to talk. Just before we feel the effortless procedure for adding IP filters, so let us make sure your"views" are set up.
Google-analytics urges that each property have a minimum of three viewpoints. This really is deemed to be a best practice. These can be termed any way You Want, but commonly are termed:
Master
Raw Info
Test
The Data viewpoint does not have any intentions or filters employed into it.
The Guru opinion could be the opinion that you'll utilize to accomplish the majority of your research. It's going to have filters configured to automatically screen out traffic via internet protocol address, and may contain filters. The information wills alter once you apply filters and also other settings. This can be why you desire to maintain a info view, which is why you should examine settings by means of the Evaluation view ahead of executing them in the Guru view.
Here is how to filter traffic from IP address.
First have staff and freelancers go to with this particular specific page, use the internet protocol address application to discover and document their own internet protocol address, then e mail it . If they workin a lot more than one location, be certain they identify all of the Internet Protocol addresses they are employing.
Internet Protocol Address Use In Marketing Automation
Marketing automation software can do remarkable things by monitoring IP addresses. Business owners do not should be familiar with granular details of marketing automation operates, but understanding of what is feasible now, how the shapes is critical to building an effective digital marketing plan.
Internet Protocol addresses are in transforming your anonymous internet site traffic right into sales opportunities that are qualified and known, the very primary connection and then into prospective clients and replicate earnings.
0 notes
littlewitchyone · 5 years ago
Text
What Is My Internet Protocol Address - Get It
Tumblr media
What's Definitely an Internet Protocol Address, Any Way?
An IP address -- or Internet Protocol address to provide its complete name -- is a number assigned to every device connected to a computer system that employs the internet protocol. To discover extra information about what is my ipv4, you've to visit https://whatismyipv4.com/ website.
Your own IP address has two essential tasks: ID for your host or system interface, and spot addressing. IPv4 employs 32bit numbers for your internet protocol address. IPv6, the newest variant of IP, employs 128 bit.
How Do Small Businesses Use IP Address Details?
Below are some techniques business owners or webmasters use and also benefit from IP address info.
Filter Internal Traffic On Your Site
All of businesses should be using a web analytics tool. One of the ones that are most widely used would be google-analytics which comes with a version that is free that is . We are going to utilize Google Analytics in this case underneath but you need to utilize any analytics tool to do something similar.
You can filter out all traffic to your website. That really is performed regularly by employing individual IP addresses or by excluding a subnet of IP addresses. Such a filtering is recognized as a optimal/optimally practice in order to avoid skewing your traffic designs via task like internal screening on select pages. This type of filter is really so prevalent that googleanalytics has one pre-configured foryou personally. You simply will need to"reverse a few switches", in order to talk. Just before we feel the effortless process of adding IP filters, so let us ensure that your"views" are set up.
Google Analytics recommends that each and every property have three or more viewpoints. This really is deemed to be a very best apply. These can be named any way
Master
Raw Data
Evaluation
The Data viewpoint has no filters or even goals applied into it.
The Master opinion may be the opinion that you'll utilize to accomplish nearly all of your research. It'll have filters configured to screen out traffic via internet protocol address, and could comprise other filters. The data wills modify once you apply filters and configurations. This really is why you wish to maintain a info view that is raw, and it's ahead of implementing them the reason you should examine settings through the Test view.
Listed here is how exactly to filter visitors by IP address.
First possess freelancers and staff stop by this page, use the internet protocol address tool to discover and document their own internet protocol address, then e mail it . Should they work in greater than 1 place, be certain they identify all the IP addresses they're utilizing.
IP Address Use Within Marketing-automation
Marketing automation applications can do remarkable items by tracking IP addresses. Small small business owners won't should be familiar with granular details of marketing automation operates, but understanding of what's possible today, the shapes is essential to building an effective plan.
Internet Protocol addresses are the very primary connection in changing your anonymous web site visitors and after that into repeat sales and lifestyle customers.
0 notes
xponnect-blog · 8 years ago
Video
THE ONE THING EP.20 - GOOGLE ANALYTICS FILTERS If you’ve got a business and your using @googleanalytics then you’ll want to apply filters. If you’re testing your site, or visiting it frequently, you don’t want to have your results appearing amongst that of your customers. My tip addresses that problem. #marketingtips #marketingstrategy #marketingonline #marketingideas #marketingtools #marketingsocial #marketingcoach #marketingcompany #marketingclass #marketingadvice #marketinghelp #socialmediaexpert #socialmediatools #socialmediacoach #socialmediastrategy #socialmediatraining #socialmediaskills #entrepreneurgoals #entrepreneurialmindset #entrepreneurspirit #garyvee #crushit #thankyoueconomy #vaynernation #businessstartup #businessmind #startuptips #startupstory #startupnation #startupadvice
2 notes · View notes
Text
Collaborate The UX & SEO Guys For Better Result
There’s been an uncomfortable divorce between UX in prior decades, and challenging to maneuver past a them’ and ‘us attitude. If your company will be on the right track for achievement, subsequently equally have to be employed in tranquility.
It's SEOs' job to remain constantly up with Google calculations function therefore make sure to pay attention to their views, even when they’re speaking style problems to date.
Fortunately, SEO are progressively joining in to the same task, that will be good-news for everybody. Guests get a greater encounter, companies possess a manual on the best way to fulfill their client requirements (assuming they study the way the formula works) and UX developers and SEOs may ultimately place their variations aside and interact.
Site UX to be helped by customer measurements Today, the task of SEOs is centred to be able to notify the look procedure around comprehension around possible concerning the site. To achieve a comprehensive comprehension, data-gathering calls for searching in Googleanalytics for common measurements such as for example market demographics, person trips, common page content, what customers are trying to find in your website, just how long a may stick to content, how rapidly a website masses and just how much a person scrolls down a full page.
This information is very important for developers because it assists them produce format a site structure and level of information that will assist their customers understand effortlessly to information that they’re thinking about without thinking way too hard.
Quite simply, SEOs find UX developers apply it and the type of encounter customers need. Examining standing jobs that are Google to identify places for UX enhancement Where websites in your site position understanding is essential, particularly throughout the study stage.
To some custom, an collecting Google ratings since it seems to be more of the advertising exercise than the usual UX one won’t assist their style procedure. Nevertheless, knowing where websites in your site rank rank can make an query the websites on the webpage and examine rivals which are rating properly, information and specialized problems.
From their evaluation, an SEO could make certain developers are provided with information more installation to objectives that are users’. The information could be built-into the web site. SEOs may also record on any problems that are specialized to think about throughout the user’s trip, such as for example inner linking and pop-ups.
Continuing enhancements and reporting Whenever a fresh site (style) is released, it’s the beginning of the trip, as opposed to the end-of a task. UX developers create a product-based on ability encounter but, despite their finest initiatives, the consumer might experience some aches while using the site.
Translate and to be able to check UX issues that are possible, it’s essential the web site is established in a fashion which allows one to collect encounter information that is actual. This perception may generate site modifications that are potential to ease any discomfort experienced from the person.
Where SEOs might help that is. To ensure that Googleanalytics to monitor consumer conduct that is correct on sites, it’s essential that occasions and objectives are designed properly. Additionally, establishing filters and sophisticated sections can help supply in depth comprehension in the place of mirror measurements.
Be skeptical of mirror measurements – they are able to totally alter an awareness of how nicely the consumer is currently that great site. Lastly, it’s likewise crucial to link the Google-Search System whilst the information supplied might help enhance cellular friendliness, accelerate an internet site, fix links and supply more participating metadata, assisting the content's importance towards the consumer. 
Find SEO tools that suite with your work only at Checkr24.com. There’s bunch of great SEO tools that you can use for FREE. 
1 note · View note
shgmpmseo · 8 years ago
Text
Here’s How to Automate Google Analytics Reporting with Google Sheets – SEO NYC & Digital Marketing
If the requirement to decrease the period allocated to website stats was actually experienced by you’ve, cutting a large part of the information out -collecting horse function, you’re absolutely buying method that is fresh to automate your initiatives. For individuals who utilize Googleanalytics, you will find effective resources which allow the Statistics APIs to be queried by you and also to develop automated reviews in Shine having a one time startup that is preliminary. (Supermetrics Information Grabber has become the best known device of the type.)
Have you been frightened of Workplace permits, but love Push discussing choices? Subsequently you’ll be happy to understand a totally free add-on is for Google Linens that may do all of the work that is filthy for you, making just the innovative load of arranging information in individual dashboards to you .
I was assisted by this device a great deal in enhancing and automating my reporting actions over the last couple of months.
I’m likely to clarify within several actions utilize its fundamental capabilities to be able to conserve some valuable working-time and just how to do the installation.
Installment
Record into Google Push using the consideration you utilize for Googleanalytics.
Check out this site and click the “Free” switch. (You’ll be redirected to Google Linens.)
Permit the add-on and also the typical permissions is likely to be mounted.
Completed. You’ll have the ability to access your brand device that is new in the “Add- label within the selection.
Tumblr media
Generate your first statement
Let’s start benefiting from information. Pressing on new statement that is “Create, the easy software of the add-on opens.
Tumblr media
The shape is self-explanatory and extremely simple. Merely name-your statement, select your Statistics account, and set measurements and the measurements you wish to check. Don’t fear if it appears restricted; within the next action, you’ll have the ability to modify all you need (e.g., day amounts and filters). Within this fundamental instance, simply select Periods within the “Metrics” area.
Click “Create report” and also the following stand may appear:
Tumblr media
(In some time, we’ll observe how to make use of and enhance it, since it’s the primary of the Google Linens Stats add on.) For-now, just click in the – label: The device may query the Statistics APIs to obtain a pop-up for, along with the information you requested may let you know when the demand was effective. In a brand new linen, you’ll begin to see the real statement, which in this instance exhibits the amount of periods authorized inside the standard time array (the final seven days).
Tumblr media
Wish while sustaining another one for assessment reasons to produce a fresh statement? Merely put in a fresh line by sticking the aged one and burning, subsequently changing the ideals wherever required. (The reviews is likely to be produced in two individual sheets). This really is even more quickly than utilizing the GUI each time and hitting new report”!
Enhance your statement
Time for you to return to the “Report linen that is Configuration”. There are lots of more areas compared to types contained in the GUI while you noticed before. Every area, obviously, stuffed or could be modified personally.
A number of them may need a reason of the format that is necessary. A look at the reason is taken by Let’s.
Watch (account) IDs
Below, the Statistics watch you wish to question can be specified by you. That “IDs” is very deceptive: you are able to select just one watch below. If you want to discover more or two sights, subsequently you’ll have to include new posts. To locate your watch identification, simply make use of the GUI of the add on; or visit Statistics and press on “Administration,” followed closely by “View settings.”
Start and finish times
You are able to possibly create times personally (it’s okay if you want to gather information inside a particular period variety) or utilize comparable times with formulations like nowadays and recently. Let’s state you wish to produce a “last-week-vs.-this-week” statement. As recommended in this good Google’s walkthrough, a stylish method to automate measurements would be to produce two posts (i.e., reviews) called, for instance, “this week” and “last week” using the formulations established such as this:
Tumblr media
Format — mm/dd/yyyy or comparable times
Last N times
Depart it empty if you are using End-Date grounds and the Start-Date.
Measurements and measurements
Here-you may inform the add on which information you wish to get from Googleanalytics. You are able to set as much as 10 measurements and 7 measurements for every report out. If you want support with discovering legitimate mixtures between measurements and measurements, check out this site.
Format — ga:sessions, ga:users... and ga:nation, ga:bounces...
Kind
This area enables you to alter how one’s report’s platforms are structured. You are able to select:
Just how to team information (by concern);
which purchase (ascending or descending) to utilize.
A good example can make this better. Assume you published ga:periods within the “Metrics” field and ga:pagePath, ga:country within the “Dimensions” area: the statement will highlight, for every site, the listing of nations which produced one or more program, ordered alphabetically.
Tumblr media
Now assume you wish to team these details by country (quite simply you wish to understand, for every nation, the listing of websites which produced one or more program): you merely have to create ga:country within the “Sort” area.
Tumblr media
Lastly, let’s state you wish to enhance this desk, displaying periods in order, for every nation. Merely include -ga:periods and also the minus indication is going to do the miracle.
Tumblr media
Format — ga:country, -ga:sessions...
Filters
the same instance is continued using by Let’s and state you wish to limit information creation to some specific (e.g. Croatia). This is exactly what the “Filters” area can be used for: load it using the coaching ga:country==Italy and that’s it. While you observe, I utilized the owner == to query the Statistics API using the correct format. To be able to discover which providers you should use to filtration measurements and measurements precisely, observe this checklist. Obviously you may also mix filters using the OR and AND providers, symbolized respectively like a comma (,) along with a semi colon (;).
Format — ga:country==Italy; ga:medium==organic...
Section
The add on permits sections to be even applied by you for your statement. You are able to possibly produce a fresh powerful section onthefly or remember sections currently described in Googleanalytics. I’m unfamiliar with powerful sections – never attempted them truthfully – therefore I’ll simply explain this manual for individuals who wish to have a further consider this subject. To make use of a current section you’ve to understand its identification: the simplest way to locate it’s through Google’s APIs Traveler, that’ll provide you with every aspect concerning the sections occur your Statistics users.
Sample Degree
When you have to cope with a lot of information (significantly more than 500k periods inside the selected period variety) your Statistics reviews will probably be tried. By using this area is much like modifying the testing slider within the typical Googleanalytics cell: depart it empty when the sample dimension pays your requirements, create QUICKER (slider towards the remaining) to get a quicker question having a smaller sample, HIGHER_PRECISION (slider towards the right) to get a slower question having a bigger sample. If you like additional information, listed here is Google’s standard doc about how sample works.
Begin catalog and max outcomes
As Bing reviews, “The Statistics Primary Reporting API returns no more than 10,000 lines per request.” The standard price for your area “Max Outcomes,” nevertheless, is 1000: which means that, if you like to get more information (i.e. Lines), you’ll have to designate the specified quantity below. Let’s state then your complete outcomes of your question surpass 10,000, and also you wish to observe also the lines that exceed that restriction: The area “Start Index” is available in useful because it enables you to pick the strip (i.e., catalog) that to begin exhibiting the information.
A genuine-existence instance
What with you now’s a tangible use-case of the Stats, I do want to share add on. Sometime before I chose to enhance among my SEO reviews that were regular developing a home-upgrading dash in Google Linens. I’d to determine just how to gather instantly the next KPIs:
Natural periods by month and by gadget class;
Natural brings by month and by gadget class;
Periods that are natural Vs. all periods by month.
A short caution before discovering the dash: I utilized mounted times here to shop historic information and also in order to identify the regular pattern of my company, but obviously you could find more worth in utilizing comparable times based on your personal reasons. It’s your decision.
Let’s have a look in the statement setup linen.
Tumblr media
The following the very first three inquiries have now been put up.
Start-Date and End-Date (01/01/2015 and 12/31/2015): What I want this is actually the entire year. I’ll choose month later like a measurement in order to investigate the regular pattern, and I’ll produce a completely new statement once the new year starts (merely duplicate-sticking the aged one and altering the times). In this way I will usually make reference to the reviews that are past to find out yr-over- trends. Doesn’t issue when the current-year isn’t over however: potential weeks update themselves when it’s period and can get zero outcomes. Be cautious: in sample issues Choosing this type of broad period variety may result. To lessen or prevent them you can separate your question by 12 – one-per month – subsequently aggregate figures in another page.
Measurements and Measurements (ga:sessions, ga:goal1Completions, ga:goal2Completions and ga:month): the required measurements inform Google I do want to separate the necessary measurements of my reviews by month. To be able to make use of the full goalXXCompletions you clearly need to substitute XX together with your goal’s identification (it is simple to think it is in Googleanalytics).
Kind (ga:month): this is the way I’d like information to become proven, “grouped” by month. It just assists me within the initial business of information, this task isn’t essential to produce the dash, while you might find.
Filters (ga:medium==organic;ga:deviceCategory==desktop/mobile/tablet): in this way, the inquiries can get just natural leads to reaction, divided by gadget. Why don’t you merely creating one question with deviceCategory established like a measurement? Since – you’ll observe – formulations within the dash could be more complicated, since I’d need to remember information from additional linens with a few kind of research centered on two requirements (month and gadget).
Because it simply requires Stats for that general sessions, the next question is extremely fundamental.
For research, this is a screenshot of the very first statement, which exhibits the amount of the pc traffic that is natural by the associated objective completions and also month.
Tumblr media
Establishing the SEO dash
Since the information exists, the enjoyable component is jumped towards by let’s: creating a good dash which provides an instantaneous summary of the KPIs I do want to emphasize. Only an issue of measurements and capabilities. A brand new page opens.
Natural periods
(click the picture to get a greater watch.)
the deltas and also the strip here are quite simple measurements on the basis of the lines above’s result. What’s worth taking a look at is mobile B5. The method is spread within the desk within ” “Mobile” the “Desktop and lines.
=VLOOKUP(B, OrganicDesktop!$A:$D, 2, FALSE)
The VLOOKUP reads the required selection of the “OrganicDesktop” linen searching for the worthiness of the mobile B2 (the amount of the month, in this instance, 1) and returning the related price within the next line of the desk (the amount of periods).
Why guide the worthiness to find not and having a mobile straight using the quantity? It’s a well known technique which below enables me to pull the method implementing it to every mobile of the strip, because of the “dynamic” mention of the the row 2 (where I published the amounts of the weeks).
The lines “Tablet” and “Mobile” are filled with, changing the recommended sheet within the same manner.
The piechart about the right simply shows the sum total natural periods that are typical by gadget. To obtain the percentage worth of the pc traffic, for instance, I utilized this quite simple formula:
=SUM($B5:$M5)/SUM($B:$M)
Natural prospects
The dashboard’s 2nd part is actually a duplicate of the one. The only real distinction is the fact that the tissues of the lines “Desktop,” “Mobile” and “Tablet” summarize two VLOOKUPs, since I have need to record below the sum total quantity of prospects (objective 1 completions + objective 2 completions).
This is actually the method of the mobile B33:
=VLOOKUP(B, OrganicDesktop!$A:$D, 3, FALSE)+VLOOKUP(B, OrganicDesktop!$A:$D, 4, FALSE)
Natural periods vs. all periods
Lastly, an extremely one that is easy. The strip “Free traffic” utilizes ideals in the strip “Total” of the “Organic sessions” desk, as the strip “All traffic” looks for ideals within the “All” linen via a VLOOKUP formula:
=VLOOKUP(B, All!$A:$B, 2, FALSE)
Summary
This dash is just a fundamental instance of that which you may do using the aid of the Googleanalytics add on for Google Linens. Once you know just how to get information precisely in the Statistics APIs, you’re liberated to arrange them while you like in a brand new linen (or in a brand new document, using the IMPORTRANGE purpose), to be able to put up an entirely automated and home-upgrading cell based on your requirements.
One thing: Remember, you may also plan reviews to revise them instantly without pressing on just one switch.
Check out Add-ons gt &; Googleanalytics within the selection above to locate the thing you need.
Tumblr media
Would you make use of a procedure that is comparable? I’d enjoy viewing your ideas below within the remarks.
Subscribe to The Moz Top, a semimonthly mailer upgrading you on top five best bits of SEO information, guidelines, and radical links discovered from the Moz group. Think as your unique digest of material of it you don’t have time for you to search for but wish to study!
from Shgmpm Affordable SEO Agency http://www.shgmpm.com/heres-how-to-automate-google-analytics-reporting-with-google-sheets-seo-nyc-digital-marketing/
0 notes
gokul2181 · 5 years ago
Text
Indian Railways need to focus on increasing revenue, boosting safety of operations and welfare of employees: Piyush Goyal | Economy News
New Post has been published on https://jordarnews.in/indian-railways-need-to-focus-on-increasing-revenue-boosting-safety-of-operations-and-welfare-of-employees-piyush-goyal-economy-news/
Indian Railways need to focus on increasing revenue, boosting safety of operations and welfare of employees: Piyush Goyal | Economy News
New Delhi: Railway Minister Piyush Goyal on Thursday (July 16) said that Indian Railways need to collectively focus on increasing the revenue, minimising costs, boosting the safety of operations and welfare of existing employees while addressing the first-ever online workmen conference, which comprised representatives of Railways worker’s unions from across the country.
Piyush Goyal expressed the gratitude for Railway workmen for performing duties relentlessly during the lockdown period saying “From the highest level to the lowest level, all officers and staff have sincerely performed their duties during the lockdown. Presently, Indian Railways is going through critical times due to the pandemic.”
The Minister urged the leaders of the federations to ponder how Railways can overcome this crisis that is looming across the world due to this pandemic. 
Goyal also asked Railway federations to come up with unique ideas on how Railways revenue can be increased, costs minimised, freight share be improved, and how the railways can move further and faster. He also asked all to think about the safety and welfare of existing employees. He stressed the collective effort required by Railways officers, unions, and staff during this phase.
The Minister has sought crowdsourcing of ideas for boosting profitability and transformational changes from the railway employees. 
“The heart of railway employees beats for the organisation. They would be having ideas which can boost the profitability of Railways,” said Goyal, directing the General Managers and Divisional Railway Managers to actively seek these ideas from the employees and transmit the same to the ministry.
Among others who attended the “Workmen Sangosthi” included MoS of Railways Suresh C Angadi, Railway Board Chairman VK Yadav, along with senior officers of the Railway Board. The office bearers of both the federations- AIRF and NFIR, and other officials of the Federation presented their views.
(function(d, s, id) var js, fjs = d.getElementsByTagName(s)[0]; if (d.getElementById(id)) return; js = d.createElement(s); js.id = id; js.src = "https://connect.facebook.net/en_US/sdk.js#xfbml=1&version=v2.9"; fjs.parentNode.insertBefore(js, fjs); (document, 'script', 'facebook-jssdk')); (function ($) /*Drupal.behaviors.pagerload = attach: function (context, settings) */ $(document).ready(function() $(".sidebar").theiaStickySidebar(); /*$.get( "/hindi/zmapp/mobileapi/sections.php?sectionid=17,18,19,23,21,22,25,20", function( data ) $( "#sub-menu" ).html( data ); alert( "Load was performed." ); );*/ var nextpath = ''; var pg = 1; var nextload= true; var string = '';var ice = 0; var playerFly; var load = '
Loading
'; var cat = "?cat=657581"; //$(".main-rhs2296277").theiaStickySidebar(); var instagram_script=document.createElement('script'); instagram_script.defer='defer'; instagram_script.async='async'; instagram_script.src="https://platform.instagram.com/en_US/embeds.js"; document.head.appendChild(instagram_script); /*************************************/ /*$(window).scroll(function() var last = $('div.listing').filter('div:last'); var lastHeight = last.offset().top ; if(lastHeight + last.height() < $(document).scrollTop() + $(window).height() && nextload==true) var circle = ""; var myTimer = ""; var interval = 30; var angle = 0; var Inverval = ""; var angle_increment = 6; $.ajax( url: "/micros/article-list.php" + cat + nextpath, async: true, dataType: "json", beforeSend: function() $('div.listing').append(load); nextload=false; //console.log("/micros/article-list.php" + cat + nextpath); ice = 1; circle = $('.center-section').find('#green-halo'); myTimer = $('.center-section').find('#myTimer'); angle = 0; Inverval = setInterval(function () $(circle).attr("stroke-dasharray", angle + ", 20000"); //myTimer.innerHTML = parseInt(angle/360*100) + '%'; if (angle >= 360) angle = 1; angle += angle_increment; .bind(this),interval); , success: function(data) nextload=false; //console.log("success"); //console.log(data); $.each(data['rows'], function(key,val) //console.log("data found"); ice = 2; if(val['id']!='2296277') string = '
'+val["tag"]+'
' + val["title"] + '
' + val["summary"] + '
Read Full Article
'; $('div.listing').append(string); ); , error:function(xhr) //console.log("Error"); //console.log("An error occured: " + xhr.status + " " + xhr.statusText); nextload=false; , complete: function() $('div.listing').find(".loading-block").remove();; pg +=1; //console.log("mod" + ice%2); nextpath = '&page=' + pg; //console.log("request complete" + nextpath); cat = "?cat=657581"; //console.log(nextpath); nextload=(ice%2==0)?true:false; );
//lastoff = last.offset(); //console.log("**" + lastoff + "**"); );*/ var maindiv = false; var dis = 0; var fbcontainer = ''; var fbid = ''; var fb_script=document.createElement('script'); fb_script.text= "(function(d, s, id) var js, fjs = d.getElementsByTagName(s)[0];if (d.getElementById(id)) return;js = d.createElement(s); js.id = id;js.src = "https://connect.facebook.net/en_GB/sdk.js#xfbml=1&version=v2.9";fjs.parentNode.insertBefore(js, fjs);(document, 'script', 'facebook-jssdk'));"; var fmain = $(".sr2296277"); //alert(x+ "-" + url); var fdiv = '
'; //console.log(fdiv); //$(fb_script).appendTo(fmain); $(fdiv).appendTo(fmain); function fillElementWithAd($el, slotCode, size, targeting) if (typeof targeting === 'undefined') targeting = ; else if ( Object.prototype.toString.call( targeting ) !== '[object Object]' ) targeting = ; var elId = $el.attr('id'); //console.log("elId:" + elId); googletag.cmd.push(function() var slot = googletag.defineSlot(slotCode, size, elId); for (var t in targeting) slot.setTargeting(t, targeting[t]); slot.addService(googletag.pubads()); googletag.display(elId); //googletag.pubads().refresh([slot]); ); $(document).delegate("button[id^='mf']", "click", function() fbcontainer = ''; fbid = '#' + $(this).attr('id'); var sr = fbid.replace("#mf", ".sr"); $(fbid).parent().children(sr).toggle(); fbcontainer = $(fbid).parent().children(sr).children(".fb-comments").attr("id"); );
function onPlayerStateChange(event) var ing, fid; //console.log(event + "---player"); $('iframe[id*="video-"]').each(function() _v = $(this).attr('id'); //console.log("_v: " + _v); if(_v != event) //console.log("condition match"); ing = new YT.get(_v); if(ing.getPlayerState()=='1') ing.pauseVideo(); ); $('div[id*="video-"]').each(function() _v = $(this).attr('id'); //console.log("_v: " + _v + " event: " + event); if(_v != event) //jwplayer(_v).play(false); ); function onYouTubePlay(vid, code, playDiv,vx, pvid) typeof(YT.Player) == 'undefined') var tag = document.createElement('script'); tag.src = "https://www.youtube.com/iframe_api"; var firstScriptTag = document.getElementsByTagName('script')[0]; firstScriptTag.parentNode.insertBefore(tag, firstScriptTag); window.onYouTubePlayerAPIReady = function() onYouTubePlayer(vid, code, playDiv,vx, pvid); ; elseonYouTubePlayer(vid, code, playDiv,vx, pvid); function onYouTubePlayer(vid, code, playDiv,vx, pvid) //console.log(playDiv + "Get Youtue " + vid); //$("#"+vid).find(".playvideo-"+ vx).hide(); var player = new YT.Player(playDiv , height: '450', width: '100%', videoId:code, playerVars: 'autoplay': 1, 'showinfo': 1, 'controls': 1 , events: 'onStateChange': function(event) onPlayerStateChange(event.target.a.id); ); $("#video-"+vid).show(); function anvatoPlayerAPIReady(vid, code, playDiv,vx, pvid,vurl) AnvatoPlayer(playDiv).init( "url": code, "title1":"", "autoplay":true, "share":false, "pauseOnClick":true, "expectPreroll":true, "width":"100%", "height":"100%", "poster":"", "description":"", "plugins": "googleAnalytics": "trackingId":"UA-2069755-1", "events": "PLAYING_START": "alias" : "play - zee english video", "category" : "zee english video", "label" : "https://zeenews.india.com" + vurl, "metric" : "1" , "BUFFER_START": "alias" : "buffer - zee english video", "category" : "zee english video", "label" : "https://zeenews.india.com" + vurl, "metric" : "2" , "AD_BREAK_STARTED": "alias" : "break - zee english video", "category" : "zee english video", "label" : "https://zeenews.india.com" + vurl, "metric" : "3" , "VIDEO_COMPLETED": "alias" : "complete - zee english video", "category" : "zee english video", "label" : "https://zeenews.india.com" + vurl, "metric" : "4" , "dfp": "clientSide": "adTagUrl":"https://pubads.g.doubleclick.net/gampad/ads?sz=640x480&iu=/11440465/Zeenews_English_Video/Zeenews_English_Preroll&impl=s&gdfp_req=1&env=vp&output=vast&unviewed_position_start=1&url=https://zeenews.india.com"+vurl+"&description_url=https://zeenews.india.com"+vurl+"&correlator=[timestamp]", ); $(document).delegate("div[id^='play']", "click", function() //console.log($(this).attr("id")); //console.log($(this).attr("video-source")); //console.log($(this).attr("video-code")); var isyoutube = $(this).attr("video-source"); var vurl = $(this).attr("video-path"); var vid = $(this).attr("id"); $(this).hide(); var pvid = $(this).attr("newsid"); var vx = $(this).attr("id").replace('play-',''); var vC = $(this).attr("video-code"); var playDiv = "video-" + vid + "-" + pvid; if(isyoutube =='No') anvatoPlayerAPIReady(vid, vC, playDiv,vx, pvid, vurl); else onYouTubePlay(vid, vC, playDiv,vx, pvid); ); $(document).delegate("div[id^='ptop']", "click", function() var vid = $(this).attr("id").replace('ptop',''); $(this).hide(); var pvid = $(this).attr("newsid"); var vurl = $(this).attr("video-path"); //console.log($(this).attr("id") + "--" + vid); //console.log($(this).parent().children().find('#play-'+vid).attr("video-source")); //console.log($(this).parent().children().find('#play-'+vid).attr("video-code")); var isyoutube = $(this).parent().children().find('#play-'+vid).attr("video-source"); var vC = $(this).parent().children().find('#play-'+vid).attr("video-code"); var playDiv = "mvideo-play-" + vid + "-" + pvid; if(isyoutube =='No') //console.log(jwplayer($(this).attr("id")).getState()); anvatoPlayerAPIReady($(this).attr("id"), vC, playDiv, vid, pvid, vurl);
else onYouTubePlay($(this).attr("id"), vC, playDiv, vid, pvid); );
var nxti = 3; var ci = 1; var nxti_1 = 6; var nxti_2 = 9; var nxti_3 = 12; //console.log("totalPCount: " + $("#star2296277 > div.field-name-body > div.field-items > div.field-item").children('p').length); var pl = $("#star2296277 > div.field-name-body > div.field-items > div.field-item").children('p').length; var adcount = 0; var adcode = '/11440465/Zeenews_English_Web/Zeenews_English_AS_Inarticle_1_300x250'; if(pl>3) $("#star2296277 > div.field-name-body > div.field-items > div.field-item").children('p').each(function(i, n) ci = parseInt(i) + 1; t=this; var htm = $(this).html(); d = $("
"); if((i+1)%3==0 && (i+1)>2 && $(this).html().length>20 && ci
').insertAfter(t); adcount++; else if(adcount>=3) return false; ); if($.autopager==false) var use_ajax = false; /*var disqus_shortname = 'zeehindi'; var disqus_identifier; //made of post id and guid var disqus_url; //post permalink
function loadDisqus(source, identifier, url, nid)
if (window.DISQUS) //alert("if"); jQuery('
').insertAfter(source); jQuery('#disqus_thread').insertAfter(source); //append the HTML after the link //if Disqus exists, call it's reset method with new parameters DISQUS.reset( reload: true, config: function () this.page.identifier = identifier; this.page.url = url; ); else jQuery('
').insertAfter(source); disqus_identifier = identifier; //set the identifier argument disqus_url = url; //set the permalink argument
//append the Disqus embed script to HTML var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true; dsq.src = 'http://' + disqus_shortname + '.disqus.com/embed.js'; jQuery('head').append(dsq); ;*/ /*$('.disqusOn').live( "click", notify ); function notify() identifier = $(this).attr('id'); dUrl = $(this).attr('disqus-url'); source = $(this).parent(); loadDisqus(jQuery(this), identifier, dUrl); */ function loadshare(curl) history.replaceState('' ,'', curl); if(window.OBR) window.OBR.extern.researchWidget(); //console.log("loadshare Call->" + curl); //$('html head').find('title').text("main" + nxtTitle); if(_up == false) var cu_url = curl; gtag('config', 'UA-2069755-1', 'page_path': cu_url );
if(window.COMSCORE) window.COMSCORE.beacon(c1: "2", c2: "9254297"); var e = Date.now(); $.ajax( url: "/marathi/news/zscorecard.json?" + e, success: function(e) ) //console.log('ga:'+r); /*(function () var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; ga.src = ('https:' == document.location.protocol ? 'https://' : 'http://') + 'stats.g.doubleclick.net/dc.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); )();*/ //console.log("loadshare Call"); if(use_ajax==false) //console.log('getting'); var view_selector = 'div.center-section'; // + settings.view_name; + '.view-display-id-' + settings.display; var content_selector = view_selector; // + settings.content_selector; var items_selector = content_selector + ' > div.rep-block'; // + settings.items_selector; var pager_selector = 'div.next-story-block > div.view-zn-article-mc-all-2017 > div.view-content > div.clearfix'; // + settings.pager_selector; var next_selector = 'div.next-story-block > div.view-zn-article-mc-all-2017 > div.view-content > div.clearfix > a:last'; // + settings.next_selector; var auto_selector = 'div.tag-block'; var img_location = view_selector + ' > div.rep-block:last'; var img_path = '
Loading
'; //settings.img_path; //var img = '
' + img_path + '
'; var img = img_path; //$(pager_selector).hide(); //alert($(next_selector).attr('href')); var x = 0; var url = ''; var prevLoc = window.location.pathname; var circle = ""; var myTimer = ""; var interval = 30; var angle = 0; var Inverval = ""; var angle_increment = 6; var handle = $.autopager( appendTo: content_selector, content: items_selector, runscroll: maindiv, link: next_selector, autoLoad: false, page: 0, start: function() $(img_location).after(img); circle = $('.center-section').find('#green-halo'); myTimer = $('.center-section').find('#myTimer'); angle = 0; Inverval = setInterval(function () $(circle).attr("stroke-dasharray", angle + ", 20000"); //myTimer.innerHTML = parseInt(angle/360*100) + '%'; if (angle >= 360) angle = 1; angle += angle_increment; .bind(this),interval); , load: function() $('div.loading-block').remove(); clearInterval(Inverval); //$('.repeat-block > .row > div.main-rhs2296277').find('div.rhs2296277:first').clone().appendTo('.repeat-block >.row > div.main-rhs' + x); $('div.rep-block > div.main-rhs2296277 > div:first').clone().appendTo('div.rep-block > div.main-rhs' + x); $('.center-section >.row:last').before('
Next Story
'); //$(".main-rhs" + x).theiaStickySidebar(); var fb_script=document.createElement('script'); fb_script.text= "(function(d, s, id) var js, fjs = d.getElementsByTagName(s)[0];if (d.getElementById(id)) return;js = d.createElement(s); js.id = id;js.src = "https://connect.facebook.net/en_GB/sdk.js#xfbml=1&version=v2.9";fjs.parentNode.insertBefore(js, fjs);(document, 'script', 'facebook-jssdk'));"; var fmain = $(".sr"+ x); //alert(x+ "-" + url); var fdiv = '
'; //$(fb_script).appendTo(fmain); $(fdiv).appendTo(fmain); FB.XFBML.parse(); var $dfpAd = $('.center-section').children().find("#ad-"+ x); //console.log($dfpAd); /*var pl = $("#star2296277 > div.field-name-body > div.field-items > div.field-item").children('p').length; if(pl>3) xp = "#star"+x; $(xp +" > div.field-name-body > div.field-items > div.field-item").children('p').each(function(i, n) ci= parseInt(i) + 1; t=this; d = $("
ad Space
"); console.log("i: " + i + " ci:" + ci + " n:" + n); console.log(this); if(ci%3==0)d.insertAfter(t);fillElementWithAd(d, '/11440465/Zeenews_English_Web/Zeenews_English_AS_Inarticle_1_300x250', [300, 250], ); ); */ xp = "#star"+x; var pl = $(xp + " > div.field-name-body > div.field-items > div.field-item").children('p').length; if(pl>3) $(xp + " > div.field-name-body > div.field-items > div.field-item").children('p').each(function(i, n) ci= parseInt(i) + 1; t=this; d = $("
"); //console.log("i: " + i + " ci:" + ci + " n:" + n); //console.log(this); if(i==2)d.insertAfter(t);fillElementWithAd(d, '/11440465/Zeenews_English_Web/Zeenews_English_AS_Inarticle_1_300x250', [300, 250], ); /*if(pl>8) if(i==(pl-2))d.insertAfter(t);fillElementWithAd(d, '/11440465/Zeenews_English_Web/Zeenews_English_AS_Inarticle_1_300x250', [300, 250], ); */
);
//var $dfpAdrhs = $('.main-rhs' + x).children().find('.adATF').empty().attr("id", "ad-300-" + x); //$('.content-area > .main-article > .row > .main-rhs'+x).find('#ad-300-' + x); //var $dfpAdrhs2 = $('.main-rhs' + x).children().find('.adBTF').empty().attr("id", "ad-300-2-" + x);//$('.content-area > .main-article > .row > .main-rhs'+x).find('#ad-300-2-' + x); //var $dfpMiddleAd = $('.content-area > .main-article > .row').find('#ar'+x).find('#ad-middle-' + x).empty(); //fillElementWithAd($dfpAdrhs, '/11440465/Zeenews_English_Web/Zeenews_English_AS_ATF_300x250', [[300, 250], [300, 600]], ); //fillElementWithAd($dfpAdrhs2, '/11440465/Zeenews_English_Web/Zeenews_English_AS_BTF_1_300x250', [300, 250], ); //fillElementWithAd($dfpMiddleAd, '/11440465/Zeenews_Hindi_Article_Middle_300x250_BTF', [300, 250], ); var instagram_script=document.createElement('script'); instagram_script.defer='defer'; instagram_script.async='async'; instagram_script.src="https://platform.instagram.com/en_US/embeds.js";
/*var outbrain_script=document.createElement('script'); outbrain_script.type='text/javascript'; outbrain_script.async='async'; outbrain_script.src='//widgets.outbrain.com/outbrain.js'; var Omain = $("#outbrain-"+ x); //alert(Omain + "--" + $(Omain).length);
$(Omain).after(outbrain_script); var rhs = $('.main-article > .row > div.article-right-part > div.rhs2296277:first').clone(); $(rhs).find('.ad-one').attr("id", "ad-300-" + x).empty(); $(rhs).find('.ad-two').attr("id", "ad-300-2-" + x).empty(); //$('.main-article > .row > div.article-right-part > div.rhs2296277:first').clone().appendTo('.main-article > .row > div.main-rhs' + x); $(rhs).appendTo('.main-article > .row > div.main-rhs' + x); */
setTimeout(function()
var twit = $("div.field-name-body").find('blockquote[class^="twitter"]').length; var insta = $("div.field-name-body").find('blockquote[class^="instagram"]').length; if(twit==0)twit = ($("div.field-name-body").find('twitterwidget[class^="twitter"]').length); if(twit>0) if (typeof (twttr) != 'undefined') twttr.widgets.load();
else $.getScript('https://platform.twitter.com/widgets.js'); //$(twit).addClass('tfmargin'); if(insta>0) $('.content > .left-block:last').after(instagram_script); //$(insta).addClass('tfmargin'); window.instgrm.Embeds.process(); , 1500); ); /*$("#loadmore").click(function() x=$(next_selector).attr('id'); var url = $(next_selector).attr('href'); disqus_identifier = 'ZNH' + x; disqus_url = url; handle.autopager('load'); history.pushState('' ,'', url); setTimeout(function() //twttr.widgets.load(); //loadDisqus(jQuery(this), disqus_identifier, disqus_url); , 6000); );*/
/*$("button[id^='mf']").live("click", disqusToggle); function disqusToggle() console.log("Main id: " + $(this).attr('id')); */ $(document).delegate("button[id^='mf']", "click", function() fbcontainer = ''; fbid = '#' + $(this).attr('id'); var sr = fbid.replace("#mf", ".sr");
//console.log("Main id: " + $(this).attr('id') + "Goodbye!jQuery 1.4.3+" + sr); $(fbid).parent().children(sr).toggle(); fbcontainer = $(fbid).parent().children(sr).children(".fb-comments").attr("id"); //console.log(fbcontainer); //var commentsContainer = document.getElementById(fbcontainer); //commentsContainer.innerHTML = '';
); /************Player Code ***********/ var title, imageUrl, description, author, shortName, identifier, timestamp, summary, newsID, nextnews; var previousScroll = 0; //console.log("prevLoc" + prevLoc); $(window).scroll(function() var last = $(auto_selector).filter(':last'); var lastHeight = last.offset().top ; //st = $(layout).scrollTop(); //console.log("st:" + st); var currentScroll = $(this).scrollTop(); if (currentScroll > previousScroll) _up = false; else _up = true; previousScroll = currentScroll; //console.log("_up" + _up);
var cutoff = $(window).scrollTop() + 64; //console.log(cutoff + "**"); $('div[id^="row"]').each(function() //console.log("article" + $(this).children().find('.left-block').attr("id") + $(this).children().find('.left-block').attr('data-url')); if($(this).offset().top + $(this).height() > cutoff) //console.log("$$" + $(this).children().find('.left-block').attr('data-url')); if(prevLoc != $(this).children().find('.left-block').attr('data-url')) prevLoc = $(this).children().find('.left-block').attr('data-url'); $('html head').find('title').text($(this).children().find('.left-block').attr('data-title')); $('meta[name=description]').attr("content",$(this).children().find('.left-block').attr('data-summary')); $('meta[name=keywords]').attr("content",$(this).children().find('.left-block').attr('data-keyword')); $('meta[name=news_keywords]').attr("content",$(this).children().find('.left-block').attr('data-keyword'));
pSUPERFLY.virtualPage(prevLoc,$(this).children().find('.left-block').attr('data-title')); //console.log("Summary: " + $(this).children().find('.left-block').attr('data-summary')); //console.log("Keyword: " + $(this).children().find('.left-block').attr('data-keyword')); //history.pushState('' ,'', prevLoc); loadshare(prevLoc); return false; // stops the iteration after the first one on screen ); if(lastHeight + last.height() < $(document).scrollTop() + $(window).height()) //console.log("**get"); url = $(next_selector).attr('href'); x=$(next_selector).attr('id'); //console.log("x:" + x); //handle.autopager('load'); /*setTimeout(function() //twttr.widgets.load(); //loadDisqus(jQuery(this), disqus_identifier, disqus_url); , 6000);*/ //lastoff = last.offset(); //console.log("**" + lastoff + "**"); ); //$( ".content-area" ).click(function(event) // console.log(event.target.nodeName); //); /*$( ".comment-button" ).live("click", disqusToggle); function disqusToggle() var id = $(this).attr("id"); $("#disqus_thread1" + id).toggle(); ;*/ //$(".main-rhs2296277").theiaStickySidebar(); var prev_content_height = $(content_selector).height(); //$(function() var layout = $(content_selector); var st = 0; ///); ); /* ;*/ )(jQuery); (function() var reset_scroll;
$(function() return $("[data-sticky_column]").stick_in_parent( parent: "[data-sticky_parent]" ); );
reset_scroll = function() var scroller; scroller = $("body,html"); scroller.stop(true); if ($(window).scrollTop() !== 0) scroller.animate( scrollTop: 0 , "fast"); return scroller; ;
window.scroll_it = function() var max; max = $(document).height() - $(window).height(); return reset_scroll().animate( scrollTop: max , max * 3).delay(100).animate( scrollTop: 0 , max * 3); ;
window.scroll_it_wobble = function() var max, third; max = $(document).height() - $(window).height(); third = Math.floor(max / 3); return reset_scroll().animate( scrollTop: third * 2 , max * 3).delay(100).animate( scrollTop: third , max * 3).delay(100).animate( scrollTop: max , max * 3).delay(100).animate( scrollTop: 0 , max * 3); ;
$(window).on("resize", (function(_this) return function(e) return $(document.body).trigger("sticky_kit:recalc"); ; )(this));
).call(this);
bodyoverflow:hidden .article-tag-linkmargin:5px 0px;padding:0px;font-size:14px;font-weight:700;color:#e21727;text-transform:uppercase; .article-tag-link acolor:#e21727; .article-widgetparafont-size:38px;color:#191c20;line-height:normal;margin-bottom:10px; .article-widgetpara afont-size:38px;color:#191c20;line-height:normal; .widget-image-blockposition:relative;height:270px;overflow:hidden; .stry_ldmorewidth:100%;position:absolute;bottom:0px;text-align:center;display:block; .stry_fdrbottom:0;background:linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 100%) repeat scroll 0 0 rgba(0, 0, 0, 0);height:200px;position:absolute;width:100%; .stry_shwmrebackground:#2089ff;color:#FFF;cursor:pointer;padding:10px 20px;text-align:center;position:relative;display:inline-block;left:50%;margin-left:-83px;border-top-left-radius:5px;border-top-right-radius: 5px; .stry_shwmre:hoverbackground:#1581f9 .wid-lineborder-bottom:1px solid #2089ff; position:absolute;bottom:0;width:100%; .widget-vspadding-left:inherit;padding-right:inherit; .white-txtcolor:#FFF !important; .article-head-block pfont-size:18px;color:#444;line-height:26px .play-bwidth:70px;height:70px;top:50%;left:50%;position:absolute;z-index:1009;cursor:pointer;margin-left:-35px;margin-top:-35px;bottom:inherit;right:inherit;
function on_load_google_ad() googletag.cmd.push(function() googletag.defineSlot('/11440465/Zeenews_English_Web/Zeenews_English_AS_ATF_970x90', [[970, 90], [970, 250], [970, 66], [728, 90]], 'div-gpt-ad-1504525832454-0').addService(googletag.pubads().setTargeting('category', ["Economy","Indian Railways","Railway Minister Piyush Goyal","Coronavirus","COVID-19"])); googletag.defineSlot('/11440465/Zeenews_English_Web/Zeenews_English_AS_ATF_300x250', [[300, 600], [300, 250]], 'div-article-rhs-atf-ad').addService(googletag.pubads().setTargeting('category', ["Economy","Indian Railways","Railway Minister Piyush Goyal","Coronavirus","COVID-19"])); googletag.defineSlot('/11440465/Zeenews_English_Web/Zeenews_English_AS_BTF_1_300x250', [300, 250], 'div-gpt-ad-1504525832454-2').addService(googletag.pubads().setTargeting('category', ["Economy","Indian Railways","Railway Minister Piyush Goyal","Coronavirus","COVID-19"]));googletag.defineSlot('/11440465/Zeenews_English_Web/Zeenews_English_AS_OOP_1x1', [1, 1], 'div-gpt-ad-1504526235866-6').addService(googletag.pubads().setTargeting('category', ["Economy","Indian Railways","Railway Minister Piyush Goyal","Coronavirus","COVID-19"])); googletag.pubads().disableInitialLoad(); googletag.pubads().enableAsyncRendering(); googletag.pubads().set('page_url','https://zeenews.india.com/'); googletag.pubads().enableSingleRequest(); googletag.pubads().collapseEmptyDivs(); googletag.enableServices(); ); googletag.cmd.push(function() googletag.display('div-article-rhs-atf-ad'); ); googletag.cmd.push(function() googletag.display('div-gpt-ad-1504525832454-0'); ); googletag.cmd.push(function() googletag.display('div-gpt-ad-1504525832454-2'); ); googletag.cmd.push(function() googletag.display('div-gpt-ad-1504526235866-6'); );
on_load_google_ad(); function sendAdserverRequest() try if (pbjs && pbjs.adserverRequestSent) return; googletag.cmd.push(function() googletag.pubads().refresh(); ); catch (e)
googletag.cmd.push(function() googletag.pubads().refresh(); ); setTimeout(function() sendAdserverRequest(); , 5000);
function on_load_fb_twitter_widgets() (function(d, s, id) var js, fjs = d.getElementsByTagName(s)[0]; if (d.getElementById(id)) return; js = d.createElement(s); js.id = id; js.src = "https://connect.facebook.net/en_US/sdk.js#xfbml=1&version=v2.9"; fjs.parentNode.insertBefore(js, fjs); (document, 'script', 'facebook-jssdk'));
window.twttr = (function(d, s, id) (document, "script", "twitter-wjs"));
//setTimeout(function() on_load_google_ad(); , 5000); setTimeout(function() on_load_fb_twitter_widgets(); , 5000); Source link
0 notes
vsplusonline · 5 years ago
Text
Coronavirus: 24 घंटे में नए मामलों का टूटा रिकॉर्ड, सामने आए 4200 से ज्यादा कोरोना के नए मरीज
New Post has been published on https://apzweb.com/coronavirus-24-%e0%a4%98%e0%a4%82%e0%a4%9f%e0%a5%87-%e0%a4%ae%e0%a5%87%e0%a4%82-%e0%a4%a8%e0%a4%8f-%e0%a4%ae%e0%a4%be%e0%a4%ae%e0%a4%b2%e0%a5%8b%e0%a4%82-%e0%a4%95%e0%a4%be-%e0%a4%9f%e0%a5%82/
Coronavirus: 24 घंटे में नए मामलों का टूटा रिकॉर्ड, सामने आए 4200 से ज्यादा कोरोना के नए मरीज
नई दिल्ली: भारत में कोरोना वायरस (Coronavirus) महामारी के चलते 2200 से अधिक मौतों के साथ ही संक्रमित मरीजों की संख्या 67 हजार के पार पहुंच गई है. केंद्रीय स्वास्थ्य एवं परिवार कल्याण मंत्रालय द्वारा जारी आंकड़ों के मुताबिक पिछले 24 घंटे में कोरोना के सबसे ज्यादा 4 हजार 213 नए मरीज सामने आए हैं जबकि 97 लोगों की मौत हो गई है. इससे पहले 24 घंटे में सबसे ज्यादा नए मामलों की संख्या 3900 थी. 
आंकड़ों के मुताबिक देश में कोरोना पीड़ितों की संख्या 67 हजार 152 हो गई है. इनमें से 44 हजार 29 लोग अभी भी कोविड-19 संक्रमण से ग्रस्त हैं, जबकि उपचार के बाद पूर्ण रूप से स्वस्थ हुए कुल 20 हजार 917 लोगों को अस्पताल से छुट्टी दे दी गई है. वहीं मरने वालों का कुल आंकड़ा 2206 है. 
ये भी पढ़ें- कोरोना: आज PM मोदी करेंगे मुख्यमंत्रियों के साथ बैठक, इन 8 बातों पर हो सकती है चर्चा
एक ओर जहां महाराष्ट्र में कोविड-19 संक्रमण के सबसे अधिक मामले सामने आए हैं, वहीं अब अंडमान निकोबार, अरुणाचल प्रदेश, गोवा, मणिपुर और मिजोरम में महामारी के कोई मामले नहीं हैं. 
महारष्ट्र में अब तक 22 हजार 171 लोगों के कोरोना से संक्रमित होने की पुष्टि हुई है. जबकि 4 हजार के करीब मरीज महामारी से पृरी तरह स्वस्थ हो गए हैं. हालांकि, 832 लोगों की मृत्यु के साथ ही राज्य में मौतों के आंकड़ों में भी लगातार बढ़ोत्तरी देखी जा रही है.
दूसरी ओर गुजरात मे भी संक्रमण चिंता का विषय बना हुआ है. यहां 8 हजार 194 लोग कोरोना से प्रभावित हैं, जिनमें से 2 हजार 11 मरीजों को स्वस्थ होने के बाद डिस्चार्ज किया जा चुका है. राज्य में मौत की संख्या 493 हो गई है. 
राष्ट्रीय राजधानी दिल्ली में सोमवार सुबह तक 6 हजार 924 लोग कोविड-19 संक्रमण से ग्रसित पाए गए हैं. जबकि मरने वालों की संख्या 73 हो गई है.
ये भी पढ़ें- आगरा में तेजी से बढ़ रहे हैं कोरोना पॉजिटिव मरीज, CMO और अपर निदेशक का तबादला
इधर, कोरोना संकट के बीच 5वीं बार प्रधानमंत्री नरेंद्र मोदी राज्यों के मुख्यमंत्रियों से ‘मन की बात’ करने जा रहे हैं. आज दोपहर 3 बजे वीडियो कॉन्फ्रेंसिंग के जरिए बातचीत होगी. जानकारों की मानें तो इस बैठक में 17 मई के बाद की रणनीति और लॉकडाउन में दिए गए छूट के असर पर चर्चा की जा सकती है. आने वाले समय में लॉकडाउन को लेकर इस बैठक के बाद अहम फैसले लिए जा सकते हैं. 
लाइव टीवी 
(function(d, s, id) var js, fjs = d.getElementsByTagName(s)[0]; if (d.getElementById(id)) return; js = d.createElement(s); js.id = id; js.src = "https://connect.facebook.net/en_US/sdk.js#xfbml=1&version=v2.9"; fjs.parentNode.insertBefore(js, fjs); (document, 'script', 'facebook-jssdk')); (function ($) /*Drupal.behaviors.pagerload = attach: function (context, settings) */ $(document).ready(function() var nextpath = "https://zeenews.india.com/"; var pg = 1; var nextload= true; var string = "https://zeenews.india.com/";var ice = 0; var load = '
लोडिंग
'; var cat = "?cat=17";
/*************************************/ /*$(window).scroll(function() var last = $('div.listing').filter('div:last'); var lastHeight = last.offset().top ; if(lastHeight + last.height() < $(document).scrollTop() + $(window).height() && nextload==true) //console.log("**get data"); var circle = "https://zeenews.india.com/"; var myTimer = "https://zeenews.india.com/"; var interval = 30; var angle = 0; var Inverval = "https://zeenews.india.com/"; var angle_increment = 6; $.ajax( url: "/hindi/news/article-list.php" + cat + nextpath, async: true, dataType: "json", beforeSend: function() $('div.listing').append(load); nextload=false; //console.log("/micros/article-list.php" + cat + nextpath); ice = 1; circle = $('.center-section').find('#green-halo'); myTimer = $('.center-section').find('#myTimer'); angle = 0; Inverval = setInterval(function () $(circle).attr("stroke-dasharray", angle + ", 20000"); //myTimer.innerHTML = parseInt(angle/360*100) + '%'; if (angle >= 360) angle = 1; angle += angle_increment; .bind(this),interval); , success: function(data) nextload=false; //console.log("success"); //console.log(data); $.each(data['rows'], function(key,val) //console.log("data found"); ice = 2; if(val['id']!='679452') string = '
'+val["tag"]+'
' + val["title"] + '
' + val["summary"] + '
पूरा पढ़ें
'; $('div.listing').append(string); ); , error:function(xhr) //console.log("Error"); //console.log("An error occured: " + xhr.status + "https://zeenews.india.com/" + xhr.statusText); nextload=false; , complete: function() $('div.listing').find(".loading-block").remove();; pg +=1; //console.log("mod" + ice%2); nextpath = '&page=' + pg; //console.log("request complete" + nextpath); cat = "?cat=17"; //console.log(nextpath); nextload=(ice%2==0)?true:false; ); setTimeout(function() //twttr.widgets.load(); //loadDisqus(jQuery(this), disqus_identifier, disqus_url); , 6000); //lastoff = last.offset(); //console.log("**" + lastoff + "**"); );*/ /*$.get( "/hindi/zmapp/mobileapi/sections.php?sectionid=17,18,19,23,21,22,25,20", function( data ) $( "#sub-menu" ).html( data ); alert( "Load was performed." ); );*/ function fillElementWithAd($el, slotCode, size, targeting) if (typeof targeting === 'undefined') targeting = ; else if ( Object.prototype.toString.call( targeting ) !== '[object Object]' ) targeting = ; var elId = $el.attr('id'); console.log("elId:" + elId); googletag.cmd.push(function() var slot = googletag.defineSlot(slotCode, size, elId); for (var t in targeting) slot.setTargeting(t, targeting[t]); slot.addService(googletag.pubads()); googletag.display(elId); //googletag.pubads().refresh([slot]); ); var maindiv = false; var dis = 0; var fbcontainer = "https://zeenews.india.com/"; var fbid = "https://zeenews.india.com/"; var ci = 1; var adcount = 0; var pl = $("#star679452 > div.field-name-body > div.field-items > div.field-item").children('p').length; var adcode = inarticle1; if(pl>3) $("#star679452 > div.field-name-body > div.field-items > div.field-item").children('p').each(function(i, n) ci = parseInt(i) + 1; t=this; var htm = $(this).html(); d = $("
"); if((i+1)%3==0 && (i+1)>2 && $(this).html().length>20 && ci
').insertAfter(t); adcount++; else if(adcount>=3) return false; ); var fb_script=document.createElement('script'); fb_script.text= "(function(d, s, id) var js, fjs = d.getElementsByTagName(s)[0];if (d.getElementById(id)) return;js = d.createElement(s); js.id = id;js.src = "https://connect.facebook.net/en_GB/sdk.js#xfbml=1&version=v2.9";fjs.parentNode.insertBefore(js, fjs);(document, 'script', 'facebook-jssdk'));"; var fmain = $(".sr679452"); //alert(x+ "-" + url); var fdiv = '
'; //console.log(fdiv); //$(fb_script).appendTo(fmain); $(fdiv).appendTo(fmain);
$(document).delegate("button[id^='mf']", "click", function() fbcontainer = "https://zeenews.india.com/"; fbid = '#' + $(this).attr('id'); var sr = fbid.replace("#mf", ".sr");
//console.log("Main id: " + $(this).attr('id') + "Goodbye!jQuery 1.4.3+" + sr); $(fbid).parent().children(sr).toggle(); fbcontainer = $(fbid).parent().children(sr).children(".fb-comments").attr("id");
);
function onPlayerStateChange(event) var ing, fid; console.log(event + "---player"); $('iframe[id*="video-"]').each(function() _v = $(this).attr('id'); console.log("_v: " + _v); if(_v != event) console.log("condition match"); ing = new YT.get(_v); if(ing.getPlayerState()=='1') ing.pauseVideo(); ); $('div[id*="video-"]').each(function() _v = $(this).attr('id'); console.log("_v: " + _v + " event: " + event); if(_v != event) //jwplayer(_v).play(false); ); function onYouTubePlay(vid, code, playDiv,vx, pvid) typeof(YT.Player) == 'undefined') var tag = document.createElement('script'); tag.src = "https://www.youtube.com/iframe_api"; var firstScriptTag = document.getElementsByTagName('script')[0]; firstScriptTag.parentNode.insertBefore(tag, firstScriptTag); window.onYouTubePlayerAPIReady = function() onYouTubePlayer(vid, code, playDiv,vx, pvid); ; elseonYouTubePlayer(vid, code, playDiv,vx, pvid); function onYouTubePlayer(vid, code, playDiv,vx, pvid) //console.log(playDiv + "Get Youtue " + vid); //$("#"+vid).find(".playvideo-"+ vx).hide(); var player = new YT.Player(playDiv , height: '450', width: '100%', videoId:code, playerVars: 'autoplay': 1, 'showinfo': 1, 'controls': 1 , events: 'onStateChange': function(event) onPlayerStateChange(event.target.a.id); ); $("#video-"+vid).show(); function anvatoPlayerAPIReady(vid, code, playDiv,vx, pvid,vurl) var rtitle = "zee hindi video"; if(vurl.indexOf("zee-hindustan/")>0) rtitle = "zee hindustan video"; else if(vurl.indexOf("madhya-pradesh-chhattisgarh/")>0) rtitle = "zee madhya pradesh chhattisgarh video"; else if(vurl.indexOf("up-uttarakhand/")>0) rtitle = "zee up uttarakhand video"; else if(vurl.indexOf("bihar-jharkhand/")>0) rtitle = "zee bihar jharkhand video"; else if(vurl.indexOf("rajasthan/")>0) rtitle = "zee rajasthan video"; else if(vurl.indexOf("zeephh/")>0) rtitle = "zeephh video"; else if(vurl.indexOf("zeesalaam/")>0) rtitle = "zeesalaam video"; else if(vurl.indexOf("zeeodisha")>0) rtitle = "zeeodisha"; AnvatoPlayer(playDiv).init( "url": code, "title1":"https://zeenews.india.com/", "autoplay":true, "share":false, "pauseOnClick":true, "expectPreroll":true, "width":"100%", "height":"100%", "poster":"https://zeenews.india.com/", "description":"https://zeenews.india.com/", "plugins": "googleAnalytics": "trackingId":"UA-2069755-1", "events": "PLAYING_START": "alias" : "play - " + rtitle, "category" : rtitle, "label" : vurl, "metric" : "1" , "BUFFER_START": "alias" : "buffer - " + rtitle, "category" : rtitle, "label" : vurl, "metric" : "2" , "AD_BREAK_STARTED": "alias" : "break - " + rtitle, "category" : rtitle, "label" : vurl, "metric" : "3" , "VIDEO_COMPLETED": "alias" : "complete - " + rtitle, "category" : rtitle, "label" : vurl, "metric" : "4" , "dfp": "clientSide": "adTagUrl":preroll, );
$(document).delegate("div[id^='play']", "click", function() //console.log($(this).attr("id")); //console.log($(this).attr("video-source")); //console.log($(this).attr("video-code")); var isyoutube = $(this).attr("video-source"); var vurl = $(this).attr("video-path"); var vid = $(this).attr("id"); $(this).hide(); var pvid = $(this).attr("newsid"); var vx = $(this).attr("id").replace('play-',"https://zeenews.india.com/"); var vC = $(this).attr("video-code"); var playDiv = "video-" + vid + "-" + pvid; if(isyoutube =='No') anvatoPlayerAPIReady(vid, vC, playDiv,vx, pvid, vurl); else onYouTubePlay(vid, vC, playDiv,vx, pvid); ); $(document).delegate("div[id^='ptop']", "click", function() var vid = $(this).attr("id").replace('ptop',"https://zeenews.india.com/"); $(this).hide(); var pvid = $(this).attr("newsid"); //console.log($(this).attr("id") + "--" + vid); //console.log($(this).parent().children().find('#play-'+vid).attr("video-source")); //console.log($(this).parent().children().find('#play-'+vid).attr("video-code")); var isyoutube = $(this).parent().children().find('#play-'+vid).attr("video-source"); var vC = $(this).parent().children().find('#play-'+vid).attr("video-code"); var vurl = $(this).parent().children().find('#play-'+vid).attr("video-path"); var playDiv = "mvideo-play-" + vid + "-" + pvid; if(isyoutube =='No') //console.log(jwplayer($(this).attr("id")).getState()); anvatoPlayerAPIReady($(this).attr("id"), vC, playDiv, vid, pvid,vurl);
else onYouTubePlay($(this).attr("id"), vC, playDiv, vid, pvid); );
if($.autopager==false) var use_ajax = false;
function loadshare(curl) history.replaceState("https://zeenews.india.com/" ,"https://zeenews.india.com/", curl); if(window.OBR) window.OBR.extern.researchWidget(); //console.log("loadshare Call->" + curl); //$('html head').find('title').text("main" + nxtTitle); if(_up == false) var cu_url = curl; gtag('config', 'UA-2069755-1', 'page_path': cu_url );
if(window.COMSCORE) window.COMSCORE.beacon(c1: "2", c2: "9254297"); var e = Date.now(); $.ajax( url: "/marathi/news/zscorecard.json?" + e, success: function(e) ) if(use_ajax==false) //console.log('getting'); var view_selector = 'div.center-section'; // + settings.view_name; + '.view-display-id-' + settings.display; var content_selector = view_selector; // + settings.content_selector; var items_selector = content_selector + ' > div.rep-block'; // + settings.items_selector; var pager_selector = 'div.next-story-block > div.view-zhi-article-mc-all > div.view-content > div.clearfix'; // + settings.pager_selector; var next_selector = 'div.next-story-block > div.view-zhi-article-mc-all > div.view-content > div.clearfix > a:last'; // + settings.next_selector; var auto_selector = 'div.tag-block'; var img_location = view_selector + ' > div.rep-block:last'; var img_path = '
लोडिंग
'; //settings.img_path; //var img = '
' + img_path + '
'; var img = img_path; //$(pager_selector).hide(); //alert($(next_selector).attr('href')); var x = 0; var url = "https://zeenews.india.com/"; var prevLoc = window.location.pathname; var circle = "https://zeenews.india.com/"; var myTimer = "https://zeenews.india.com/"; var interval = 30; var angle = 0; var Inverval = "https://zeenews.india.com/"; var angle_increment = 6; var handle = $.autopager( appendTo: content_selector, content: items_selector, runscroll: maindiv, link: next_selector, autoLoad: false, page: 0, start: function() $(img_location).after(img); circle = $('.center-section').find('#green-halo'); myTimer = $('.center-section').find('#myTimer'); angle = 0; Inverval = setInterval(function () $(circle).attr("stroke-dasharray", angle + ", 20000"); //myTimer.innerHTML = parseInt(angle/360*100) + '%'; if (angle >= 360) angle = 1; angle += angle_increment; .bind(this),interval); , load: function() $('div.loading-block').remove(); clearInterval(Inverval); //$('.repeat-block > .row > div.main-rhs394331').find('div.rhs394331:first').clone().appendTo('.repeat-block >.row > div.main-rhs' + x); $('div.rep-block > div.main-rhs394331 > div:first').clone().appendTo('div.rep-block > div.main-rhs' + x); $('.center-section >.row:last').before('
अगली खबर
'); $(".main-rhs" + x).theiaStickySidebar(); var fb_script=document.createElement('script'); fb_script.text= "(function(d, s, id) var js, fjs = d.getElementsByTagName(s)[0];if (d.getElementById(id)) return;js = d.createElement(s); js.id = id;js.src = "https://connect.facebook.net/en_GB/sdk.js#xfbml=1&version=v2.9";fjs.parentNode.insertBefore(js, fjs);(document, 'script', 'facebook-jssdk'));"; var fmain = $(".sr"+ x); //alert(x+ "-" + url); var fdiv = '
'; //$(fb_script).appendTo(fmain); $(fdiv).appendTo(fmain); FB.XFBML.parse();
xp = "#star"+x;ci=0; var pl = $(xp + " > div.field-name-body > div.field-items > div.field-item").children('p').length; if(pl>3) $(xp + " > div.field-name-body > div.field-items > div.field-item").children('p').each(function(i, n) ci= parseInt(i) + 1; t=this; d = $("
"); console.log("i: " + i + " ci:" + ci + " n:" + n); console.log(this); if(i==2)d.insertAfter(t);fillElementWithAd(d, inarticle1, [300, 250], ); /*if(pl>8) if(i==(pl-2))d.insertAfter(t);fillElementWithAd(d, '/11440465/Zeenews_Hindi_Article_Inarticle_300x250_BTF', [300, 250], ); */ );
//var $dfpAd = $('.center-section').children().find("#ad-"+ x); //console.log($dfpAd); //fillElementWithAd($dfpAd, '/11440465/Zeenews_Hindi_Article_970x90_BTF', [[728, 90], [970, 90]], ); var $dfpAdrhs = $('.main-rhs' + x).children().find('.adATF').empty().attr("id", "ad-300-" + x); //$('.content-area > .main-article > .row > .main-rhs'+x).find('#ad-300-' + x); var $dfpAdrhs2 = $('.main-rhs' + x).children().find('.adBTF').empty().attr("id", "ad-300-2-" + x);//$('.content-area > .main-article > .row > .main-rhs'+x).find('#ad-300-2-' + x); //var $dfpMiddleAd = $('.content-area > .main-article > .row').find('#ar'+x).find('#ad-middle-' + x).empty(); //fillElementWithAd($dfpAdrhs, '/11440465/Zeenews_Hindi_Web/Zeenews_Hindi_AS_ATF_300x250', [[300, 250], [300, 600]], ); //fillElementWithAd($dfpAdrhs2, '/11440465/Zeenews_Hindi_Web/Zeenews_Hindi_AS_BTF_1_300x250', [300, 250], ); //fillElementWithAd($dfpMiddleAd, '/11440465/Zeenews_Hindi_Article_Middle_300x250_BTF', [300, 250], ); var instagram_script=document.createElement('script'); instagram_script.defer='defer'; instagram_script.async='async'; instagram_script.src="https://platform.instagram.com/en_US/embeds.js";
/*var outbrain_script=document.createElement('script'); outbrain_script.type='text/javascript'; outbrain_script.async='async'; outbrain_script.src='https://widgets.outbrain.com/outbrain.js'; var Omain = $("#outbrain-"+ x); //alert(Omain + "--" + $(Omain).length);
$(Omain).after(outbrain_script); var rhs = $('.main-article > .row > div.article-right-part > div.rhs394331:first').clone(); $(rhs).find('.ad-one').attr("id", "ad-300-" + x).empty(); $(rhs).find('.ad-two').attr("id", "ad-300-2-" + x).empty(); //$('.main-article > .row > div.article-right-part > div.rhs394331:first').clone().appendTo('.main-article > .row > div.main-rhs' + x); $(rhs).appendTo('.main-article > .row > div.main-rhs' + x); */
setTimeout(function()
var twit = $("div.field-name-body").find('blockquote[class^="twitter"]').length; var insta = $("div.field-name-body").find('blockquote[class^="instagram"]').length; if(twit==0)twit = ($("div.field-name-body").find('twitterwidget[class^="twitter"]').length); if(twit>0) if (typeof (twttr) != 'undefined') twttr.widgets.load();
else $.getScript('https://platform.twitter.com/widgets.js'); //$(twit).addClass('tfmargin'); if(insta>0) $('.content > .left-block:last').after(instagram_script); //$(insta).addClass('tfmargin'); window.instgrm.Embeds.process(); , 1500); ); /*$("#loadmore").click(function() x=$(next_selector).attr('id'); var url = $(next_selector).attr('href'); disqus_identifier = 'ZNH' + x; disqus_url = url; handle.autopager('load'); history.pushState("https://zeenews.india.com/" ,"https://zeenews.india.com/", url); setTimeout(function() //twttr.widgets.load(); //loadDisqus(jQuery(this), disqus_identifier, disqus_url); , 6000); );*/
/*$("button[id^='mf']").live("click", disqusToggle); function disqusToggle() console.log("Main id: " + $(this).attr('id')); */
var title, imageUrl, description, author, shortName, identifier, timestamp, summary, newsID, nextnews; var previousScroll = 0; //console.log("prevLoc" + prevLoc); $(window).scroll(function() var last = $(auto_selector).filter(':last'); var lastHeight = last.offset().top ; //st = $(layout).scrollTop(); //console.log("st:" + st); var currentScroll = $(this).scrollTop(); if (currentScroll > previousScroll) _up = false; else _up = true; previousScroll = currentScroll; //console.log("_up" + _up);
var cutoff = $(window).scrollTop() + 64; //console.log(cutoff + "**"); $('div[id^="row"]').each(function() //console.log("article" + $(this).children().find('.left-block').attr("id") + $(this).children().find('.left-block').attr('data-url')); if($(this).offset().top + $(this).height() > cutoff) //console.log("$$" + $(this).children().find('.left-block').attr('data-url')); if(prevLoc != $(this).children().find('.left-block').attr('data-url')) prevLoc = $(this).children().find('.left-block').attr('data-url'); $('html head').find('title').text($(this).children().find('.left-block').attr('data-title')); pSUPERFLY.virtualPage(prevLoc,$(this).children().find('.left-block').attr('data-title'));
//console.log(prevLoc); //history.pushState("https://zeenews.india.com/" ,"https://zeenews.india.com/", prevLoc); loadshare(prevLoc); return false; // stops the iteration after the first one on screen ); if(lastHeight + last.height() < $(document).scrollTop() + $(window).height()) //console.log("**get"); url = $(next_selector).attr('href'); x=$(next_selector).attr('id'); ////console.log("x:" + x); //handle.autopager('load'); /*setTimeout(function() //twttr.widgets.load(); //loadDisqus(jQuery(this), disqus_identifier, disqus_url); , 6000);*/ //lastoff = last.offset(); //console.log("**" + lastoff + "**"); ); //$( ".content-area" ).click(function(event) // console.log(event.target.nodeName); //); /*$( ".comment-button" ).live("click", disqusToggle); function disqusToggle() var id = $(this).attr("id"); $("#disqus_thread1" + id).toggle(); ;*/ $(".main-rhs394331").theiaStickySidebar(); var prev_content_height = $(content_selector).height(); //$(function() var layout = $(content_selector); var st = 0; ///); ); /* ;*/ )(jQuery); Source link
0 notes
bonniejstarks · 5 years ago
Text
‘Cosmo’ girl Kiara Advani dons a denim jumpsuit with a plunging neckline – See cover pic | People News
Kiara Advani
Well, amid the 21-day lockdown to fight the deadly novel coronavirus, the stunner didn’t forget to send out the message to her fans in the photo caption to ‘stay home, stay safe’. 
(function(d, s, id) { var js, fjs = d.getElementsByTagName(s)[0]; if (d.getElementById(id)) return; js = d.createElement(s); js.id = id; js.src = "https://connect.facebook.net/en_US/sdk.js#xfbml=1&version=v2.9"; fjs.parentNode.insertBefore(js, fjs); }(document, 'script', 'facebook-jssdk')); (function ($) { /*Drupal.behaviors.pagerload = { attach: function (context, settings) {*/ $(document).ready(function(){ $(".sidebar").theiaStickySidebar(); /*$.get( "/hindi/zmapp/mobileapi/sections.php?sectionid=17,18,19,23,21,22,25,20", function( data ) { $( "#sub-menu" ).html( data ); alert( "Load was performed." ); });*/ var nextpath = ''; var pg = 1; var nextload= true; var string = '';var ice = 0; var playerFly; var load = '
Loading
’; var cat = “?cat=120081”; //$(“.main-rhs2272246”).theiaStickySidebar(); var instagram_script=document.createElement(‘script’); instagram_script.defer='defer’; instagram_script.async='async’; instagram_script.src=“https://platform.instagram.com/en_US/embeds.js”; document.head.appendChild(instagram_script); /*************************************/ /*$(window).scroll(function(){ var last = $('div.listing’).filter('div:last’); var lastHeight = last.offset().top ; if(lastHeight + last.height() = 360) { angle = 1; } angle += angle_increment; }.bind(this),interval); }, success: function(data){ nextload=false; //console.log(“success”); //console.log(data); $.each(data['rows’], function(key,val){ //console.log(“data found”); ice = 2; if(val['id’]!='2272246’){ string = ’
’+val[“tag”]+’
’ + val[“title”] + ’
’ + val[“summary”] + ’
Read Full Article
’; $('div.listing’).append(string); } }); }, error:function(xhr){ //console.log(“Error”); //console.log(“An error occured: ” + xhr.status + “ ” + xhr.statusText); nextload=false; }, complete: function(){ $('div.listing’).find(“.loading-block”).remove();; pg +=1; //console.log(“mod” + ice%2); nextpath = ’&page=’ + pg; //console.log(“request complete” + nextpath); cat = “?cat=120081”; //console.log(nextpath); nextload=(ice%2==0)?true:false; } });
} //lastoff = last.offset(); //console.log(“**” + lastoff + “**”); });*/ var maindiv = false; var dis = 0; var fbcontainer = “; var fbid = ”; var fb_script=document.createElement('script’); fb_script.text= “(function(d, s, id) {var js, fjs = d.getElementsByTagName(s)[0];if (d.getElementById(id)) return;js = d.createElement(s); js.id = id;js.src = "https://connect.facebook.net/en_GB/sdk.js#xfbml=1&version=v2.9”;fjs.parentNode.insertBefore(js, fjs);}(document, 'script’, 'facebook-jssdk’));“; var fmain = $(”.sr2272246"); //alert(x+ “-” + url); var fdiv = ’
’; //console.log(fdiv); //$(fb_script).appendTo(fmain); $(fdiv).appendTo(fmain); function fillElementWithAd($el, slotCode, size, targeting){ if (typeof targeting === 'undefined’) { targeting = {}; } else if ( Object.prototype.toString.call( targeting ) !== ’[object Object]’ ) { targeting = {}; } var elId = $el.attr('id’); //console.log(“elId:” + elId); googletag.cmd.push(function(){ var slot = googletag.defineSlot(slotCode, size, elId); for (var t in targeting){ slot.setTargeting(t, targeting[t]); } slot.addService(googletag.pubads()); googletag.display(elId); //googletag.pubads().refresh([slot]); }); } $(document).delegate(“button[id^='mf’]”, “click”, function(){ fbcontainer = “; fbid = ’#’ + $(this).attr('id’); var sr = fbid.replace(”#mf", “.sr”); $(fbid).parent().children(sr).toggle(); fbcontainer = $(fbid).parent().children(sr).children(“.fb-comments”).attr(“id”); });
function onPlayerStateChange(event){ var ing, fid; //console.log(event + “—player”); $('iframe[id*=“video-”]’).each(function(){ _v = $(this).attr('id’); //console.log(“_v: ” + _v); if(_v != event){ //console.log(“condition match”); ing = new YT.get(_v); if(ing.getPlayerState()=='1’){ ing.pauseVideo(); } } }); $('div[id*=“video-”]’).each(function(){ _v = $(this).attr('id’); //console.log(“_v: ” + _v + “ event: ” + event); if(_v != event){ //jwplayer(_v).play(false); } }); } function onYouTubePlay(vid, code, playDiv,vx, pvid){ if (typeof(YT) == 'undefined’ || typeof(YT.Player) == 'undefined’) { var tag = document.createElement('script’); tag.src = “https://www.youtube.com/iframe_api”; var firstScriptTag = document.getElementsByTagName('script’)[0]; firstScriptTag.parentNode.insertBefore(tag, firstScriptTag); window.onYouTubePlayerAPIReady = function() { onYouTubePlayer(vid, code, playDiv,vx, pvid); }; }else{onYouTubePlayer(vid, code, playDiv,vx, pvid);} } function onYouTubePlayer(vid, code, playDiv,vx, pvid){ //console.log(playDiv + “Get Youtue ” + vid); //$(“#”+vid).find(“.playvideo-”+ vx).hide(); var player = new YT.Player(playDiv , { height: '450’, width: '100%’, videoId:code, playerVars: { 'autoplay’: 1, 'showinfo’: 1, 'controls’: 1 }, events: { 'onStateChange’: function(event){ onPlayerStateChange(event.target.a.id); } } }); $(“#video-”+vid).show(); } function anvatoPlayerAPIReady(vid, code, playDiv,vx, pvid,vurl){ AnvatoPlayer(playDiv).init({ “url”: code, “title1”:“”, “autoplay”:true, “share”:false, “pauseOnClick”:true, “expectPreroll”:true, “width”:“100%”, “height”:“100%”, “poster”:“”, “description”:“”, “plugins”:{ “googleAnalytics”:{ “trackingId”:“UA-2069755-1”, “events”:{ “PLAYING_START”:{ “alias” : “play - zee english video”, “category” : “zee english video”, “label” : “https://zeenews.india.com” + vurl, “metric” : “1” }, “BUFFER_START”:{ “alias” : “buffer - zee english video”, “category” : “zee english video”, “label” : “https://zeenews.india.com” + vurl, “metric” : “2” }, “AD_BREAK_STARTED”:{ “alias” : “break - zee english video”, “category” : “zee english video”, “label” : “https://zeenews.india.com” + vurl, “metric” : “3” }, “VIDEO_COMPLETED”:{ “alias” : “complete - zee english video”, “category” : “zee english video”, “label” : “https://zeenews.india.com” + vurl, “metric” : “4” } } }, “dfp”:{ “clientSide”:{ “adTagUrl”:“https://pubads.g.doubleclick.net/gampad/ads?sz=640x480&iu=/11440465/Zeenews_English_Video/Zeenews_English_Preroll&impl=s&gdfp_req=1&env=vp&output=vast&unviewed_position_start=1&url=https://zeenews.india.com”+vurl+“&description_url=https://zeenews.india.com”+vurl+“&correlator=[timestamp]”, } } } }); } $(document).delegate(“div[id^='play’]”, “click”, function(){ //console.log($(this).attr(“id”)); //console.log($(this).attr(“video-source”)); //console.log($(this).attr(“video-code”)); var isyoutube = $(this).attr(“video-source”); var vurl = $(this).attr(“video-path”); var vid = $(this).attr(“id”); $(this).hide(); var pvid = $(this).attr(“newsid”); var vx = $(this).attr(“id”).replace('play-’,“); var vC = $(this).attr("video-code”); var playDiv = “video-” + vid + “-” + pvid; if(isyoutube =='No’){ anvatoPlayerAPIReady(vid, vC, playDiv,vx, pvid, vurl); }else{ onYouTubePlay(vid, vC, playDiv,vx, pvid); } }); $(document).delegate(“div[id^='ptop’]”, “click”, function(){ var vid = $(this).attr(“id”).replace('ptop’,“); $(this).hide(); var pvid = $(this).attr("newsid”); var vurl = $(this).attr(“video-path”); //console.log($(this).attr(“id”) + “–” + vid); //console.log($(this).parent().children().find(’#play-’+vid).attr(“video-source”)); //console.log($(this).parent().children().find(’#play-’+vid).attr(“video-code”)); var isyoutube = $(this).parent().children().find(’#play-’+vid).attr(“video-source”); var vC = $(this).parent().children().find(’#play-’+vid).attr(“video-code”); var playDiv = “mvideo-play-” + vid + “-” + pvid; if(isyoutube =='No’){ //console.log(jwplayer($(this).attr(“id”)).getState()); anvatoPlayerAPIReady($(this).attr(“id”), vC, playDiv, vid, pvid, vurl);
}else{ onYouTubePlay($(this).attr(“id”), vC, playDiv, vid, pvid); } });
var nxti = 3; var ci = 1; var nxti_1 = 6; var nxti_2 = 9; var nxti_3 = 12; //console.log(“totalPCount: ” + $(“#star2272246 > div.field-name-body > div.field-items > div.field-item”).children('p’).length); var pl = $(“#star2272246 > div.field-name-body > div.field-items > div.field-item”).children('p’).length; var adcount = 0; var adcode = ’/11440465/Zeenews_English_Web/Zeenews_English_AS_Inarticle_1_300x250’; if(pl>3){ $(“#star2272246 > div.field-name-body > div.field-items > div.field-item”).children('p’).each(function(i, n){ ci = parseInt(i) + 1; t=this; var htm = $(this).html(); d = $(“
”); if((i+1)%3==0 && (i+1)>2 && $(this).html().length>20 && ci
’).insertAfter(t); } adcount++; }else if(adcount>=3){ return false; } }); } if($.autopager==false){ var use_ajax = false; /*var disqus_shortname = 'zeehindi’; var disqus_identifier; //made of post id and guid var disqus_url; //post permalink
function loadDisqus(source, identifier, url, nid) {
if (window.DISQUS) { //alert(“if”); jQuery(’
’).insertAfter(source); jQuery(’#disqus_thread’).insertAfter(source); //append the HTML after the link //if Disqus exists, call it’s reset method with new parameters DISQUS.reset({ reload: true, config: function () { this.page.identifier = identifier; this.page.url = url; } }); }else{ jQuery(’
’).insertAfter(source); disqus_identifier = identifier; //set the identifier argument disqus_url = url; //set the permalink argument
//append the Disqus embed script to HTML var dsq = document.createElement('script’); dsq.type = 'text/javascript’; dsq.async = true; dsq.src = 'http://’ + disqus_shortname + ’.disqus.com/embed.js’; jQuery('head’).append(dsq); } };*/ /*$(’.disqusOn’).live( “click”, notify ); function notify() { identifier = $(this).attr('id’); dUrl = $(this).attr('disqus-url’); source = $(this).parent(); loadDisqus(jQuery(this), identifier, dUrl); }*/ function loadshare(curl){ history.replaceState(“ ,”, curl); if(window.OBR){ window.OBR.extern.researchWidget(); } //console.log(“loadshare Call->” + curl); //$('html head’).find('title’).text(“main” + nxtTitle); if(_up == false){ var cu_url = curl; gtag('config’, 'UA-2069755-1’, {'page_path’: cu_url });
if(window.COMSCORE){ window.COMSCORE.beacon({c1: “2”, c2: “9254297”}); var e = Date.now(); $.ajax({ url: “/marathi/news/zscorecard.json?” + e, success: function(e) {} }) } //console.log('ga:’+r); /*(function () { var ga = document.createElement('script’); ga.type = 'text/javascript’; ga.async = true; ga.src = ('https:’ == document.location.protocol ? 'https://’ : 'http://’) + 'stats.g.doubleclick.net/dc.js’; var s = document.getElementsByTagName('script’)[0]; s.parentNode.insertBefore(ga, s); })();*/ //console.log(“loadshare Call”); } } if(use_ajax==false) { //console.log('getting’); var view_selector = 'div.center-section’; // + settings.view_name; + ’.view-display-id-’ + settings.display; var content_selector = view_selector; // + settings.content_selector; var items_selector = content_selector + ’ > div.rep-block’; // + settings.items_selector; var pager_selector = 'div.next-story-block > div.view-zn-article-mc-all-2017 > div.view-content > div.clearfix’; // + settings.pager_selector; var next_selector = 'div.next-story-block > div.view-zn-article-mc-all-2017 > div.view-content > div.clearfix > a:last’; // + settings.next_selector; var auto_selector = 'div.tag-block’; var img_location = view_selector + ’ > div.rep-block:last’; var img_path = ’
Loading
’; //settings.img_path; //var img = ’
’ + img_path + ’
’; var img = img_path; //$(pager_selector).hide(); //alert($(next_selector).attr('href’)); var x = 0; var url = “; var prevLoc = window.location.pathname; var circle = ”“; var myTimer = ”“; var interval = 30; var angle = 0; var Inverval = ”“; var angle_increment = 6; var handle = $.autopager({ appendTo: content_selector, content: items_selector, runscroll: maindiv, link: next_selector, autoLoad: false, page: 0, start: function(){ $(img_location).after(img); circle = $(’.center-section’).find(’#green-halo’); myTimer = $(’.center-section’).find(’#myTimer’); angle = 0; Inverval = setInterval(function (){ $(circle).attr("stroke-dasharray”, angle + “, 20000”); //myTimer.innerHTML = parseInt(angle/360*100) + ’%’; if (angle >= 360) { angle = 1; } angle += angle_increment; }.bind(this),interval); }, load: function(){ $('div.loading-block’).remove(); clearInterval(Inverval); //$(’.repeat-block > .row > div.main-rhs2272246’).find('div.rhs2272246:first’).clone().appendTo(’.repeat-block >.row > div.main-rhs’ + x); $('div.rep-block > div.main-rhs2272246 > div:first’).clone().appendTo('div.rep-block > div.main-rhs’ + x); $(’.center-section >.row:last’).before(’
Next Story
’); //$(“.main-rhs” + x).theiaStickySidebar(); var fb_script=document.createElement('script’); fb_script.text= “(function(d, s, id) {var js, fjs = d.getElementsByTagName(s)[0];if (d.getElementById(id)) return;js = d.createElement(s); js.id = id;js.src = "https://connect.facebook.net/en_GB/sdk.js#xfbml=1&version=v2.9”;fjs.parentNode.insertBefore(js, fjs);}(document, 'script’, 'facebook-jssdk’));“; var fmain = $(”.sr"+ x); //alert(x+ “-” + url); var fdiv = ’
’; //$(fb_script).appendTo(fmain); $(fdiv).appendTo(fmain); FB.XFBML.parse(); var $dfpAd = $(’.center-section’).children().find(“#ad-”+ x); //console.log($dfpAd); /*var pl = $(“#star2272246 > div.field-name-body > div.field-items > div.field-item”).children('p’).length; if(pl>3){ xp = “#star”+x; $(xp +“ > div.field-name-body > div.field-items > div.field-item”).children('p’).each(function(i, n){ ci= parseInt(i) + 1; t=this; d = $(“
ad Space
”); console.log(“i: ” + i + “ ci:” + ci + “ n:” + n); console.log(this); if(ci%3==0){d.insertAfter(t);fillElementWithAd(d, ’/11440465/Zeenews_English_Web/Zeenews_English_AS_Inarticle_1_300x250’, [300, 250], {});} }); }*/ xp = “#star”+x; var pl = $(xp + “ > div.field-name-body > div.field-items > div.field-item”).children('p’).length; if(pl>3){ $(xp + “ > div.field-name-body > div.field-items > div.field-item”).children('p’).each(function(i, n){ ci= parseInt(i) + 1; t=this; d = $(“
”); //console.log(“i: ” + i + “ ci:” + ci + “ n:” + n); //console.log(this); if(i==2){d.insertAfter(t);fillElementWithAd(d, ’/11440465/Zeenews_English_Web/Zeenews_English_AS_Inarticle_1_300x250’, [300, 250], {}); } /*if(pl>8){ if(i==(pl-2)){d.insertAfter(t);fillElementWithAd(d, ’/11440465/Zeenews_English_Web/Zeenews_English_AS_Inarticle_1_300x250’, [300, 250], {}); } }*/
}); }
//var $dfpAdrhs = $(’.main-rhs’ + x).children().find(’.adATF’).empty().attr(“id”, “ad-300-” + x); //$(’.content-area > .main-article > .row > .main-rhs’+x).find(’#ad-300-’ + x); //var $dfpAdrhs2 = $(’.main-rhs’ + x).children().find(’.adBTF’).empty().attr(“id”, “ad-300-2-” + x);//$(’.content-area > .main-article > .row > .main-rhs’+x).find(’#ad-300-2-’ + x); //var $dfpMiddleAd = $(’.content-area > .main-article > .row’).find(’#ar’+x).find(’#ad-middle-’ + x).empty(); //fillElementWithAd($dfpAdrhs, ’/11440465/Zeenews_English_Web/Zeenews_English_AS_ATF_300x250’, [[300, 250], [300, 600]], {}); //fillElementWithAd($dfpAdrhs2, ’/11440465/Zeenews_English_Web/Zeenews_English_AS_BTF_1_300x250’, [300, 250], {}); //fillElementWithAd($dfpMiddleAd, ’/11440465/Zeenews_Hindi_Article_Middle_300x250_BTF’, [300, 250], {}); var instagram_script=document.createElement('script’); instagram_script.defer='defer’; instagram_script.async='async’; instagram_script.src=“https://platform.instagram.com/en_US/embeds.js”;
/*var outbrain_script=document.createElement('script’); outbrain_script.type='text/javascript’; outbrain_script.async='async’; outbrain_script.src=’//widgets.outbrain.com/outbrain.js’; var Omain = $(“#outbrain-”+ x); //alert(Omain + “–” + $(Omain).length);
$(Omain).after(outbrain_script); var rhs = $(’.main-article > .row > div.article-right-part > div.rhs2272246:first’).clone(); $(rhs).find(’.ad-one’).attr(“id”, “ad-300-” + x).empty(); $(rhs).find(’.ad-two’).attr(“id”, “ad-300-2-” + x).empty(); //$(’.main-article > .row > div.article-right-part > div.rhs2272246:first’).clone().appendTo(’.main-article > .row > div.main-rhs’ + x); $(rhs).appendTo(’.main-article > .row > div.main-rhs’ + x); */
setTimeout(function(){
var twit = $(“div.field-name-body”).find('blockquote[class^=“twitter”]’).length; var insta = $(“div.field-name-body”).find('blockquote[class^=“instagram”]’).length; if(twit==0){twit = ($(“div.field-name-body”).find('twitterwidget[class^=“twitter”]’).length);} if(twit>0){ if (typeof (twttr) != 'undefined’) { twttr.widgets.load();
} else { $.getScript('https://platform.twitter.com/widgets.js’); } //$(twit).addClass('tfmargin’); } if(insta>0){ $(’.content > .left-block:last’).after(instagram_script); //$(insta).addClass('tfmargin’); window.instgrm.Embeds.process(); } }, 1500); } }); /*$(“#loadmore”).click(function(){ x=$(next_selector).attr('id’); var url = $(next_selector).attr('href’); disqus_identifier = 'ZNH’ + x; disqus_url = url; handle.autopager('load’); history.pushState(“ ,”, url); setTimeout(function(){ //twttr.widgets.load(); //loadDisqus(jQuery(this), disqus_identifier, disqus_url); }, 6000); });*/
/*$(“button[id^='mf’]”).live(“click”, disqusToggle); function disqusToggle() { console.log(“Main id: ” + $(this).attr('id’)); }*/ $(document).delegate(“button[id^='mf’]”, “click”, function(){ fbcontainer = “; fbid = ’#’ + $(this).attr('id’); var sr = fbid.replace(”#mf", “.sr”);
//console.log(“Main id: ” + $(this).attr('id’) + “Goodbye!jQuery 1.4.3+” + sr); $(fbid).parent().children(sr).toggle(); fbcontainer = $(fbid).parent().children(sr).children(“.fb-comments”).attr(“id”); //console.log(fbcontainer); //var commentsContainer = document.getElementById(fbcontainer); //commentsContainer.innerHTML = ’’;
}); /************Player Code ***********/ var title, imageUrl, description, author, shortName, identifier, timestamp, summary, newsID, nextnews; var previousScroll = 0; //console.log(“prevLoc” + prevLoc); $(window).scroll(function(){ var last = $(auto_selector).filter(’:last’); var lastHeight = last.offset().top ; //st = $(layout).scrollTop(); //console.log(“st:” + st); var currentScroll = $(this).scrollTop(); if (currentScroll > previousScroll){ _up = false; } else { _up = true; } previousScroll = currentScroll; //console.log(“_up” + _up);
var cutoff = $(window).scrollTop() + 64; //console.log(cutoff + “**”); $('div[id^=“row”]’).each(function(){ //console.log(“article” + $(this).children().find(’.left-block’).attr(“id”) + $(this).children().find(’.left-block’).attr('data-url’)); if($(this).offset().top + $(this).height() > cutoff){ //console.log(“$$” + $(this).children().find(’.left-block’).attr('data-url’)); if(prevLoc != $(this).children().find(’.left-block’).attr('data-url’)){ prevLoc = $(this).children().find(’.left-block’).attr('data-url’); $('html head’).find('title’).text($(this).children().find(’.left-block’).attr('data-title’)); $('meta[name=description]’).attr(“content”,$(this).children().find(’.left-block’).attr('data-summary’)); $('meta[name=keywords]’).attr(“content”,$(this).children().find(’.left-block’).attr('data-keyword’)); $('meta[name=news_keywords]’).attr(“content”,$(this).children().find(’.left-block’).attr('data-keyword’));
pSUPERFLY.virtualPage(prevLoc,$(this).children().find(’.left-block’).attr('data-title’)); //console.log(“Summary: ” + $(this).children().find(’.left-block’).attr('data-summary’)); //console.log(“Keyword: ” + $(this).children().find(’.left-block’).attr('data-keyword’)); //history.pushState(“ ,”, prevLoc); loadshare(prevLoc); } return false; // stops the iteration after the first one on screen } }); if(lastHeight + last.height() (function() { var reset_scroll;
$(function() { return $(“[data-sticky_column]”).stick_in_parent({ parent: “[data-sticky_parent]” }); });
reset_scroll = function() { var scroller; scroller = $(“body,html”); scroller.stop(true); if ($(window).scrollTop() !== 0) { scroller.animate({ scrollTop: 0 }, “fast”); } return scroller; };
window.scroll_it = function() { var max; max = $(document).height() - $(window).height(); return reset_scroll().animate({ scrollTop: max }, max * 3).delay(100).animate({ scrollTop: 0 }, max * 3); };
window.scroll_it_wobble = function() { var max, third; max = $(document).height() - $(window).height(); third = Math.floor(max / 3); return reset_scroll().animate({ scrollTop: third * 2 }, max * 3).delay(100).animate({ scrollTop: third }, max * 3).delay(100).animate({ scrollTop: max }, max * 3).delay(100).animate({ scrollTop: 0 }, max * 3); };
$(window).on(“resize”, (function(_this) { return function(e) { return $(document.body).trigger(“sticky_kit:recalc”); }; })(this));
}).call(this);
body{overflow:hidden} .article-tag-link{margin:5px 0px;padding:0px;font-size:14px;font-weight:700;color:#e21727;text-transform:uppercase;} .article-tag-link a{color:#e21727;} .article-widgetpara{font-size:38px;color:#191c20;line-height:normal;margin-bottom:10px;} .article-widgetpara a{font-size:38px;color:#191c20;line-height:normal;} .widget-image-block{position:relative;height:270px;overflow:hidden;} .stry_ldmore{width:100%;position:absolute;bottom:0px;text-align:center;display:block;} .stry_fdr{bottom:0;background:linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 100%) repeat scroll 0 0 rgba(0, 0, 0, 0);height:200px;position:absolute;width:100%;} .stry_shwmre{background:#2089ff;color:#FFF;cursor:pointer;padding:10px 20px;text-align:center;position:relative;display:inline-block;left:50%;margin-left:-83px;border-top-left-radius:5px;border-top-right-radius: 5px;} .stry_shwmre:hover{background:#1581f9} .wid-line{border-bottom:1px solid #2089ff; position:absolute;bottom:0;width:100%;} .widget-vs{padding-left:inherit;padding-right:inherit;} .white-txt{color:#FFF !important;} .article-head-block p{font-size:18px;color:#444;line-height:26px} .play-b{width:70px;height:70px;top:50%;left:50%;position:absolute;z-index:1009;cursor:pointer;margin-left:-35px;margin-top:-35px;bottom:inherit;right:inherit;}
function on_load_google_ad(){ googletag.cmd.push(function() { googletag.defineSlot('/11440465/Zeenews_English_Web/Zeenews_English_AS_ATF_970x90', [[970, 90], [970, 250], [970, 66], [728, 90]], 'div-gpt-ad-1504525832454-0').addService(googletag.pubads().setTargeting('category', ['People'])); googletag.defineSlot('/11440465/Zeenews_English_Web/Zeenews_English_AS_ATF_300x250', [[300, 600], [300, 250]], 'div-article-rhs-atf-ad').addService(googletag.pubads().setTargeting('category', ['People'])); googletag.defineSlot('/11440465/Zeenews_English_Web/Zeenews_English_AS_BTF_1_300x250', [300, 250], 'div-gpt-ad-1504525832454-2').addService(googletag.pubads().setTargeting('category', ['People'])); //googletag.defineSlot('/11440465/Zeenews_English_Web/Zeenews_English_AS_Inarticle_1_300x250', [300, 250], 'div-gpt-ad-1514466234836-0').addService(googletag.pubads().setTargeting('category', ['$tname'])); googletag.defineSlot('/11440465/Zeenews_English_Web/Zeenews_English_AS_OOP_1x1', [1, 1], 'div-gpt-ad-1504526235866-6').addService(googletag.pubads().setTargeting('category', ['People'])); googletag.pubads().disableInitialLoad(); googletag.pubads().enableAsyncRendering(); googletag.pubads().set('page_url','https://zeenews.india.com/'); googletag.pubads().enableSingleRequest(); googletag.pubads().collapseEmptyDivs(); googletag.enableServices(); });
googletag.cmd.push(function() { googletag.display('div-gpt-ad-1504525832454-0’); }); googletag.cmd.push(function() { googletag.display('div-gpt-ad-1504525832454-2’); }); googletag.cmd.push(function() { googletag.display('div-gpt-ad-1504526235866-6’); }); googletag.cmd.push(function() { googletag.display('div-article-rhs-atf-ad’); }); } on_load_google_ad(); function sendAdserverRequest() { try { googletag.cmd.push(function() { googletag.pubads().refresh(); }); } catch (e) { googletag.cmd.push(function() { googletag.pubads().refresh(); }); } } setTimeout(function() { sendAdserverRequest(); }, 5000);
function on_load_fb_twitter_widgets(){ (function(d, s, id) { var js, fjs = d.getElementsByTagName(s)[0]; if (d.getElementById(id)) return; js = d.createElement(s); js.id = id; js.src = “https://connect.facebook.net/en_US/sdk.js#xfbml=1&version=v2.9”; fjs.parentNode.insertBefore(js, fjs); }(document, 'script’, 'facebook-jssdk’));
window.twttr = (function(d, s, id) { var js, fjs = d.getElementsByTagName(s)[0], t = window.twttr || {}; if (d.getElementById(id)) return t; js = d.createElement(s); js.id = id; js.src = “https://platform.twitter.com/widgets.js”; fjs.parentNode.insertBefore(js, fjs); t._e = []; t.ready = function(f) {
t._e.push(f); }; return t; }(document, “script”, “twitter-wjs”)); }
//setTimeout(function() { on_load_google_ad(); }, 5000); setTimeout(function() { on_load_fb_twitter_widgets(); }, 5000); Source link
The post ‘Cosmo’ girl Kiara Advani dons a denim jumpsuit with a plunging neckline – See cover pic | People News appeared first on Trends Dress.
from Trends Dress https://trendsdress.com/cosmo-girl-kiara-advani-dons-a-denim-jumpsuit-with-a-plunging-neckline-see-cover-pic-people-news/
from Trends Dress https://trendsdresscom.tumblr.com/post/613823424301809664
0 notes
sandhyamodi · 5 years ago
Text
छूट के बावजूद व्यापारी क्यों नहीं खोल पा रहे दुकान? यहां समझिए स्टैंड अलोन और पड़ोस की दुकान का मतलब
Tumblr media
नई दिल्ली: केंद्र सरकार ने 25 अप्रैल से देश में सभी स्टैंड अलोन और पड़ोस की दुकानों को खोलने की इजाजत दे दी है. लेकिन ज्यादातर व्यापारी इन दोनों शब्दों का सही मतलब नहीं समझ पाने की वजह से दुकान खोलने से घबरा रहे हैं. ऐसे में हम आपको बताते है स्टैंड अलोन और पड़ोस की दुकान का मतलब. इसे समझना बेहद आसान है और ये आपको दुकान खोलने में मदद कर सकती है. स्टैंड अलोन दुकानों का मतलब अर्थशास्त्री शरद कोहली ने इस शब्द को स्पष्ट करते हुए बताया कि स्टैंड अलोन दुकानों का मतलब है, वो दुकाने जो किसी भी बाजार के बीच में नहीं हैं. इसमें रिहाइशी इलाकों में या उस से बाहर कोई भी दुकान हो सकता है. इसमें जरूरी या गैरजरूरी सामान की दुकान शामिल है. लेकिन ध्यान रहे इसमें शराब की दुकान, सैलून और रेस्तरां शामिल नहीं है.  ये होते है पड़ोस की दुकान पड़ोस की दुकानों में वो सभी दुकान शामिल हैं जो रिहाइशी इलाकों के आसपास के छोटे कॉम्पलेक्स में हैं. घर और सोसाइटी के आसपास की दुकानें जिसमें पहले सिर्फ दूध, सब्जी, फल और राशन की दुकाने खुलने पर छूट थी. इन निर्देशों के बाद, बर्तन, कपडा, प्लास्टिक के सामान, साफ साफाई के सामान, किताबों, बिजली के उपकरणों आदि की दुकाने भी खोली जा सकती हैं. लेकिन ये दुकाने किसी बड़ी कल्सटर मार्किट या मॉल में नही होनी चाहिए.  ये भी पढ़ें- आज की सबसे अच्छी खबर: प्लाज्मा थेरेपी से ठीक हो रहे Corona मरीज, जानिए इसके बारे में उल्लेखनीय है कि कॉन्फ़ेडरेशन ऑफ़ आल इंडिया ट्रेडर्स (CAIT) के मुताबिक इन श्रेणियों में आने वाले व्यापारियों को ‘पड़ोस की दुकान’ और ‘स्टैंड अलोन. दुकानों के बीच कंफ्यूजन रहा है. यही कारण है कि अभी तक देश में ज्यादातर व्यापारी दुकान नहीं खोल पाए हैं. कैट के अनुमान के मुताबिक केंद्र सरकार के इस आदेश से शहरी क्षेत्रों में लगभग 30 लाख दुकानें और ग्रामीण क्षेत्रों में लगभग 10 लाख दुकानें खुल सकती हैं. अकेले दिल्ली में, लगभग 75 हजार दुकानें हैं जो इस आदेश के तहत खोली जा सकती हैं. (function(d, s, id) { var js, fjs = d.getElementsByTagName(s); if (d.getElementById(id)) return; js = d.createElement(s); js.id = id; js.src = "https://connect.facebook.net/en_US/sdk.js#xfbml=1&version=v2.9"; fjs.parentNode.insertBefore(js, fjs); }(document, 'script', 'facebook-jssdk')); (function ($) { /*Drupal.behaviors.pagerload = { attach: function (context, settings) {*/ $(document).ready(function(){ var nextpath = ''; var pg = 1; var nextload= true; var string = '';var ice = 0; var load = 'लोडिंग'; var cat = "?cat=22"; /*************************************/ /*$(window).scroll(function(){ var last = $('div.listing').filter('div:last'); var lastHeight = last.offset().top ; if(lastHeight + last.height() //console.log("**get data"); var circle = ""; var myTimer = ""; var interval = 30; var angle = 0; var Inverval = ""; var angle_increment = 6; $.ajax({ url: "/hindi/news/article-list.php" + cat + nextpath, async: true, dataType: "json", beforeSend: function() { $('div.listing').append(load); nextload=false; //console.log("/micros/article-list.php" + cat + nextpath); ice = 1; circle = $('.center-section').find('#green-halo'); myTimer = $('.center-section').find('#myTimer'); angle = 0; Inverval = setInterval(function (){ $(circle).attr("stroke-dasharray", angle + ", 20000"); //myTimer.innerHTML = parseInt(angle/360*100) + '%'; if (angle >= 360) { angle = 1; } angle += angle_increment; }.bind(this),interval); }, success: function(data){ nextload=false; //console.log("success"); //console.log(data); $.each(data, function(key,val){ //console.log("data found"); ice = 2; if(val!='673233'){ string = ''+val+'' + val + ' ' + val + ' 3){ $("#star673233 > div.field-name-body > div.field-items > div.field-item").children('p').each(function(i, n){ ci = parseInt(i) + 1; t=this; var htm = $(this).html(); d = $("2 && $(this).html().length>20 && ci=3){ return false; } }); } var fb_script=document.createElement('script'); fb_script.text= "(function(d, s, id) {var js, fjs = d.getElementsByTagName(s);if (d.getElementById(id)) return;js = d.createElement(s); js.id = id;js.src = "https://connect.facebook.net/en_GB/sdk.js#xfbml=1&version=v2.9";fjs.parentNode.insertBefore(js, fjs);}(document, 'script', 'facebook-jssdk'));"; var fmain = $(".sr673233"); //alert(x+ "-" + url); var fdiv = ''; //console.log(fdiv); //$(fb_script).appendTo(fmain); $(fdiv).appendTo(fmain); $(document).delegate("button", "click", function(){ fbcontainer = ''; fbid = '#' + $(this).attr('id'); var sr = fbid.replace("#mf", ".sr"); //console.log("Main id: " + $(this).attr('id') + "Goodbye!jQuery 1.4.3+" + sr); $(fbid).parent().children(sr).toggle(); fbcontainer = $(fbid).parent().children(sr).children(".fb-comments").attr("id"); }); function onPlayerStateChange(event){ var ing, fid; console.log(event + "---player"); $('iframe').each(function(){ _v = $(this).attr('id'); console.log("_v: " + _v); if(_v != event){ console.log("condition match"); ing = new YT.get(_v); if(ing.getPlayerState()=='1'){ ing.pauseVideo(); } } }); $('div').each(function(){ _v = $(this).attr('id'); console.log("_v: " + _v + " event: " + event); if(_v != event){ //jwplayer(_v).play(false); } }); } function onYouTubePlay(vid, code, playDiv,vx, pvid){ if (typeof(YT) == 'undefined' || typeof(YT.Player) == 'undefined') { var tag = document.createElement('script'); tag.src = "https://www.youtube.com/iframe_api"; var firstScriptTag = document.getElementsByTagName('script'); firstScriptTag.parentNode.insertBefore(tag, firstScriptTag); window.onYouTubePlayerAPIReady = function() { onYouTubePlayer(vid, code, playDiv,vx, pvid); }; }else{onYouTubePlayer(vid, code, playDiv,vx, pvid);} } function onYouTubePlayer(vid, code, playDiv,vx, pvid){ //console.log(playDiv + "Get Youtue " + vid); //$("#"+vid).find(".playvideo-"+ vx).hide(); var player = new YT.Player(playDiv , { height: '450', width: '100%', videoId:code, playerVars: { 'autoplay': 1, 'showinfo': 1, 'controls': 1 }, events: { 'onStateChange': function(event){ onPlayerStateChange(event.target.a.id); } } }); $("#video-"+vid).show(); } function anvatoPlayerAPIReady(vid, code, playDiv,vx, pvid,vurl){ var rtitle = "zee hindi video"; if(vurl.indexOf("zee-hindustan/")>0){ rtitle = "zee hindustan video"; }else if(vurl.indexOf("madhya-pradesh-chhattisgarh/")>0){ rtitle = "zee madhya pradesh chhattisgarh video"; }else if(vurl.indexOf("up-uttarakhand/")>0){ rtitle = "zee up uttarakhand video"; }else if(vurl.indexOf("bihar-jharkhand/")>0){ rtitle = "zee bihar jharkhand video"; }else if(vurl.indexOf("rajasthan/")>0){ rtitle = "zee rajasthan video"; }else if(vurl.indexOf("zeephh/")>0){ rtitle = "zeephh video"; }else if(vurl.indexOf("zeesalaam/")>0){ rtitle = "zeesalaam video"; }else if(vurl.indexOf("zeeodisha")>0){ rtitle = "zeeodisha"; } AnvatoPlayer(playDiv).init({ "url": code, "title1":"", "autoplay":true, "share":false, "pauseOnClick":true, "expectPreroll":true, "width":"100%", "height":"100%", "poster":"", "description":"", "plugins":{ "googleAnalytics":{ "trackingId":"UA-2069755-1", "events":{ "PLAYING_START":{ "alias" : "play - " + rtitle, "category" : rtitle, "label" : vurl, "metric" : "1" }, "BUFFER_START":{ "alias" : "buffer - " + rtitle, "category" : rtitle, "label" : vurl, "metric" : "2" }, "AD_BREAK_STARTED":{ "alias" : "break - " + rtitle, "category" : rtitle, "label" : vurl, "metric" : "3" }, "VIDEO_COMPLETED":{ "alias" : "complete - " + rtitle, "category" : rtitle, "label" : vurl, "metric" : "4" } } }, "dfp":{ "clientSide":{ "adTagUrl":preroll, } } } }); } $(document).delegate("div", "click", function(){ //console.log($(this).attr("id")); //console.log($(this).attr("video-source")); //console.log($(this).attr("video-code")); var isyoutube = $(this).attr("video-source"); var vurl = $(this).attr("video-path"); var vid = $(this).attr("id"); $(this).hide(); var pvid = $(this).attr("newsid"); var vx = $(this).attr("id").replace('play-',''); var vC = $(this).attr("video-code"); var playDiv = "video-" + vid + "-" + pvid; if(isyoutube =='No'){ anvatoPlayerAPIReady(vid, vC, playDiv,vx, pvid, vurl); }else{ onYouTubePlay(vid, vC, playDiv,vx, pvid); } }); $(document).delegate("div", "click", function(){ var vid = $(this).attr("id").replace('ptop',''); $(this).hide(); var pvid = $(this).attr("newsid"); //console.log($(this).attr("id") + "--" + vid); //console.log($(this).parent().children().find('#play-'+vid).attr("video-source")); //console.log($(this).parent().children().find('#play-'+vid).attr("video-code")); var isyoutube = $(this).parent().children().find('#play-'+vid).attr("video-source"); var vC = $(this).parent().children().find('#play-'+vid).attr("video-code"); var vurl = $(this).parent().children().find('#play-'+vid).attr("video-path"); var playDiv = "mvideo-play-" + vid + "-" + pvid; if(isyoutube =='No'){ //console.log(jwplayer($(this).attr("id")).getState()); anvatoPlayerAPIReady($(this).attr("id"), vC, playDiv, vid, pvid,vurl); }else{ onYouTubePlay($(this).attr("id"), vC, playDiv, vid, pvid); } }); if($.autopager==false){ var use_ajax = false; function loadshare(curl){ history.replaceState('' ,'', curl); if(window.OBR){ window.OBR.extern.researchWidget(); } //console.log("loadshare Call->" + curl); //$('html head').find('title').text("main" + nxtTitle); if(_up == false){ var cu_url = curl; gtag('config', 'UA-2069755-1', {'page_path': cu_url }); if(window.COMSCORE){ window.COMSCORE.beacon({c1: "2", c2: "9254297"}); var e = Date.now(); $.ajax({ url: "/marathi/news/zscorecard.json?" + e, success: function(e) {} }) } } } if(use_ajax==false) { //console.log('getting'); var view_selector = 'div.center-section'; // + settings.view_name; + '.view-display-id-' + settings.display; var content_selector = view_selector; // + settings.content_selector; var items_selector = content_selector + ' > div.rep-block'; // + settings.items_selector; var pager_selector = 'div.next-story-block > div.view-zhi-article-mc-all > div.view-content > div.clearfix'; // + settings.pager_selector; var next_selector = 'div.next-story-block > div.view-zhi-article-mc-all > div.view-content > div.clearfix > a:last'; // + settings.next_selector; var auto_selector = 'div.tag-block'; var img_location = view_selector + ' > div.rep-block:last'; var img_path = 'लोडिंग'; //settings.img_path; //var img = '' + img_path + ''; var img = img_path; //$(pager_selector).hide(); //alert($(next_selector).attr('href')); var x = 0; var url = ''; var prevLoc = window.location.pathname; var circle = ""; var myTimer = ""; var interval = 30; var angle = 0; var Inverval = ""; var angle_increment = 6; var handle = $.autopager({ appendTo: content_selector, content: items_selector, runscroll: maindiv, link: next_selector, autoLoad: false, page: 0, start: function(){ $(img_location).after(img); circle = $('.center-section').find('#green-halo'); myTimer = $('.center-section').find('#myTimer'); angle = 0; Inverval = setInterval(function (){ $(circle).attr("stroke-dasharray", angle + ", 20000"); //myTimer.innerHTML = parseInt(angle/360*100) + '%'; if (angle >= 360) { angle = 1; } angle += angle_increment; }.bind(this),interval); }, load: function(){ $('div.loading-block').remove(); clearInterval(Inverval); //$('.repeat-block > .row > div.main-rhs394331').find('div.rhs394331:first').clone().appendTo('.repeat-block >.row > div.main-rhs' + x); $('div.rep-block > div.main-rhs394331 > div:first').clone().appendTo('div.rep-block > div.main-rhs' + x); $('.center-section >.row:last').before(' div.field-name-body > div.field-items > div.field-item").children('p').length; if(pl>3){ $(xp + " > div.field-name-body > div.field-items > div.field-item").children('p').each(function(i, n){ ci= parseInt(i) + 1; t=this; d = $("8){ if(i==(pl-2)){d.insertAfter(t);fillElementWithAd(d, '/11440465/Zeenews_Hindi_Article_Inarticle_300x250_BTF', , {}); } }*/ }); } //var $dfpAd = $('.center-section').children().find("#ad-"+ x); //console.log($dfpAd); //fillElementWithAd($dfpAd, '/11440465/Zeenews_Hindi_Article_970x90_BTF', , ], {}); var $dfpAdrhs = $('.main-rhs' + x).children().find('.adATF').empty().attr("id", "ad-300-" + x); //$('.content-area > .main-article > .row > .main-rhs'+x).find('#ad-300-' + x); var $dfpAdrhs2 = $('.main-rhs' + x).children().find('.adBTF').empty().attr("id", "ad-300-2-" + x);//$('.content-area > .main-article > .row > .main-rhs'+x).find('#ad-300-2-' + x); //var $dfpMiddleAd = $('.content-area > .main-article > .row').find('#ar'+x).find('#ad-middle-' + x).empty(); //fillElementWithAd($dfpAdrhs, '/11440465/Zeenews_Hindi_Web/Zeenews_Hindi_AS_ATF_300x250', , ], {}); //fillElementWithAd($dfpAdrhs2, '/11440465/Zeenews_Hindi_Web/Zeenews_Hindi_AS_BTF_1_300x250', , {}); //fillElementWithAd($dfpMiddleAd, '/11440465/Zeenews_Hindi_Article_Middle_300x250_BTF', , {}); var instagram_script=document.createElement('script'); instagram_script.defer='defer'; instagram_script.async='async'; instagram_script.src="https://platform.instagram.com/en_US/embeds.js"; /*var outbrain_script=document.createElement('script'); outbrain_script.type='text/javascript'; outbrain_script.async='async'; outbrain_script.src='https://widgets.outbrain.com/outbrain.js'; var Omain = $("#outbrain-"+ x); //alert(Omain + "--" + $(Omain).length); $(Omain).after(outbrain_script); var rhs = $('.main-article > .row > div.article-right-part > div.rhs394331:first').clone(); $(rhs).find('.ad-one').attr("id", "ad-300-" + x).empty(); $(rhs).find('.ad-two').attr("id", "ad-300-2-" + x).empty(); //$('.main-article > .row > div.article-right-part > div.rhs394331:first').clone().appendTo('.main-article > .row > div.main-rhs' + x); $(rhs).appendTo('.main-article > .row > div.main-rhs' + x); */ setTimeout(function(){ var twit = $("div.field-name-body").find('blockquote').length; var insta = $("div.field-name-body").find('blockquote').length; if(twit==0){twit = ($("div.field-name-body").find('twitterwidget').length);} if(twit>0){ if (typeof (twttr) != 'undefined') { twttr.widgets.load(); } else { $.getScript('https://platform.twitter.com/widgets.js'); } //$(twit).addClass('tfmargin'); } if(insta>0){ $('.content > .left-block:last').after(instagram_script); //$(insta).addClass('tfmargin'); window.instgrm.Embeds.process(); } }, 1500); } }); /*$("#loadmore").click(function(){ x=$(next_selector).attr('id'); var url = $(next_selector).attr('href'); disqus_identifier = 'ZNH' + x; disqus_url = url; handle.autopager('load'); history.pushState('' ,'', url); setTimeout(function(){ //twttr.widgets.load(); //loadDisqus(jQuery(this), disqus_identifier, disqus_url); }, 6000); });*/ /*$("button").live("click", disqusToggle); function disqusToggle() { console.log("Main id: " + $(this).attr('id')); }*/ var title, imageUrl, description, author, shortName, identifier, timestamp, summary, newsID, nextnews; var previousScroll = 0; //console.log("prevLoc" + prevLoc); $(window).scroll(function(){ var last = $(auto_selector).filter(':last'); var lastHeight = last.offset().top ; //st = $(layout).scrollTop(); //console.log("st:" + st); var currentScroll = $(this).scrollTop(); if (currentScroll > previousScroll){ _up = false; } else { _up = true; } previousScroll = currentScroll; //console.log("_up" + _up); var cutoff = $(window).scrollTop() + 64; //console.log(cutoff + "**"); $('div').each(function(){ //console.log("article" + $(this).children().find('.left-block').attr("id") + $(this).children().find('.left-block').attr('data-url')); if($(this).offset().top + $(this).height() > cutoff){ //console.log("$$" + $(this).children().find('.left-block').attr('data-url')); if(prevLoc != $(this).children().find('.left-block').attr('data-url')){ prevLoc = $(this).children().find('.left-block').attr('data-url'); $('html head').find('title').text($(this).children().find('.left-block').attr('data-title')); pSUPERFLY.virtualPage(prevLoc,$(this).children().find('.left-block').attr('data-title')); //console.log(prevLoc); //history.pushState('' ,'', prevLoc); loadshare(prevLoc); } return false; // stops the iteration after the first one on screen } }); if(lastHeight + last.height() //console.log("**get"); url = $(next_selector).attr('href'); x=$(next_selector).attr('id'); ////console.log("x:" + x); //handle.autopager('load'); /*setTimeout(function(){ //twttr.widgets.load(); //loadDisqus(jQuery(this), disqus_identifier, disqus_url); }, 6000);*/ } //lastoff = last.offset(); //console.log("**" + lastoff + "**"); }); //$( ".content-area" ).click(function(event) { // console.log(event.target.nodeName); //}); /*$( ".comment-button" ).live("click", disqusToggle); function disqusToggle() { var id = $(this).attr("id"); $("#disqus_thread1" + id).toggle(); };*/ $(".main-rhs394331").theiaStickySidebar(); var prev_content_height = $(content_selector).height(); //$(function() { var layout = $(content_selector); var st = 0; ///}); } } }); /*} };*/ })(jQuery); Source link Read the full article
0 notes