Best Brushless Cordless Drill To Buy | 18V tO 20V | Review Guide 2020

Review By Charlie / December, 22, 2024

Everything around us is going wireless. The carpenter’s toolbox has also been touched by this magic in a holistic manner, the best example is the cordless drill.

Making everything from screwing, removing nuts, fasteners, making pilot holes or a drywall installation easy, a kind of best cordless drills are a convenient and portable replacement for the traditional heavy-duty electrical drills.

These drills have made way into homes in a prolific manner, giving individuals the mobility and ease of undertaking small DIY projects themselves. The best aspect of a cordless drill is the fact that it does not have cumbersome machinery and a long cord attached to it and this makes carrying it around very easy.

Since drills are to be held in hand all the time, the lighter weight and size of cordless drills as compared to the electrical varieties ensures higher levels of productivity. Depending on their usage a variety of drills are doing rounds in the market and one has to pick the right unit according to specific usage.

The hammer drills are used for more solid drilling in cement and concrete. To reach a variety of angles the angle drills are extensively suggested. Drill drivers are used for simple holes, on the other hand, the impact drivers are equipped with more torque and speed for screwing and removing fasteners.

The basic difference between these cordless drill varieties is in their power, speed, and torque and accordingly, they serve different purposes. Cordless drills have definitely made life simpler and work easier for many and the difference in their characteristics makes for a targeted and proficient working.

What Is The Best Cordless Drill

Every innovation is coupled with a number of players taking advantage of the new idea and its growing demand. This makes it increasingly difficult for a first-time buyer to make a sensible and worthwhile choice. To overcome this issue an assortment of the best cordless drills available in the market has been created in one place, for reference by the buyers. This description is followed by a detailed featuring of characteristics and pros and cons of each product which finally culminates in a comprehensive guide for the buyer’s do’s and don’ts.

We have also meticulously jotted the best picks in economy and value segments and also given the editors take for best reference. All this will surely help an individual looking to invest and enjoy the privileges of a best cordless drill. The buyer’s do’s and don’ts.

[wptb id=5504]

Best Cordless Drill Reviews (Home Use)


DEWALT 20V MAX – Compact & Comprehensive Choice

DEWALT DC970K-2

Bring a high level of flexibility to your work whether it is a professional assignment or some domestic task this tool with its high output motor producing 380 unit’s watts can come really handy. The compact sizing of this Dewalt 20V cordless drill and the lightweight of 4.7 pounds enables one to work for longer hours without any fatigue. Driving and drilling can all be undertaken with perfection with the dual speed option which provides one the flexibility to shift from 0-450&0-1500 RPM in no time.

This product also has LED light with it which illuminates the work area and thus averts any risk from working in dark. The kit comes with two 18-VoltNi-Cad batteries and a one-hour charger; this ensures that work is free-flowing. To enable targeted work to be undertaken with higher levels of precision this driver has a ½ inch keyless ratcheting chuck which provides for a stronger grip and better handling.

A great choice for fastening and drilling jobs with any kind of material (metal, wood, plastic, etc.), this cordless drill also sports a limited warranty for 3 years and a free service contract for one year. What instills more confidence in the product is the option of returning it within 90 days and getting the money back in case of dissatisfaction.

A compact tool designed to give to the user enchanting results and supreme comfort. This driver is a sure shot winner in its league.

Dewalt DCF885 20V MAX 1/4″ Cordless Impact Driver | Review Guide

Specifications

  • Powered by 18V Ni-Cad batteries
  • Motor exhibiting a 380 unit watt’s output
  • Dual speed design (0-450&0-1500RPM)
  • Dimensions stand at 14.8 x 13.5 x 4.7 inches
  • Lightweight at 4.7 pounds
  • Equipped with ½ inch ratcheting chuck which is half sleeve and keyless
  • Battery Amp hours-1.2

Things We Like

  • Compact size enables working in small areas possible
  • Powerful motor with 380-watt output
  • Lightweight and portable at 4.7 pounds
  • Great grip and bit retention
  • Dual speed capability
  • The versatility of working on metals, plastic and woods alike
  • Strong enough for all fastening and drilling jobs
  • Warranty of 3-years(Limited)
  • Comes with two batteries and a one-hour charger
  • Priced quite affordably
  • User-friendly

Things We Don’t

  • Cannot work as a hammer drill

PORTER-CABLE PCCK600LB – Small Cordless Drill

PORTER-CABLE PCCK600LB

This Porter-Cable PCK600LB cordless drill driver has amazing specs and amazes with its ability to conduct all tasks inducing minimum fatigue. The powerful Lithium-Ion batteries which have 1.5 amp/hour cells have a long life making working fuss-free. The motor is no less with a 300 UWO power, it can accomplish all tasks of screwing, fastening, and drilling to perfection.

To make for more proficient and performance-driven work the 2-speed gearbox comes really handy. Switching from (0-400/0-1,600 RPM) in no time. Sudden power fall is checked as the battery gauge shows how much charge is remaining in the battery. Working in dark is not a problem with this tool, as it has LED light for night visibility.

This unit is great for both professional works and DIY projects, as its lightweight of 3.5lbs and small dimensions of 12.8 x 4.19 x11.9 inches make for a compact unit that can be used just anywhere without any user discomfort. Very intelligent incorporation in this tool design is the mode collar switch which enables fast switching from fastening to drilling in a jiffy.

A powerful performer can accomplish drilling through all surfaces whether metals or wood. 1800RPM of power helps it to become a masterpiece in your hands and stand out this drill into the top of the list of power drills, creating amazing designs. To add to the appeal is the 3-year warranty, two batteries, and a convenient kit box that accompanies the product.

Specifications

  • Driven by a Lithium-Ion Battery
  • Exudes power up to 330 UWO
  • Dimensions are 12.81 x 4.19 x 11.19 inches
  • The voltage required is 20V
  • 2speed gearbox(0rpm-400rpm/0rpm-1600rpm)
  • Portable weight of 3.5lbs
  • 23 clutch settings
  • 1/2’’ Chick size
  • Speed of 1800RPM
  • Mode to switch between fastening and drilling

Things We Like

  • The Motor is high on performance-330UWO
  • Lightweight-ease of work-less fatigue
  • Highly compact-small cordless drill
  • 2-speed gearbox for increased efficiency
  • Battery life display
  • LED light for working in the dark
  • Great for tough metal drilling and even fastening
  • Bits slipping in chuck avoided with metal ratcheting

Things We Don’t

  • Hammer drilling option not available

Makita XPH012 18V LXTPowerful & Versatile (18V Cordless Drill)

MAKITA XPHO12

It is always a great pleasure if one can lay his/her hands on a product that can perform dual functions. The Makita XPHO12 is a cordless drill that can work as both a driver drill and a hammer drill owing to its powerful motor producing a torque up to 480lbs. This tool is designed to perfection, ensuring maximum comfort to its user, and avoiding any fatigue.

The weight at 4.0 pounds and the sleek dimensions of 7x 5x 10 inches ensure its portability to places and eases its handling. Powered by 18V Lithium-Ion batteries which take very little time in getting charged (just about 30min) make sure that the work is completed within the stipulated time.

This cordless drill can shift its speed from low to high and convert from driver to hammer drill. At the low speed, 0-400RPM is delivered with 0-6000 BPM, whereas at high speed, 0-1500 RPM is delivered with 0-6000BPM. The high speed and power make this device apt for drilling into the toughest concrete and masonry surfaces with ease and finesse.

Apart from the technical bit, the 3-year warranty on the product and 1-year warranty on the battery adds to the confidence and value of the product. It is also conveniently equipped with an LED light which brightens the work area making no room for errors even in the dark. A great tool which is equipped with star protection (which shares real-time data to prevent overloading and overheating) and comes with a sturdy kit box, it is a keepsake device

Specifications

  • Comes with 18V Lithium-Ion batteries
  • Dimensions stand at 17 x5x 10 inches
  • Weighs around 4.0 lbs
  • 4-pole motor delivering a torque of 480lbs
  • 2-speed designing (0-400 &0-1500 RPM)
  • Can double up as a hammer drill
  • In low mode delivers 0-600 Blows Per Minute
  • In high transmission, mode delivers 0-6000 BPM
  • Very compact with the height of 8-1/8’’ inches

Things We Like

  • 18V Lithium-Ion batteries-with low charging time(30min)
  • High speed 4 pole motor with a torque of 480lbs
  • 2 Speed motor design
  • Shifting conveniently from a driver drill to a hammer drill
  • Designed for maximum comfort
  • Star protection equipped tools and battery
  • Additional LED light feature

Things We Don’t

  • Slight chuck wobble is experienced

Kobalt 24-Volt Max – Best Budget Cordless Drill

KOBALT1424A-03

This cordless drill is the best economical option with great results as far as the speed and power of the motor is concerned. The product has a sturdy metal body and the grips provide a convenient hold while working, making for increased productivity.

The 7.5 x 3x 9.5-inch dimensions make it conveniently portable and add a great deal to working flexibility. This tool has 23 clutch settings which make it possible to control the speed when working on softer delicate areas. The motor is very powerful and produces a torque of 650 in-lb. The speed is also exceptionally good at 2000 RPM. The 2-speed option(0-500&0-2000RPM) allows the drill to undertake versatile jobs with perfection.

A sheer joy to work with, this drill comes with a bit carrier, and thus the bits can be stored on the drill itself while working, this reduces a lot of hassle for the worker. Another alluring feature is a 5-year warranty on the tool and the 3-year warranty which the battery sports increasing the confidence in the value of the product.

LED light in the tool makes work area gleam even in dark adding to the working comfort and efficiency. Those who already own a Kobalt 24V tool can easily interchange the batteries and thus can work for longer hours without any lag. This cordless drill is packed with amazing features at a value price and thus is quite a lucrative option.

Specifications

  • Dimensions of the product stand at 7.5 x3x 9.5 inches
  • Comes with 23 clutch settings
  • Weighs around 4 pounds
  • Powered by 24V Lithium-Ion battery
  • 2-speed gearbox for driving and drilling
  • 1/2inch cordless brushless drill
  • 5-year tool warranty and 3-year battery warranty

Things We Like

  • High speed 2000RPM
  • The top turning force of 650in-lb
  • 23 clutch settings
  • 2-speed option available
  • Bits can be stored on the tool
  • LED lights for illumination
  • Versatile with variable speeds
  • Compact and sturdy (metal body)
  • Highly affordable and feature-packed

Things We Don’t

  • Low battery life and high charging time


BLACK & DECKER 20V MAX – Best 20V Cordless Drill

BLACK & DECKER 20V MAX

Whether it be about fixing a cupboard or putting the metal knobs in place this drill is the perfect answer for all household tasks at a very economical price. The most alluring feature of this drill is its lightweight (3.3 pounds), which ensures easy gripping and handling leading to almost no fatigue for the user.

The power-packed motor produces an output of 115 lbs and induces an enchanting efficiency in every task which is undertaken. The 11 clutch options provide one with the opportunity to adjust the speed according to the intensity of the task and thus lead to increased precision and flexibility. The batteries are quick in charging and quite durable.

A drill is as good as its speed and this one does not dissatisfy us with a speed of 650RPM. The variable speed option again helps in modifying and adjusting the work pattern to suit the area of work. This powerful and compact drill with the dimensions of 10.6 x 3.7 x 8.5 inches is as proficient in working on woods and plastics as it is on metals, making this tool an instant favorite.

Specifications

  • 10.6 X 3.7 X 8.5 Inches in dimension
  • Weighs as light as 3.3 pounds
  • Produces a torque of 115 lbs
  • The blazing speed of 650 RPM
  • 11 position clutch for precision
  • Variable speed option

Things We Like

  • High Speed of 650 RPM
  • 11 clutch option
  • Reliable and precise in working
  • Equipped with 2- year warranty
  • Lightweight and compact
  • Comes with Variable speed option
  • Versatile and flexible in working on all surfaces
  • Powerful motor and body
  • Long battery life
  • Ergonomic design

Things We Don’t

  • Not a great option for harder surfaces like concrete or brick

Best Cordless Battery Drill Buying Guide

Checklist Need To Consider Before Value For Money Purchase

Why We Need These Types Of Drills

Drills are an integral part of the toolbox. They are devices that make our job of driving and fastening any material like plastic, metal or concrete in a very easy and convenient manner. As with other gadgets, a series of innovations led to the advent of the cordless variety and we vouch for it because

  • The first and foremost reason that a cordless drill is better than the corded varieties is the fact that it is highly portable. The corded drills are cumbersome and heavy units and thus carrying them from one place to another gets quite challenging, on the other hand, cordless varieties are lightweight and sleek, increasing the flexibility of their use.
  • Since these drills do not have wire tangling around it, it poses less danger while working. It is often seen that unwatchfully people get tangled in the jigsaw of wires and end up hurting themselves with the corded options.
  • Many times the job requires one to work on overhead areas or small compact areas, it is here that the sleek and compact design of the cordless drills come handy.
  • Holding the corded varieties for a long time causes a lot of fatigue, whereas it is quite a comfortable task with the cordless drill. This makes cordless drivers a more productive and user-friendly option.
  • Nowadays these drills to come with enough torque and speed to match the power of the corded drills and thus one does not have to forego quality for comfort.
  • Storing the cordless drivers is also very easy as they come with designated cases and take very little space.
  • Unlike the corded options which are more of a professional tool, the cordless option delivers amazing performance to a novice and professionals alike, making it versatile in use.

A dream come true for the first time workers intending to take a DIY project at home, or quality and speed providing gadget for the contractors and carpenters on a job, cordless drills can do all with reliability, strength and unmatched ease.

What to Look Out for?

A very difficult situation every buyer confronts is the choice between a number of prevailing options in the market which all look and sound promising. Here a sensible buy will be the one which is need driven.

Accessing what is the job requirement and then picking the right gadget is what should be undertaken.

Motor Power

A cordless drill is as good as its motor and thus before buying any drill just check what Is the output of the motor. One with good torque and sturdiness is an advisable choice as it can be put to versatile uses.

Cost

Buying and budget always go hand in hand. There are some best cordless drill brand options available in the market that are often highly-priced and might not suit your budget constraint. It is a good idea to not just blindly run in the brand race and check into other options with similar features and economical prices to suit your budget. This way you will not regret your buying decision later.

Battery Life

Batteries are the lifelines of the cordless drills. To make sure you get higher work time and spend lesser time on idling, identify the time taken by the battery to fully charge up and for how long can it work on one charge.

Grip

Drills manual or cordless have to be handheld and thus their gripping comfort is a crucial consideration before making the final buy. A comfortable handheld best power drill should carry a good grip and the anti-skid surfaces can help in avoiding injuries and fatigue from long working hours.

Differential Speed

A cordless drill should be versatile in its work. Whether it be driving, drilling and fastening it should be able to accomplish all. Different materials and surfaces need different speeds of the drill. A drill with variable speeds gives the user the option of adjusting according to the work area, leading to more precision.

Weight and Dimensions

The basic reason why a cordless drill is preferred is its portable design and lightweight. Before plunging in and buying check whether the unit is really sleek and light or not, or else the entire purpose of buying can get defeated.

Care and Concerns

Evaluating what you need the drill for and what will be the frequency of use can help in making the right choice based on the speed, quality, and torque. But what is equally essential is to pay attention to the usage of the tool.

Care and Concerns
  • Making sure that you clad in proper attire and protective gear before starting the work can help you in completing the task without any security concerns. Eyeglasses can protect your eyes from flying debris and gloves help in gripping the tool better.
  • Concentrate on the work while you are at it. Distracted work often leads to serious injuries as drills move at a very high speed and have great power.
  • Take guidance from a professional. Even if the drill is simple to use, working with expert guidance can help you perform the job without any hindrance.
  • Know your tool. Each cordless drill has different specs and different charging times. Before one starts working with a particular variety going through the instruction manual and the do’s and don’ts of the device can prevent an accident and increase the precision of work.
  • Hold it right. Cordless drills need to be held firmly without exerting much pressure on them. The inability to do so can hinder the proper working of the machine and can cause injuries to the user.
  • Put it off. Changing bits needs to be undertaken for performing varying tasks, but it should be undertaken with utmost care after removing the batteries. This will ensure that you don’t accidentally drill your own hands.
  • Keep children at bay. The working of a drill might seem fascinating to the kids, but they should be kept away while you are working with the machine. Their inquisitiveness might lead them to toil with the product and they might hurt themselves.

Conclusion

One can surely add a lot of convenience and comfort to his/her drilling jobs with the effectiveness of the cordless drills, but making a judicious and well-researched choice is a must. The above-mentioned list of the best cordless drills available in the market can help in reaching a conclusive buy.

The varieties have been carefully listed to help the buyers in understanding the nitty-gritty of each machine in the best possible manner.

Make the choice based on your own needs, expertise, and type of job you undertake. It is not sensible to just go by what is promised, checking and gauging into the details for a first-hand experience is a must as the market is flooded with brands that are not very truthful in their claims. So make a safe and well-researched choice for most alluring drilling experience.

Editor Choice: Best Economical Buy

After evaluating a number of drills on various parameters, the one drill which our experts found to be the perfect value for money is KOBALT1424A-03. This drill is a total stand out with a very economical price range. Apart from a strong and powerful motor which-produces a torque of 650 in-lb, this drill has a staggering speed of 2000RPM.

KOBALT1424A-03

The thrill comes when at the pricing you also get dual speed options and 23 clutch settings making the drill perform versatile jobs on different materials with accuracy and great precision. Since it is a brushless tool it is more proficient and effective in its working. Performing all tasks of driving and drilling equally well with the 2-speed gearbox exhibiting 0-500&0-2000RPM speeds, this drill is simply stunning in its work quality.

Dimensions of 7.5 x 3 x 9.5 inches and the weight of merely 4 pounds make the unit highly portable and ensure fatigue-free work even if it involves long hours of holding the drill. Overhead jobs and working in tight corners is also very convenient with this drill, owing to its compact sizing.

To add to its appeal is the feature which enables one to store the bits on the machine while working, this makes sure that the job is hassle-free without any 


\n
","
","
\n

Best Cordless Battery Drill Buying Guide

\n

Checklist Need To Consider Before Value For Money Purchase

\n
","

Why We Need These Types Of Drills

","

Drills are an integral part of the toolbox. They are devices that make our job of driving and fastening any material like plastic, metal or concrete in a very easy and convenient manner. As with other gadgets, a series of innovations led to the advent of the cordless variety and we vouch for it because

","","","","","","","","

A dream come true for the first time workers intending to take a DIY project at home, or quality and speed providing gadget for the contractors and carpenters on a job, cordless drills can do all with reliability, strength and unmatched ease.

","
\"\"
","

What to Look Out for?

","

A very difficult situation every buyer confronts is the choice between a number of prevailing options in the market which all look and sound promising. Here a sensible buy will be the one which is need driven.

","

Accessing what is the job requirement and then picking the right gadget is what should be undertaken.

","

Motor Power

","

A cordless drill is as good as its motor and thus before buying any drill just check what Is the output of the motor. One with good torque and sturdiness is an advisable choice as it can be put to versatile uses.

","

Cost

","

Buying and budget always go hand in hand. There are some best cordless drill brand options available in the market that are often highly-priced and might not suit your budget constraint. It is a good idea to not just blindly run in the brand race and check into other options with similar features and economical prices to suit your budget. This way you will not regret your buying decision later.

","

Battery Life

","

Batteries are the lifelines of the cordless drills. To make sure you get higher work time and spend lesser time on idling, identify the time taken by the battery to fully charge up and for how long can it work on one charge.

","

Grip

","

Drills manual or cordless have to be handheld and thus their gripping comfort is a crucial consideration before making the final buy. A comfortable handheld best power drill should carry a good grip and the anti-skid surfaces can help in avoiding injuries and fatigue from long working hours.

","

Differential Speed

","

A cordless drill should be versatile in its work. Whether it be driving, drilling and fastening it should be able to accomplish all. Different materials and surfaces need different speeds of the drill. A drill with variable speeds gives the user the option of adjusting according to the work area, leading to more precision.

","

Weight and Dimensions

","

The basic reason why a cordless drill is preferred is its portable design and lightweight. Before plunging in and buying check whether the unit is really sleek and light or not, or else the entire purpose of buying can get defeated.

","

Care and Concerns

","

Evaluating what you need the drill for and what will be the frequency of use can help in making the right choice based on the speed, quality, and torque. But what is equally essential is to pay attention to the usage of the tool.

","
\"Care
","","","","","","","","

Conclusion

","

One can surely add a lot of convenience and comfort to his/her drilling jobs with the effectiveness of the cordless drills, but making a judicious and well-researched choice is a must. The above-mentioned list of the best cordless drills available in the market can help in reaching a conclusive buy.

","

The varieties have been carefully listed to help the buyers in understanding the nitty-gritty of each machine in the best possible manner.

","

Make the choice based on your own needs, expertise, and type of job you undertake. It is not sensible to just go by what is promised, checking and gauging into the details for a first-hand experience is a must as the market is flooded with brands that are not very truthful in their claims. So make a safe and well-researched choice for most alluring drilling experience.

","

Editor Choice: Best Economical Buy

","

After evaluating a number of drills on various parameters, the one drill which our experts found to be the perfect value for money is KOBALT1424A-03. This drill is a total stand out with a very economical price range. Apart from a strong and powerful motor which-produces a torque of 650 in-lb, this drill has a staggering speed of 2000RPM.

","
\"KOBALT1424A-03\"
","

The thrill comes when at the pricing you also get dual speed options and 23 clutch settings making the drill perform versatile jobs on different materials with accuracy and great precision. Since it is a brushless tool it is more proficient and effective in its working. Performing all tasks of driving and drilling equally well with the 2-speed gearbox exhibiting 0-500&0-2000RPM speeds, this drill is simply stunning in its work quality.

","

Dimensions of 7.5 x 3 x 9.5 inches and the weight of merely 4 pounds make the unit highly portable and ensure fatigue-free work even if it involves long hours of holding the drill. Overhead jobs and working in tight corners is also very convenient with this drill, owing to its compact sizing.

","

To add to its appeal is the feature which enables one to store the bits on the machine while working, this makes sure that the job is hassle-free without any 

"],"image":"","slug":"best-cordless-battery-drills","skimlink":false,"meta_title":null,"meta_description":null,"meta_keywords":null,"stores":[],"awic_rule":null,"domains":[{"id":12,"name":"Final Scope","domain_url":"finalscope.com","domain_story":{"id":5770,"story_id":5077,"domain_id":12,"deletedAt":null,"createdAt":"2022-01-11T12:37:26.000Z","updatedAt":"2022-01-11T12:37:26.000Z"}}],"categories":[{"id":80,"name":"Review","story_category":{"id":5781,"story_id":5077,"category_id":80,"deletedAt":null,"createdAt":"2022-01-12T07:11:48.000Z","updatedAt":"2022-01-12T07:11:48.000Z"}},{"id":71,"name":"Tools","story_category":{"id":5782,"story_id":5077,"category_id":71,"deletedAt":null,"createdAt":"2022-01-12T07:11:48.000Z","updatedAt":"2022-01-12T07:11:48.000Z"}}]}; let domainData = {"id":12,"name":"Final Scope","domain_url":"finalscope.com","header_script":"","footer_script":null,"logo":"https://idc-ads-media-production.s3.ap-south-1.amazonaws.com/CMS/Dbaqb-1648459634546.png","logo_light":"https://idc-ads-media-production.s3.ap-south-1.amazonaws.com/CMS/LH3CJ-1648459667123.png","og_image":"","apple_touch_icon":"","affiliate_id":"GZHPZ","analytics_id":null,"fb_pixels":null,"fb_page_id":null,"tracking_domain":"www.qadh85ds.com","cdn_domain":null,"description":"Finalscope.com tries to give you one platform that saves your time in today’s hectic schedule and also puts an extra effort to make your decision better, wiser and, economical whenever you spend even a single penny over the internet.","favicon":"","keyword":null,"dms_id":null,"agency_id":1,"user_id":1,"status":"Published","robot_file":null,"ads_file":null,"is_private":false,"deletedAt":null,"createdAt":"2021-12-09T13:30:39.000Z","updatedAt":"2022-07-16T15:37:54.000Z","categories":[{"id":80,"name":"Review","slug":"review","domain_category":{"id":81,"domain_id":12,"is_menu":true,"category_id":80,"deletedAt":null,"createdAt":"2022-07-16T15:37:54.000Z","updatedAt":"2022-07-16T15:37:54.000Z"}},{"id":82,"name":"How To","slug":"how-to","domain_category":{"id":82,"domain_id":12,"is_menu":true,"category_id":82,"deletedAt":null,"createdAt":"2022-07-16T15:37:54.000Z","updatedAt":"2022-07-16T15:37:54.000Z"}},{"id":81,"name":"Blog","slug":"blog","domain_category":{"id":83,"domain_id":12,"is_menu":true,"category_id":81,"deletedAt":null,"createdAt":"2022-07-16T15:37:54.000Z","updatedAt":"2022-07-16T15:37:54.000Z"}}],"banners":[]}; let campaignData = null; let url = new URL(window.location.href); let query = url.search.replace('?',''); let uid = url.searchParams.get("uid") let channelId = campaignData?.channelId const ncidData = url.searchParams.get("ncid") const rsoc = url.searchParams.get("rsfc"); const dyn = url.searchParams.get("dyn"); const pixel = url.searchParams.get("pixel"); const nrm = url.searchParams.get("nrm"); const readMore = document.getElementById('read-more'); readMore.style.visibility = "hidden"; const regex = /pixel=([^&]+)/; const match = query.match(regex); let pixelValue = ""; if (match) { pixelValue = decodeURIComponent(match[1]); } let replacedString; if(pixel && pixel.includes("pixel")){ replacedString = query.replace(regex, "pixel=12345678"); }else{ replacedString = query.replace(regex, `pixel=${pixelValue}`); } if(rsoc){ const elementsToRemove = document.querySelectorAll(".sas-keywords-box"); const newDiv1 = document.createElement("div"); newDiv1.id = "relatedsearches2" newDiv1.className = "blog_artical"; const parentElement = elementsToRemove[0]?.parentNode; parentElement?.insertBefore(newDiv1, elementsToRemove[0]); elementsToRemove.forEach((element,index) => { element.remove(); }); } if(ncidData && rsoc){ const mainContent = document.getElementById('blog-data'); const mainRoute = document.getElementById('main-route'); const leftSidebar = document.getElementById('left_sidebar'); const rightSidebar = document.getElementById('sidebar'); const clickId = `${Date.now()}${Math.floor(Math.random() * 99) + 1000}`; const currentTimestamp = Date.now(); leftSidebar.style.visibility = "hidden"; rightSidebar.style.display = "none"; mainRoute.style.display = "inline"; if(!nrm){ readMore.style.visibility = "visible"; mainContent.style.display = "none"; } readMore.addEventListener('click', function() { readMore.style.visibility = "hidden"; mainContent.style.display = "block"; }); var pageOptions = { pubId: "partner-pub-8886947692614071", // Make sure this is the correct client ID! styleId: "8711171478", relatedSearchTargeting: "content", resultsPageBaseUrl: encodeURI(`https://track.${domainData.domain_url}/?searchpage=https://search.${domainData.domain_url}/web/search&${replacedString}&visitTime=${currentTimestamp}&clickId=${clickId}&ch=${channelId}&platformId=${campaignData?.platformId}&categoryId=${campaignData?.categoryId}&kwsetId=${campaignData?.kwsetId}`) , resultsPageQueryParam: "q", // (Default to "q") Matches the param denoting the query on the search page, terms: "", }; var rsblock1 = { container: "relatedsearches1", relatedSearches: 5, }; var rsblock2 = { container: "relatedsearches2", relatedSearches: 5, }; _googCsa("relatedsearch", pageOptions, rsblock2); _googCsa("relatedsearch", pageOptions, rsblock1); let relatedKeywords = document.getElementsByClassName("keyword-related-a"); for (let i = 0; i < relatedKeywords.length; i++) { const link = relatedKeywords[i]; let url = new URL(window.location); url.pathname = "/web/search"; url.searchParams.set("q", link.textContent.trim()); // Update the desired attribute, such as href link.href = url.href; } // document.querySelector("input[name='pixel']").value = url.searchParams.get("pixel") ?? ""; // document.querySelector("input[name='ncid']").value = url.searchParams.get("ncid") ?? ""; // document.querySelector("input[name='ch']").value = url.searchParams.get("ch") ?? ""; window.addEventListener("beforeunload", function (event) { var link = event.currentTarget.location.href; let nextUrl = new URL(link); // fbq('track', 'Search'); }); } if(dyn =="1" && campaignData){ const mainContent = document.getElementById('blog-data'); const mainRoute = document.getElementById('main-route'); const leftSidebar = document.getElementById('left_sidebar'); const rightSidebar = document.getElementById('sidebar'); const clickId = `${Date.now()}${Math.floor(Math.random() * 99) + 1000}`; const currentTimestamp = Date.now(); leftSidebar.style.visibility = "hidden"; rightSidebar.style.display = "none"; mainRoute.style.display = "inline"; if(!nrm){ readMore.style.visibility = "visible"; mainContent.style.display = "none"; } readMore.addEventListener('click', function() { readMore.style.visibility = "hidden"; mainContent.style.display = "block"; }); var rsblock1 = { container: "relatedsearches1", relatedSearches: 5, }; var rsblock2 = { container: "relatedsearches2", relatedSearches: 5, }; window.addEventListener("beforeunload", function (event) { var link = event.currentTarget.location.href; let nextUrl = new URL(link); }); }