How to Overcome Render Blocking JS PageSpeed ​​Insights Script Popcash

How to Overcome Render Blocking JS PageSpeed ​​Insights Script Popcash
You Bloggers I make sure no stranger to the name Popcash. Popcash is a Popunder network, a company that provides popunder ads for publishers.

With over 50,000 active publishers it has, making this advertising company more and more famous, especially among Blogger seekers like us. How to install easy ad code, fast payment process, and detailed data make publishers more comfortable using this one pop up ad.

However, there is one problem you will get after installing the Popcash ad code, which is a speed score on Google PageSpeed Insightsdecreased. This is because the Popcash ad script is causing a Render-Blocking Javascript alias Javascript blocking rendering issue.

This problem will obviously get you, because the Popcash ad script uses an external hosted Javascript, thus making the script load directly, not by Async or Defer.

Therefore, this time I would like to share the solution for the declining speed of advertising Popcash. Here's the tutorial ...

Render-Blocking Solutions JS Popcash Ads

First, you first search for your Popcash ad script, usually located above </ head> or </ body> in Edit HTML and shaped like this:

<script type = "text / javascript"> 
var uid = 'XXXXXX'; 
var wid = 'XXXXXX'; 
</ script> 
<script type = "text / javascript" src = "// cdn.popcash.net/pop.js"> </ script>

Look at the section of code I marked yellow, add async attribute in it, so it looks like this:

<script type = "text / javascript"> 
var uid = 'XXXXXX'; 
var wid = 'XXXXXX'; 
</ script> 
<script async = "async" type = "text / javascript" src = "// cdn.popcash.net/pop.js"> </ script>

Save your template and see the results. I can confirm your blog loading score on PageSpeed Insights will increase significantly.

Take it easy, by giving this async attribute doesn't make the ads no longer work, meaning will not reduce your income. There is only one effect, the new ad will appear after the blog is loaded at about 30% above and the user has clicked. 

If this article is felt interesting and useful, please share it by pressing the button below :)

Share this

Related Posts

Previous
Next Post »

Insert your comment below...