10 best free to play games on phones in 2024 – Sportskeeda

There are numerous free to play video games for cell customers to dive into. Nevertheless, only some are adequate to maintain us engaged via superior gameplay and superior graphics. If you’re all the time looking out for cool new cell video games, you’ve come to the fitting place. On this function, we’ll share just a few free to play video games on telephones that don’t burn a gap in your pocket but supply high-quality gameplay.

Do not forget that the free to play video games listed under will not be ranked or put in any order of choice as such. Moderately, they’re randomly positioned.


<img class="promoted-img" data-img="//staticg.sportskeeda.com/skm/belongings/promotional-content/2023/Fortnite-item-shop/Desktop/fortnite-d-banner-02.png" data-img-low="//staticg.sportskeeda.com/skm/belongings/promotional-content/2023/Fortnite-item-shop/Desktop/fortnite-d-banner-02.png?w=720" src="knowledge:picture/svg+xml,” loading=”lazy” width=”1440″ peak=”220″ alt=”fortnite-promotional-banner”>

The ten finest free to play video games for Android and iOS gadgets in 2024

1) Name of Responsibility Cell

Style: Battle-royale

[embedded content]

youtube-cover

Primarily a battle royale title, Name of Responsibility Cell additionally provides a plethora of thrilling modes that may preserve you engaged for a very long time. This consists of Crew Deathmatches, the basic Search and Defuse, Frontline, and extra, making it greater than only a easy battle royale recreation.

With hundreds of thousands taking part in on-line every day, discovering your ultimate match shouldn’t be a difficulty with this title. So do give this widespread battle royale gem a attempt.


2) Genshin Affect

Style: RPG, Motion-adventure, open-world

[embedded content]

youtube-cover

Genshin Affect’s breathtaking open world of Tevyat takes us throughout mind-blowing landscapes akin to the favored Nintendo title The Legend of Zelda. Other than that, it provides a fascinating lore and an ever-expanding roster of characters with engrossing backstories.

In Genshin Affect, you possibly can take part in grand adventures, discover secret dungeons, unlock highly effective elemental powers in your characters, and tackle formidable enemy bosses. General, Genshin Affect is likely one of the finest free to play video games on telephones on the market.


3) Honkai Star Rail

Style: RPG, Motion-adventure, Roguelike

[embedded content]

youtube-cover

Though Genshin Affect stays developer MiHoYo’s flagship providing, Honkai Star Rail nonetheless distinguishes itself as a novel RPG journey via its tactical turn-based battle mechanics.

Much like Genshin Affect, Honkai Star Rail additionally provides a various roster of customizable characters that you just get to command in tactical turn-based battles. Moreover, it takes gamers throughout a shocking interstellar journey with the last word goal of unraveling the mysteries of the alternate universe the place the sport is predicated.


4) Pokemon Go

Style: MMO, Monster Catcher

[embedded content]

youtube-cover

A recreation primarily based on augmented actuality, Pokemon Go allows you to relive the nostalgia of catching all your favourite Pokemon out of your childhood in your cell phone.

This free to play recreation allows you to discover the true world, trying to find Pokemon via your telephone. With the assistance of the critters you’ve caught, take part in health club battles, raids, group challenges, and extra.


5) Warframe Cell

Style: MMORPG, Shooter

[embedded content]

youtube-cover

Globally launched for iOS gadgets not too long ago, Warframe Cell is an action-packed sci-fi journey with over 70 million lively on-line gamers. This free to play recreation provides cross-platform options as nicely since Warframe Cell is a recreation of the favored title that many have loved on their consoles and PCs.


6) Conflict Royale

Style: MMO, Card recreation, Technique

[embedded content]

youtube-cover

A tower protection title and strategic card recreation mashed into one, Conflict Royale is an especially addictive and easy-to-play title the place your aim is to destroy all of the opponent’s towers earlier than time runs out. In Conflict Royale, you have to strategically outperform your opponents within the battle enviornment by putting the suitable playing cards on the proper time throughout a match.


7) Asphalt 9 Legends

Style: On-line racing

[embedded content]

youtube-cover

Asphalt 9 Legends is an exciting arcade racer the place you get to compete towards racing fans all throughout the globe. The sport allows you to customise your dream automobile and race throughout aggressive programs, providing breathtaking graphics.

Asphalt 9 Legends provides a various catalog of automobiles, gorgeous graphics, and intuitive controls, making it the go-to racing recreation on telephones.


8) Free Fireplace Max

Style: Battle-royale

[embedded content]

youtube-cover

Southeast Asia and India’s most beloved battle-royale recreation on cell, Garena’s Free Fireplace Max provides comparable capturing mechanics like PUBG Cell and Name of Responsibility Cell. What units Free Fireplace Max aside is that the brokers you carry have particular talents at their disposal.

This provides an added layer of enjoyable to the battle royale matches. With a plethora of brokers to select from and every having particular talents, Free Fireplace Max provides that additional little bit of zest lacking in many of the up to date battle royale titles.


9) Infinity Ops: Cyberpunk FPS

Style: Multiplayer FPS

[embedded content]

youtube-cover

A full-blown multiplayer sci-fi shooter with a cyberpunk-themed setting, Infinity Ops: Cyberpunk utterly embodies how far shooter video games have come over the previous few years on cellphones.

Other than well-optimized capturing mechanics, gamers get to decide on an unlimited array of inventive weapons to wreak havoc on opponents. The gameplay is crammed to the brim with gunplay options and mobility-based gadgets comparable to Jetpacks and is certainly advisable for anybody in search of a brand-new FPS journey.


10) Legends of Runeterra

Style: MMO, Card recreation, Technique

[embedded content]

youtube-cover

Legends of Runterra represents the world of League of Legends in a card recreation. Launched in 2020, Legends of Runterra is likely one of the finest tactical card video games that includes stunning card designs, tons of of playing cards to select from, boasting distinctive talents, and an general emphasis on long-term technique and decision-making.

The free to play recreation revolves across the League of Legends factions like Bilgewater and Shadow Isles, with every faction having their heroes or champions represented in playable playing cards. Every deck can have two core factions, like those talked about above. Which factions and heroes you choose to construct your deck is as much as you.


Winding up

From rising RPGs to addictive card video games, the way forward for free to play video games on telephones could be very vibrant. With hundreds of thousands of choices on the market, selecting one is usually a daunting process.

So, which amongst these free to play video games will you give it a go? Tell us within the feedback part under. Observe Sportskeeda for extra gaming-related articles, recreation guides, the newest recreation launch information, and extra.

perform KeedaCarousalControlsHelper(enter) {
var self = this;
this.goal = enter.goal;
this.whenCarouselInViewport = enter.whenCarouselInViewport;
this.whenCarouselNotInViewport = enter.whenCarouselNotInViewport;
this.whenFistItemInViewport = enter.whenFistItemInViewport;
this.whenFistItemNotInViewport = enter.whenFistItemNotInViewport;
this.whenLastItemInViewport = enter.whenLastItemInViewport;
this.whenLastItemNotInViewport = enter.whenLastItemNotInViewport;
this.choices = enter.intersectionObserverOptions || {
threshold: 1
};
}
KeedaCarousalControlsHelper.prototype.observeTarget = perform() {
var self = this;
var firstItem = this.goal.firstElementChild;
var lastItem = this.goal.lastElementChild;
var allChildren = this.goal.youngsters;
var firstItem, lastItem;
for (var i = 0; i = 0; i–) {
if (!allChildren[i].classList.comprises(“hidden”)) {
lastItem = allChildren[i];
break;
}
}
this.firstItemObserver = new IntersectionObserver(perform(entries) {
entries.forEach(perform(entry) {
if (entry.isIntersecting) {
self.whenFistItemInViewport(entry);
} else {
self.whenFistItemNotInViewport(entry);
}
})
}, this.choices);
this.lastItemObserver = new IntersectionObserver(perform(entries) {
entries.forEach(perform(entry) {
if (entry.isIntersecting) {
self.whenLastItemInViewport(entry);
} else {
self.whenLastItemNotInViewport(entry);
}
})
}, this.choices);
firstItem && this.firstItemObserver.observe(firstItem);
lastItem && this.lastItemObserver.observe(lastItem);
if (typeof self.whenCarouselInViewport == “perform” && typeof self.whenCarouselNotInViewport == “perform”) {
this.carouselObserver = new IntersectionObserver(perform(entries) {
entries.forEach(perform(entry) {
if (entry.isIntersecting) {
self.whenCarouselInViewport(entry);
} else {
self.whenCarouselNotInViewport(entry);
}
})
}, {
threshold: 1
});
this.carouselObserver.observe(this.goal);
}
return this;
}
KeedaCarousalControlsHelper.prototype.unobserveTarget = perform() {
if (this.carouselObserver) {
this.carouselObserver.disconnect();
}
if (this.firstItemObserver) {
this.firstItemObserver.disconnect();
}
if (this.lastItemObserver) {
this.lastItemObserver.disconnect();
}
return this;
}
KeedaCarousalControlsHelper.prototype.reset = perform() {
return this.unobserveTarget().observeTarget();
}

.smart-menu-container {
background: #ffffff;
padding: 8px 16px 6px;
show: flex;
align-items: heart;
border-bottom: 1px strong #E9E9E9;
box-shadow: 0px 4px 20px #f5f5f5;
}
.scrollable-content-holder {
place: relative;
box-sizing: border-box;
show: flex;
width: 100%;
align-items: heart;
}
.pn-ProductNav::-webkit-scrollbar {
show: none;
}
.pn-ProductNav {
show: inline-block;
vertical-align: backside;
overflow-x: auto;
overflow-y: hidden;
/* For WebKit implementations, present inertia scrolling */
-webkit-overflow-scrolling: contact;
/* We do not need inside inline parts to wrap */
white-space: nowrap;
/* conceal the default scrollbar */
-ms-overflow-style: none;
overflow: -moz-scrollbars-none;
/* auto-hiding scroller for folks utilizing IE */
-ms-overflow-style: -ms-autohiding-scrollbar;
}
.pn-ProductNav_Contents {
float: left;
font-size: 0;
transition: remodel .2s ease-in-out;
place: relative;
}
.pn-ProductNav_Contents-no-transition {
transition: none;
}
.scrollable-content-item {
shade: #2D2D2D !necessary;
width: auto;
padding: 6px 10px;
background: #F5F5F5;
border: 1px strong #E9E9E9;
box-sizing: border-box;
box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.07);
border-radius: 18px;
text-decoration: none;
show: inline-flex;
align-items: heart;
font-size: 12px;
line-height: 14px;
font-weight: regular;
font-style: regular;
font-stretch: regular;
margin-right: 8px;
letter-spacing: regular;
text-decoration: none !necessary;
}
.scrollable-content-item:hover{
box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.2);
}
.scrollable-content-item.chosen{
shade: #ffffff !necessary;
background-image: linear-gradient(281deg, #48b9b0, #0ba0b0);
}
.pn-Advancer {
background: clear;
padding: 0;
border: 0;
width: 24px;
peak: 24px;
border-radius: 15px;
background-color: #ffffff;
show: inline-block;
margin-bottom: 2px;
define: 0;
show: none;
cursor: pointer;
align-self: heart;
}
.pn-Advancer_Left {
margin-right: 5px;
left: 0;
}
.pn-Advancer_Right {
margin-left: 5px;
proper: 0;
}
.pn-Advancer_Icon {
width: 20px;
peak: 44px;
fill: #bbb;
}
.pn-ProductNav_Indicator {
place: absolute;
backside: 0;
left: 0;
peak: 4px;
width: 100px;
background-color: clear;
transform-origin: 0 0;
transition: remodel .2s ease-in-out, background-color .2s ease-in-out;
}
.wiki-menu-item {
padding: 0px;
}
.wiki-menu-item:hover {
shade: #D32F2F;
background: #FBEBEB;
border: 1px strong #D32F2F;
box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.07);
}
.wiki-menu-item a {
shade:#2D2D2D !necessary;
}
.wiki-submenu-item {
width: 100%;
show: flex;
justify-content: space-between;
hole: 10px;
align-items: heart;
text-decoration: none !necessary;
shade:#666666;
padding: 10px;
}
button.wiki-submenu-item {
border: 0;
background: inherit;
}
.drop-down-menu:hover > .wiki-submenu-item, .drop-down-menu li:hover > .wiki-submenu-item, .wiki-menu-item:hover > .wiki-submenu-item{
shade: #D32F2F !necessary;
}
.drop-down-icon {
background-image: url(//staticg.sportskeeda.com/skm/belongings/menu/arrow-down.svg);
width: 20px;
peak: 20px;
background-size: cowl;
cursor: pointer;
background-repeat: no-repeat;
}
.explore-icon {
background-image: url(//staticg.sportskeeda.com/skm/belongings/discover.png);
width: 20px;
peak: 15px;
background-size: cowl;
cursor: pointer;
background-repeat: no-repeat;
}
.drop-down-menu {
place: absolute;
width: 90%;
margin: 0;
margin-left: 5%;
text-align: left;
font-size: 14px;
background: #FFFFFF;
border: 1px strong #E9E9E9;
box-shadow: -1px 6px 12px rgba(0, 0, 0, 0.1);
border-radius: 6px;
z-index: 99998;
}
.drop-down-menu ul {
max-height: 300px;
overflow-y: scroll;
}
.drop-down-menu li:hover {
shade: #D32F2F;
background: #FBEBEB;
}
.back-block {
font-weight: 500;
font-size: 16px;
line-height: 21px;
shade: #2d2d2d;
}
.back-block.back-nav {
border-bottom: 1px strong #E9E9E9;
padding: 10px 4px;
}
.back-nav span {
background: none;
show: flex;
width: 100%;
align-items: heart;
hole: 2px;
}
.back-nav img {
width: 20px;
peak: 20px;
object-fit: cowl;
remodel: rotate(180deg);
}
.back-block a {
shade: #2D2D2D;
}
.explore-menu-item {
min-width: 60px;
place: absolute;
proper: -40px;
peak: 35px;
prime: -3px;
}
.article-p {
width:auto !necessary;
place: relative;
shade: #666666;
font-size: 14px !necessary;
margin-bottom: 0 !necessary;
flex-shrink: 0;
margin-right: 4px;
}
.mobile-p {
font-size: 12px !necessary;
margin-top: 8px;
padding-right: 4px !necessary;
padding-left: 8px !necessary;
}
#tag-cloud {
clear: each;
margin: 0 auto;
}
.sports-more-info {
shade: #666666;
clear: each;
font-weight: 500;
margin: 12px 0 0;
}
.sports-more-info.m-sports-more-info {
padding-left: 8px;
}

Fast Hyperlinks

var scrollableMenuLength = “3”;
var isMenuFromExplore = false;
perform initScrollableMenu() {
if (scrollableMenuLength > 0) {
var pnProductNav = $(“#pnProductNav”);
var pnProductNavContents = $(“#pnProductNavContents”);
// Out advancer buttons
var pnAdvancerLeft = $(“#pnAdvancerLeft”);
var pnAdvancerRight = $(“#pnAdvancerRight”);
var scrollAmount = 0;
var scrollMin = 0
var scrollMax = pnProductNavContents.clientWidth;
pnAdvancerRight.onclick = perform() {
pnProductNav.scrollTo({
prime: 0,
left: Math.max(scrollAmount += 240, scrollMax),
habits: ‘easy’
});
};
pnAdvancerLeft.onclick = perform() {
pnProductNav.scrollTo({
prime: 0,
left: Math.max(scrollAmount -= 240, scrollMin),
habits: ‘easy’
});
};
new KeedaCarousalControlsHelper({
goal: pnProductNavContents,
whenFistItemInViewport: perform(entry) {
pnAdvancerLeft.type.show = “none”;
},
whenFistItemNotInViewport: perform(entry) {
pnAdvancerLeft.type.show = “inline-block”;
},
whenLastItemInViewport: perform(entry) {
pnAdvancerRight.type.show = “none”;
},
whenLastItemNotInViewport: perform(entry) {
pnAdvancerRight.type.show = “inline-block”;
}
}).observeTarget();
}
}
var topOfDropDown = ”;
perform toggleWikiDropDown(slug, degree, tag, flag, fromExplore) {
var node = $(“#” + slug);
if (!node) {
return;
}
if (hasClass(node, “hidden”)) {
showDropDown(slug, degree, tag, flag, fromExplore);
} else {
closeAllDropDown();
}
}
perform setDropDownPosition(ingredient) {
var WIKI_HEADER_HEIGHT = 150;
if (window.scrollY > WIKI_HEADER_HEIGHT) {
ingredient.type.place = “fastened”;
ingredient.type.prime = “50px”;
} else if (window.scrollY < WIKI_HEADER_HEIGHT) {
ingredient.type.place = "absolute";
ingredient.type.prime = "236px";
}
}
perform showDropDown(slug, degree, tag, flag, fromExplore) {
var nodeId = "#" + slug;
var dropDownNode = $(nodeId);
if (!dropDownNode) {
return;
}
var rec = tag.parentNode.getBoundingClientRect();
isMenuFromExplore = fromExplore == null ? isMenuFromExplore : fromExplore;
closeAllDropDown();
updateMenu(nodeId);
if (flag && (degree == 0 || degree == -1)){
degree == 0 ? tag.lastChild.type.remodel = "rotate(180deg) scale(1.5)" : true;
topOfDropDown = rec.prime + window.scrollY + 35 + "px";
}
setDropDownPosition(dropDownNode);
$('physique').appendChild(dropDownNode);
dropDownNode.classList.take away("hidden");
}
perform updateMenu(nodeId) {
node = $(nodeId).querySelector('#back-block-0');
if (isMenuFromExplore && $(nodeId).getAttribute('data-level') == '0') {
node.classList.take away('hidden');
} else if (!isMenuFromExplore && $(nodeId).getAttribute('data-level') == '0') {
node.classList.add('hidden');
}
}
window.addEventListener("DOMContentLoaded", perform() {
doc.addEventListener('click on', perform(e) {
if (e.goal.className != 'drop-down-icon' &&
e.goal.className != 'explore-icon' &&
e.goal.className != 'back-block' &&
e.goal.className != 'wiki-submenu-item' &&
e.goal.className != 'wiki-menu-toggle'
) {
closeAllDropDown();
}
})
});
perform closeAllDropDown() {
var nodes = $all(".drop-down-menu");
var menu = $all(".wiki-menu-item .drop-down-icon");
if (menu && menu.size) {
for(var i = 0; i < menu.size; i++) {
menu[i].type.remodel = "scale(1.5)";
}
}
if (nodes && nodes.size) {
for(var i = 0; i < nodes.size; i++) {
nodes[i].classList.add("hidden");
}
}
}
perform trackScrollableMenuClick(identify, pageType) {
if (!gtag || !identify) return;
ga_event('Tag Cloud Click on', 'Cell', identify); // older occasion, holding it for legacy functions
gtag('occasion', 'click on', {
"event_category": pageType,
"event_label": identify
});
}

(perform() {
if (typeof initScrollableMenu === “perform”) {
initScrollableMenu();
}
})();

Edited by Sijo Samuel Paul

(perform() {
var maxScrollCaptured = 0;
var eventTriggered = false;
var gaScrollObject = {
‘event_label’: “percentage_scrolled”
}
var sessionCookieValue = getCookie(“keeda-session-uuid”);
if (sessionCookieValue) {
gaScrollObject[‘keeda-session-uuid’] = sessionCookieValue;
}
var userID = getCookie(“fw_ID”);
if (userID) {
gaScrollObject[‘loggedIn_user_id’] = userID;
}
perform calculateScrollDepth() {
var targetEle = doc.getElementById(“in-house-ads”);
gaScrollObject[‘event_category’] = “article_read_depth”;
gaScrollObject[“post_id”] = “1887713”;
gaScrollObject[‘content_total_pages’] = “1”;
gaScrollObject[‘content_current_page’] = “1”;
if (!targetEle) return;
var scrollDepth = window.scrollY.toFixed(2);
var targetScrollHeight = targetEle.offsetTop.toFixed(2);
var percentageScrolled = (100 – ((targetScrollHeight-scrollDepth)/targetScrollHeight)*100).toFixed(2);
if (percentageScrolled > 100) {
percentageScrolled = 100;
}
if (maxScrollCaptured < percentageScrolled) {
maxScrollCaptured = percentageScrolled;
}
if (!eventTriggered && maxScrollCaptured == 100) {
sendPageDepthScrollGAEvent();
window.removeEventListener('pagehide', recalculateDepthAndSendGAEvent);
eventTriggered = true;
}
}
perform sendPageDepthScrollGAEvent() {
gaScrollObject["scrolled_depth"] = Math.spherical(maxScrollCaptured);
gtag('occasion', 'scroll', gaScrollObject);
}
var timeoutScroll = 0;
perform articleDepthDebounce(fn, delay) {
clearTimeout(timeoutScroll);
timeoutScroll = setTimeout(fn, delay);
}
perform recalculateDepthAndSendGAEvent() {
calculateScrollDepth();
sendPageDepthScrollGAEvent();
}
doc.addEventListener('scroll', perform(e) {
articleDepthDebounce(calculateScrollDepth, 100);
})
window.addEventListener('pagehide', recalculateDepthAndSendGAEvent);
})();
(perform(){
var pageType = "Articlepage";
var pageLoadedTime = Date.now();
var postId = "1887713";
var timeSpentHandlerLoaded = false;
perform loadTimeSpentHandler() {
if (timeSpentHandlerLoaded) return;
timeSpentHandlerLoaded = true;
perform timeSpentHandler() {
var timeSpentDifference = Date.now() – pageLoadedTime;
var timeSpentSeconds = Math.flooring(timeSpentDifference/1000);
var payload = {
"transport_type": "beacon",
"time_spent_seconds": timeSpentSeconds
};
var sessionCookieValue = getCookie("keeda-session-uuid");
if (sessionCookieValue) {
payload['keeda-session-uuid'] = sessionCookieValue;
}
if (postId && (pageType == "Articlepage" || pageType == "slideshow" || pageType == "Singlepageslideshow")) {
payload["post_id"] = postId;
gtag("occasion", "time_spent_on_article", payload);
} else if (pageType == "Homepage") {
payload["device"] = IS_MOBILE ? "Cell" : "Desktop";
gtag("occasion", "time_spent_on_homepage", payload);
} else if (pageType == "wikipage" || pageType == "WikiHomepage" || pageType == "wiki_tagpage") {
payload["wiki_page"] = window.location.href;
payload["page_id"] = "";
payload["wiki_lang"] = "";
gtag("occasion", "time_spent_on_wikipage", payload);
} else if (pageType == "Tagpage" || pageType == "playerpage" || pageType == "teampage" || pageType == "Eventpage" || "") {
payload["tag_page"] = window.location.href;
payload["page_id"] = "";
gtag("occasion", "time_spent_on_staticpage", payload);
}
}
doc.addEventListener("visibilitychange", perform() {
if (doc.visibilityState === "seen") {
pageLoadedTime = Date.now();
} else {
timeSpentHandler();
}
});
}
doc.addEventListener("scroll", loadTimeSpentHandler, { as soon as: true });
doc.addEventListener("mousemove", loadTimeSpentHandler, { as soon as: true });
doc.addEventListener("touchmove", loadTimeSpentHandler, { as soon as: true });
})();
var trackedClick = false;
perform trackBelowContentFeedClick(occasion) {
if(trackedClick) {
return true;
}
var clickedElement = occasion.goal;
whereas(!!clickedElement.parentNode) {
if(hasClass(clickedElement, "story-wrapper")) {
trackedClick = true;
gtag('occasion', 'click on', {
'event_category': "All Sports_Articles_Related Articles_Below Article_Desktop_17March2021",
'event_label': Array.prototype.indexOf.name(clickedElement.parentNode.getElementsByClassName("story-wrapper"), clickedElement) + 1,
'non_interaction': true
});
return true;
}
clickedElement = clickedElement.parentNode;
}
return true;
}
if ($(".comments-total-container")) {
$(".comments-total-container").addEventListener("click on", perform () {
var gaObject = {
'event_category': "Feedback",
'event_label': "No_of_comments",
}
var sessionCookieValue = getCookie("keeda-session-uuid");
if (sessionCookieValue) {
gaObject['keeda-session-uuid'] = sessionCookieValue;
}
var userID = getCookie("fw_ID");
if (userID) {
gaObject['loggedIn_user_id'] = userID;
}
gtag('occasion', 'click on', gaObject);
})
}
if ($(".comments-total-container-bottom")) {
$(".comments-total-container-bottom").addEventListener("click on", perform () {
var gaObject = {
'event_category': "Feedback",
'event_label': "No_of_comments_bottom",
}
var sessionCookieValue = getCookie("keeda-session-uuid");
if (sessionCookieValue) {
gaObject['keeda-session-uuid'] = sessionCookieValue;
}
var userID = getCookie("fw_ID");
if (userID) {
gaObject['loggedIn_user_id'] = userID;
}
gtag('occasion', 'click on', gaObject);
})
}
doc.addEventListener("click on", trackBelowContentFeedClick.bind(this));
var followButtons = $all('.btn-follow');
var followButtons = $all('.follow-btn');
var authorId;
var supply;
/* for person profile web page */
perform displayFollowContent() {
addClass($('.follow-pc'),'hidden');
removeClass($('.follow-content .author-profile-info'), 'hidden');
removeClass($('.follow-content .follow-author'),'hidden');
}
perform followCallback (resp) {
knowledge = JSON.parse(resp);
displayFollowContent();
for(i=0;i<followButtons.size;i++){
if (knowledge.standing == true) {
removeClass(followButtons[i], "comply with");
addClass(followButtons[i], "following");
removeClass(followButtons[i], "hidden");
if(supply == "article") {
followButtons[i].querySelector('span').innerText = "Following";
if (followButtons[i].querySelector('img')) {
followButtons[i].querySelector('img').take away();
}
} else {
followButtons[i].innerHTML = "FOLLOWING";
}
} else {
removeClass(followButtons[i], "following");
addClass(followButtons[i], "comply with");
removeClass(followButtons[i], "hidden");
if(supply == "article") {
followButtons[i].querySelector('span').innerText = "Observe";
if (!followButtons[i].querySelector('img')) {
var plusImg = doc.createElement('img');
plusImg.peak = "10";
plusImg.width = "10";
plusImg.src = "//staticg.sportskeeda.com/skm/belongings/plus-icon.svg";
followButtons[i].querySelector('span').insertAdjacentElement("beforebegin", plusImg);
}
} else {
followButtons[i].innerHTML = "FOLLOW";
}
}
}
}
perform followErrorCallback(error) {
console.log(error);
}
perform initFollow(id, sort) {
authorId = id;
supply = sort;
var myUserId = getCurrentUserID();
if (myUserId) {
if(authorId != myUserId) {
pureJSAjaxGet('https://a-login.sportskeeda.com/en/person/' + authorId + '/is-followed',
followCallback,
followErrorCallback,
true);
} else {
addClass($('.follow-pc'),'hidden');
removeClass($('.follow-content .author-profile-info'), 'hidden');
}
} else {
displayFollowContent();
for(i=0;i<followButtons.size;i++){
removeClass(followButtons[i], "following");
addClass(followButtons[i], "comply with");
removeClass(followButtons[i], "hidden");
if(supply == "article") {
followButtons[i].querySelector('span').innerText = "Observe";
if (!followButtons[i].querySelector('img')) {
var plusImg = doc.createElement('img');
plusImg.peak = "10";
plusImg.width = "10";
plusImg.src = "//staticg.sportskeeda.com/skm/belongings/plus-icon.svg";
followButtons[i].querySelector('span').insertAdjacentElement("beforebegin", plusImg);
}
} else {
followButtons[i].innerHTML = "FOLLOW";
}
}
}
}
initFollow('869189', 'article');
perform flipFollowStatus(motion) {
for(i=0;i<followButtons.size;i++){
if (motion == 'comply with') {
removeClass(followButtons[i], "comply with");
addClass(followButtons[i], "following");
if(supply == "article") {
followButtons[i].querySelector('span').innerText = "Following";
if (followButtons[i].querySelector('img')) {
followButtons[i].querySelector('img').take away();
}
} else {
followButtons[i].innerHTML = "Following";
}
} else {
removeClass(followButtons[i], "following");
addClass(followButtons[i], "comply with");
if (supply == "article") {
followButtons[i].querySelector('span').innerText = "Observe";
if (!followButtons[i].querySelector('img')) {
var plusImg = doc.createElement('img');
plusImg.peak = "10";
plusImg.width = "10";
plusImg.src = "//staticg.sportskeeda.com/skm/belongings/plus-icon.svg";
followButtons[i].querySelector('span').insertAdjacentElement("beforebegin", plusImg);
}
} else {
followButtons[i].innerHTML = "Observe";
}
}
}
}
for(i = 0; i 0) ? userName.substring(0, userName.indexOf(‘ ‘)) : userName;
if (myUserId) {
var ths = this;
var motion = ‘comply with’;
if(ths.innerText == “Following”) {
motion = ‘un-follow’;
}
pureJSAjaxPut(‘https://a-login.sportskeeda.com/en/person/’ + authorId + ‘/’ + motion,'{}’,
perform (resp) {
knowledge = JSON.parse(resp);
if (knowledge.standing == true) {
flipFollowStatus(motion);
if (supply == ‘profile’) {
getFollowsCount();
}
if(motion == ‘comply with’) {
showMessage(“Hey! You’ve got simply {followed} “+firstName+”. We’ll notify you after they publish new content material.”);
}
gtag(‘occasion’, motion, {
‘event_category’: ‘FOLLOW’,
‘event_label’: supply,
‘non_interaction’: true
});
} else {
var actionRevert = (motion == ‘comply with’) ? ‘un-follow’ : ‘comply with’;
flipFollowStatus(actionRevert);
}
},
perform (error) {
console.log(error);
var actionRevert = (motion == ‘comply with’) ? ‘un-follow’ : ‘comply with’;
flipFollowStatus(actionRevert);
}
);
flipFollowStatus(motion);
} else {
window.location = (‘/login?after-login=’ + window.location.href );
}
};
perform setAdFloatingParams() {
if ($(“.rightStickyTopWrap”) && $(‘.fragments-container’)) {
$(“.rightStickyTopWrap”).type.peak = ($(‘.fragments-container’).clientHeight – 44) + “px”;
}
}
setInterval(perform() {
setAdFloatingParams();
}, 2000);
window.addEventListener(“load”, setAdFloatingParams.bind(this));
window.addEventListener(“DOMContentLoaded”, perform() {
var trackCopyURL = “https://a-login.sportskeeda.com/en” + “/track-events”;
doc.addEventListener(“scroll”, addevents_youtube_embeds.bind(this));
doc.addEventListener(“mousemove”, addevents_youtube_embeds.bind(this));
doc.addEventListener(‘copy’, logCopyEvent.bind(this));
perform addevents_youtube_embeds() {
var youtube = doc.getElementsByClassName(“youtube”);
for (var i = 0; i < youtube.size; i++) {
var ytURL = youtube[i].dataset.embed;
var youtubeWrapper = youtube[i].parentElement;
var youtubeCoverImg = youtube[i].getElementsByTagName("img")[0];
var iframe = doc.createElement( "iframe" );
iframe.setAttribute( "width", youtubeCoverImg.width );
iframe.setAttribute( "peak", youtubeCoverImg.peak );
iframe.setAttribute( "src", "https://www.youtube.com/embed/"+ ytURL);
iframe.setAttribute( "frameborder", "0" );
iframe.setAttribute( "allowfullscreen", "");
youtubeWrapper.innerHTML = "";
youtubeWrapper.appendChild( iframe );
};
var iframeEmbeds = doc.getElementsByClassName("iframe-embeds");
for (var i = 0; i < iframeEmbeds.size; i++) {
var iframeSRC = iframeEmbeds[i].dataset.embed;
var aspectRatio = iframeEmbeds[i].dataset.aspectratio;
var peak = iframeEmbeds[i].dataset.peak;
var supply = iframeEmbeds[i].dataset.supply;
var allowValue = iframeEmbeds[i].dataset.permit;
var iframeWrapper = iframeEmbeds[i].parentElement;
var iframe = doc.createElement( "iframe" );
iframe.setAttribute( "width", "100%");
if(aspectRatio) {
iframe.setAttribute( "type", "peak: calc(" + iframeEmbeds[i].clientWidth + "px * " + aspectRatio + ")");
} else if (peak) {
iframe.setAttribute("type", "peak: "+ peak + "px");
}
iframe.setAttribute( "src", iframeSRC);
iframe.setAttribute( "frameborder", "0" );
iframe.setAttribute( "allowfullscreen", "");
if (allowValue) {
iframe.setAttribute("permit", allowValue);
}
if (supply && iframeWrapper.parentElement) {
iframeWrapper.parentElement.classList.add(supply);
}
iframeWrapper.innerHTML = "";
iframeWrapper.appendChild( iframe );
}
}
perform logCopyEvent() {
var payload = { event_type: "copy", post_id: 1887713 };
pureJSAjaxPost(trackCopyURL, payload, perform() {}, perform () {
console.error('Failed to avoid wasting copy occasion');
}, null, true);
}
});
(perform() {
var followUsCTA = $(".follow-us-cta");
perform followUsGoogleNews(){
if (!followUsCTA) return;
var st = window.pageYOffset || doc.documentElement.scrollTop;
if ( st 300 ) {
followUsCTA.classList.take away(“hidden”);
} else {
followUsCTA.classList.add(“hidden”);
}
}
window.addEventListener(“scroll”, followUsGoogleNews);
})();
var followUsCTAs = $all(“.follow-action”);
for (var i = 0; i < followUsCTAs.size; i++) {
followUsCTAs[i].addEventListener("click on", perform(e) {
var ingredient = e.currentTarget;
var elementClass = ingredient.getAttribute("class");
var payload =
if (elementClass.consists of("follow-us-cta")) {
payload["position"] = "header";
} else if (elementClass.consists of("follow-action-bottom")) {
payload["position"] = "backside";
} else {
payload["position"] = "prime";
}
gtag("occasion", "Follow_Us", payload);
});
}

(perform() {
var article_sponserd_links = $all(“.sponsored_link”);
for (var i = 0; i < article_sponserd_links.size; i++) {
article_sponserd_links[i].addEventListener("click on", perform(ingredient) {
var sportCategory = "esports" || "best-free-play-phone-games";
var isDesktop = "1";
var payload = {
"sponsed_link": ingredient.goal.href,
"sponsed_link_text": ingredient.goal.innerHTML,
"page_url": window.location.href,
"class": sportCategory,
}
if (isDesktop) {
payload["device"] = "Desktop"
} else {
payload["device"] = "Cell"
}
gtag("occasion", "Article_Sponsered_Link_Click", payload);
});
}
var bottom_tagline_links = doc.querySelectorAll('.bottom_tagline_link');
for (var i = 0; i < bottom_tagline_links.size; i++) {
bottom_tagline_links[i].addEventListener('click on', trackBottomTaglineClickEvent.bind(this));
}
var bottom_tagline_video_links = doc.querySelectorAll('.bottom-tagline-video-link');
for (var i = 0; i < bottom_tagline_video_links.size; i++) {
bottom_tagline_video_links[i].addEventListener('click on', trackBottomTaglineClickEvent.bind(this));
}
perform trackBottomTaglineClickEvent(ingredient) {
var taglinePosition = ingredient.currentTarget.getAttribute("data-tab");
var taglineUrl = ingredient.currentTarget.getAttribute("href");
var payload = {
"tagline_position": taglinePosition,
"destination_url": taglineUrl
}
trackGAEvent("Clicks_BottomTagline", payload);
}
var bottom_tagline_text_container = doc.querySelectorAll('.bottom-tagline');
for (var i = 0; i < bottom_tagline_text_container.size; i++) {
trackBottomTaglineImpression(bottom_tagline_text_container[i]);
}
var bottom_tagline_video_container = doc.querySelectorAll('.bottom-tagline-video');
for (var i = 0; i < bottom_tagline_video_container.size; i++) {
trackBottomTaglineImpression(bottom_tagline_video_container[i]);
}
var bottom_tagline_promo_container = doc.querySelectorAll('.bottom-tagline-banner');
for (var i = 0; i < bottom_tagline_promo_container.size; i++) {
trackPromoBannerImpression(bottom_tagline_promo_container[i]);
var bannerLink = bottom_tagline_promo_container[i].querySelector('.bottom-tagline-banner-link');
if (bannerLink) {
bannerLink.addEventListener('click on', trackPromoBannerClickEvent);
}
}
perform trackPromoBannerClickEvent(e) {
var goal = e.goal.closest(".bottom-tagline-banner-link");
if (!goal) return;
var taglinePosition = goal.getAttribute("data-tab");
var taglineUrl = goal.getAttribute("href");
trackGAEvent("TAGLINE_CLICK", {
"place": taglinePosition,
"variant": "promo-banner",
"destination_url": taglineUrl
});
}
perform trackBottomTaglineImpression(ingredient) {
var taglinePosition = ingredient.getAttribute("data-tab");
trackImpressionGAEventWhenInViewport({
ingredient: ingredient,
identifier: "element_" + taglinePosition,
eventName: "Tagline_Impression",
eventParams: {
"tagline_position": taglinePosition,
}
});
}
perform trackPromoBannerImpression(ingredient) {
var taglinePosition = ingredient.getAttribute("data-tab");
trackImpressionGAEventWhenInViewport({
ingredient: ingredient,
identifier: "tagline_promo_banner_" + taglinePosition,
eventName: "TAGLINE_IMPRESSION",
eventParams: {
"place": taglinePosition,
"variant": "promo-banner",
}
});
}
// this may hearth ga occasion on anchor tag clicks in article web page
var hyperLinks = $all("#article-content p a, #article-content desk a");
for (var i = 0; i < hyperLinks.size; i++) {
var hyperLink = hyperLinks[i];
hyperLink.addEventListener("click on", sendHyperlinkClickedGAEvent);
}
perform sendHyperlinkClickedGAEvent() {
trackGAEvent("Clicks_hyperlinks", {
destURL: this.href,
});
}
})();

(perform() {
var spotifyMonitor = setInterval(perform() {
var elem = doc.activeElement;
if (elem && elem.tagName == “IFRAME”) {
var src = elem.getAttribute(“src”);
if (src && src.indexOf(“open.spotify.com”) > -1) {
clearInterval(spotifyMonitor);
gtag(“occasion”, “ARTICLE_EMBED_CLICK__SPOTIFY”, {
hyperlink: window.location.href
});
}
}
}, 100);
})();
(perform() {
perform lazyTweetLoader() {
var twitterEmbeds = doc.querySelectorAll(“.hidden-lazy”);
var intersectionObserverForLazyHidden = new IntersectionObserver(
perform(entries) {
entries.forEach(perform(entry) {
if (entry.isIntersecting) {
var verifiedElement = entry.goal.querySelector(“.verified”);
removeClass(verifiedElement, “hidden”);
var likeElement = entry.goal.querySelector(“.tweet-like-icon”);
removeClass(likeElement, “hidden”);
var retweetElement = entry.goal.querySelector(“.tweet-retweet-icon”);
removeClass(retweetElement, “hidden”);
var twitterLogoElement = entry.goal.querySelector(“.tweet-logo”);
removeClass(twitterLogoElement, “hidden”);
}
});
}, {
threshold: 0.1
}
);
twitterEmbeds.forEach(perform(ingredient) {
intersectionObserverForLazyHidden.observe(ingredient);
});
}
window.addEventListener(“DOMContentLoaded”, perform() {
lazyTweetLoader();
});
}());

(perform() {
var storyMap = {};
const storyGAObserver = new IntersectionObserver (perform (entries) {
entries.forEach(perform (story, index) {
if(story.isIntersecting) {
var storyLink = story.goal.querySelector(“.list-story-link”);
var storyID = storyLink.getAttribute(“data-id”);
var storyNumber = storyLink.getAttribute(“story-sequence”);
var vacation spot = story.goal.querySelector(“.story-link-overlay”).href;
var title = story.goal.querySelector(“.block-story-title”).innerText;
trackGAEvent(“MORE_FROM_SK_IMPRESSION”, {
“sequence”: storyNumber,
“destinationURL” : vacation spot,
“destinationTitle” : title
});
story.goal.addEventListener(“click on”, perform() {
trackGAEvent(“MORE_FROM_SK_CLICKS”, {
“sequence”: storyNumber,
“destinationURL” : vacation spot,
“destinationTitle” : title
});
});
storyMap[storyID] = true;
}
storyGAObserver.unobserve(story.goal);
});
},
{
threshold: 0.5
});
perform observeStoryWrapper() {
var storyWrappers = doc.querySelectorAll(“.story-wrapper, .social-story-wrapper”);
storyWrappers.forEach(perform(story, index) {
storyLink = story.querySelector(“.list-story-link”);
storyLink.setAttribute(“story-sequence”, index + 1);
storyID = storyLink.getAttribute(“data-id”);
if(!storyMap[storyID]) {
storyGAObserver.observe(story);
}
});
}
window.addEventListener(“DOMContentLoaded”, perform() {
doc.addEventListener(“scroll”, debounce(observeStoryWrapper, 500) , { passive: true })
});
})();