How to Create One Page For All Download Links with timer | Spider Blogging
How to Create One Page For All Download Links with timer | Spider Blogging
Hello Bloggers Today in this post I will show you how to create one page for all your download links and its very easy to create, So Read the Post until end. So that you can install the code without any errors.
How to Create One Page For All Download Links with timer in Blogger |
Why to Use Extra Download Page and Timer?
Well. We started a blog in the aim of earning money so you will be finding ways to earn more with your site visitors. So it is very easy to create.
Advantage of Download Page with timer:
- If you have AdSense or using any other ad networks , By using this code before downloading will help you to increase the earnings
- It will reduce the bounce rate of your site
- When user is waiting he may see other posts of your site and may get attracted.
Disadvantage of Download Page with timer:
- Visitors may get disturbed, In some sites there will be more than 15 seconds timer
- Users may leave the site due to long timer etc..
How to add it to Blogger?
You can add this to WordPress also Just Follow above steps for both Blogger and WordPress
Its very easy to implement on blogger just follow below steps.
- First create one page where you want to send all your visitors before download. Make sure you keep the page slug in short. for example yourdoamin.com/p/download.html
- After creating the page in Edit HTML section Paste the Below Code
// Add Your Article Here with Ad Codes
<center><p style="font-size:16px;">Please wait, starting download in <strong><span id="countdown">15</span> seconds</strong></p>
<script type="text/javascript">
const queryString = window.location.search;
const Urlparams = new URLSearchParams(queryString);
const fileName = Urlparams.get('link');
// Total seconds to wait
var seconds = 15;
function countdown() {
seconds = seconds - 1;
if (seconds < 0) {
// Download link
window.location.href = `${fileName}`;
} else {
// Update remaining seconds
document.getElementById("countdown").innerHTML = seconds;
// Countdown wait time is 1 second
setTimeout("countdown()", 1000);
}
}
// Run countdown function
countdown();
</script></center>
// Add Your Article Here with adcodes
3. Now Publish the Page. and Don't Forget to Put your articles and adcodes.
How it works?
After you publish the page copy the link of page for example https://themes.spiderblogging.in/p/download-page-with-timer.html Now You just need to put one question mark and after that you need to put link= after that place your download link.
It will look like this https://themes.spiderblogging.in/p/download-page-with-timer.html?link=https://www.moddedguru.com
Warning : Don't forget to put https in links otherwise it will not redirect
4 comments
Thanks man for this amazing valuable data