Showing posts with label Bloger. Show all posts
Showing posts with label Bloger. Show all posts

How to solve the LCP Issue/ problem on core web vitals due to google adsense ads?

 

Performance blogs or websites will eventually drop when advertised by third parties such as ads on Google Adsense and other digital advertising. To avoid that, a special method is needed to load ads so that loading or website performance is maintained.


Generally the method used to load ads so as not to affect the performance of the website/blog is to apply lazy load to fish (adsense), therefore here I will give a fairly complete review of lazy load adsense.


You can solved the LCP Issue/ problem on core web vitals due to google adsense ads with Lazy Load Adsense.


Without Lazy Load Adsense your LCP can be poor or higher than 4s. The best LCP is lower than 2,5 s.



What is Lazy Load Adsense?

lcp issue adsense 1

Lazy load adsense is a lazy loading or smart loading script on adsense ads to reduce the impact of third party code on the website and maintain optimal website performance.




There are several methods for making smart loading on adsense ads including Ad event listeners, Event-based ad requests and Lazy loading, all three of which can be referred to as lazy load adsense.



Why Should You Use Lazy Load Adsense?


Currently there is no better method than lazy load adsense to solve all kinds of website performance issues caused by third party ads.

There are many things that can be solved with lazy load adsense, related to website/blog performance problems, including:
  • Third party webfont load
  • JavaScript execution time
  • Main-thread work
  • Impact of third party code, etc
That's why in my title tag it says, lazy load adsense is the best solution for the performance of websites or blogs that are installed with third-party ads.

Immediately I will share the lazy load adsense script with all of you, there are 3 (three) lazy load adsense scripts that I will share and both lazy load scripts are equally good for maintaining the performance of your website and also support auto ads.



Instructions for Using Lazy Load Adsense


How to use the lazy load adsense script is very easy, you only need to install one of the lazy load adsense script codes in the head or body of the website, then remove all adsense javascript library tags from the website/blog template.

Change your adsense script :


<script async="async" src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"/>

//or a new version of the javascript library
<script async="async" data-ad-client="ca-pub-1234567890123456" src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"/>

//or updated version
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-4209467777280582" crossorigin="anonymous"></script>


To :


<script type="text/javascript">//<![CDATA[
var lazyloadads=false;window.addEventListener("scroll",function(){(0!=document.documentElement.scrollTop&&false===lazyloadads||0!=document.body.scrollTop&&false===lazyloadads)&&(!function(){var e=document.createElement("script");e.type="text/javascript",e.async=true,e.src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-420946777728xxxx";var a=document.getElementsByTagName("script")[0];a.parentNode.insertBefore(e,a)}(),lazyloadads=true)},true);
//]]></script>

Change the red text with your adsense publisher code



How the Lazy Load Adsense Script Works ?


Lazy Load Adsense is completely different from lazy load images because basically lazy load adsense is a scroll event listener, the adsense javascript library in the lazy load adsense script will only be loaded or run when the user scrolls your page.

And that means that adsense ads will only appear when the user scrolls through your blog or website, if there is no page scrolling activity from the user, the ad will also not be loaded (not displayed).
lcp issue adsense 2



Lazy Load Adsense From Adsense Policy Side


Google is very open to implementing lazy loading on their ads (adsense), Please see the google help center entitled "Viewability best practices". On that page, Google recommends the use of lazy load adsense or also known as smart loading.





For detail step by step yo can watch this video below.


 



That means Google doesn't care about the use of lazy laod adsense. But according to google the best practice for implementing lazy load adsense is to use the Google Publisher Tag (GPT).



Reference


https://www.cordialblogger.com/2021/04/lazy-load-adsense.html
https://nanokaryamandiri.com/

How to fix send button not working or Blogger contact form not working?

 

 

     A blog should have a contact us page. This is to help users when they want to contact the blog admin, and also the requirements if the blog will be registered with google adsense later. There are several ways to add a contact us page in

How to quickly get approved by google adsense ?


How to create and customize robots.txt file on blogger 

    Google AdSense is a CPC (cost-per-click)-based advertising program that allows website owners to earn revenue from the ads installed. Since its first appearance, many website owners have competed to register as an AdSense publisher in Indonesia. It is proven that until now there have been around 2 million more AdSense publishers spread all over the world and every year it is always increasing.

    Google Adsense can be a great way to make some extra cash. However, it can be difficult to get approved. Here are a few tips to quickly get approved:


1. Make sure your website is well-designed. 


    If your website looks amateur, it will likely be rejected. Improve the appearance of your website. You can do this by changing the color, font used, background and so on. Make your website easy for browsers to load. Make sure there are no errors when the website is loaded. Create a website with the best performance. You can use lighthouse to test your website.


2. Make sure your website is relevant to your keywords. 


    If your website is not related to your keywords, Google may not approve it. Keywords that match your content are important in attracting visitors, if your keywords do not match the content of your website, visitors will be disappointed and leave your website. and maybe these disappointed visitors never come back to visit your website. In addition to having an impact on the loss of visitors, keywords that do not match the content of the website will also have an impact on rejection when you try to flatten your website on Google Adsense.


3. Make sure your website is well-written. 


    Poor grammar and poor writing will likely disqualify your website from being approved. Good article writing can also make your website visitors feel at home for a long time reading your article. It can also attract their interest to come back to visit your website at a later time. You can use tools to write articles such as grammarly and so on so that your article writing results are better.




4. Make sure your website is easy to navigate. 


    Poor navigation will likely disqualify your website from being approved. Do not create circular navigation or hidden navigation that makes it difficult for visitors to access it. Make the navigation simple first. Later, if your website has been approved by Google Adsense, you can change the navigation to your liking


5. Make sure your website is mobile-friendly. 


    Poor mobile design will likely disqualify your website from being approved. Now there are more mobile users than desktop users. So you have to make your website mobile friendly.


6. Create 20 articles of minimum. 


    If  your articles less than 20 articles will likely disqualify your website from being approved. on the grounds of low content value. So make a lot of articles but quality ones, not the results of copy and paste from other websites. Copy paste articles will be rejected by Google Adsense.


7. Use custom domain. 


Use default domain from blogger will likely disqualify your website from being approved.


8. Your domain age must be more than a month. 


If domain age lees than 1 month will likely disqualify your website from being approved.



    Okay, that's enough for now from me, if you have any questions, please comment in the comments column. If something goes wrong I apologize. Hopefully helpful, and thank you.

How to submit blog to Adsense ?

 

Do you know AdSense From Google?


How to create and customize robots.txt file on blogger

     Google AdSense is an advertising network run by Google that gives us the opportunity to earn money by displaying text, images, videos and other interactive ads on our websites. These ads are targeted by site content and audience, so they are highly relevant.


      Google AdSense is hassle-free because you don't have to deal with advertisers or worry about raising money. Google manages and maintains relationships with advertisers. They collect payments, collect their management fees, and send you the rest of the money.


      AdSense offers cost-per-click (CPC) advertising which means you earn money every time a user clicks on an ad on your website. The amount received per click varies based on various factors.

Advertise on your blog

Important: Advertisements are not allowed on adult blogs. Learn more about the Blogger Content Policy and Terms of Service.

To make money with Blogger, you can show AdSense and other ads on your pages.

Sign up for New AdSense Account

Important: Make sure you complete all the steps before you click Redirect.

  1. Sign in to Blogger.
  2. In the top left, select a blog.
  3. From the menu on the left, click Earnings and then Create AdSense account.
  4. Select the Google email associated with your Blogger account.
  5. Fill out AdSense form and click Create account.
  6. Enter your payment details and verify your phone number.
  7. Click Submit.
    • The system should automatically take you to Blogger to complete the process. If it doesn't, click Redirect.

Tip: If you’re interrupted before you complete the steps, complete steps 1-5 again. If your AdSense homepage says "We're working on setting you up" for more than a few days, click Accept association.


If you have another email AdSense Account

To give access to your account:

  1. Sign in to your AdSense account.
  2. Click Account.
  3. Click Access and authorization, then click User management.
  4. Enter the email address of the user you want to share your account with, then click Invite user.

    The user is added to the list with a status of "pending".

  5. After the user accepts your email invitation (by clicking the link in the email and associating their Google Account with the AdSense account listed in the invitation) their status changes to "active".
    You can change the user’s access level at any time.

Show ads between your posts

  1. Sign in to Blogger.
  2. In the top left, choose the blog where you want to show ads.
  3. From the menu on the left, click Layout.
  4. Based on your template:
    • In "Blog Posts," under "Page Body," click Edit.
    • In "Blog Posts," under "Main," click Edit.
  5. Check the box next to "Show Ads Between Posts."
  6. Choose the ad format, colors, and how often you want the ads to show up.
  7. Click Save. 
  8. To save the arrangement, in the bottom right, click Save Save.

Show ads in the columns

  1. Sign in to Blogger.
  2. In the top left, choose the blog where you want to show ads.
  3. From the menu on the left, click Layout.
  4. Under "Sidebar," click Add a Gadget.
  5. Next to Adsense, click Add Add.
  6. Configure AdSense and click Save.
  7. To save the arrangement, in the bottom right, click Save Save.

Show ads from other ad services

  1. Sign in to Blogger.
  2. In the top left, choose the blog where you want to show ads.
  3. From the menu on the left, click Layout.
  4. Point to the space where you want to show ads and click Add a gadget.
  5. In the pop-up window, next to "HTML/Javascript," and click Add Add.
  6. Optional: Enter a title.
  7. In the "Content" section, copy and paste the code from the ad service website.
  8. Click Save. 
  9. To save the arrangement, in the bottom right, click Save Save.

Review your Blogger earnings report

  1. Sign in to Blogger.
  2. In the top left, choose a blog to review.
  3. From the menu on the left, click Earnings and then View earnings.

Tip: To learn what each term on your report means, use the AdSense glossary.

What to do if AdSense doesn't turn on

Important: To check that your account is still active, go to AdSense.

  1. Sign in to Blogger.
  2. In the top left, choose a blog.
  3. From the menu on the left, click Layout.
  4. Under the AdSense gadget, click Edit and then Save.
  5. Repeat step 4 for each AdSense gadget on your blog.
  6. At the bottom of the "Blog Posts" gadget, click Edit and then Save.
  7. To save the arrangement, in the bottom right, click Save Save.

Set up an ads.txt file

If your blog is monetized with third-party providers or you’ve manually integrated AdSense in your blog, you need to manually set up the content of the ads.txt file. Learn more about ads.txt for AdSense.

  1. Sign in to Blogger.
  2. In the top left, choose the blog you want to set up.
  3. From the menu on the left, click Settings.
  4. Under "Monetization," turn on Enable custom ads.txt.
  5. Click Custom ads.txt.
  6. Copy the settings from your third-party monetization provider and paste them in the text box.
  7. Click Save.
Tip: To check the content of your ads.txt file, go to http://<your blog address>/ads.txt.


Reference : www.google.com



















How to create and customize robots.txt file on blogger ?

      


    Before creating a robots.txt file, it's a good idea to first know what a robots.txt file is. A robots.txt file is a file that tells search engine crawlers which URLs on your site are accessible to search engine crawlers. This file can be used to hide your site's url from search engine crawlers, but it cannot hide it from google indexing. To hide the url from Google's indexer, we can use the noindex attribute on the url.


Limitation of robots.txt file

    If you want to create or edit a robots.txt file, you must know the limits of URL blocking methods from search engine crawlers. Depending on your goals and situation, we recommend that you consider other mechanisms to ensure your URLs are not discoverable on the web.

  • The robots.txt command may not be supported by other search engines.The instructions in the robots.txt file cannot force crawler behavior on your site; it is the crawler who chooses whether to comply with the instructions or not. While Googlebot and other well-known web crawlers comply with the instructions in the robots.txt file, other crawlers may not. Therefore, if you want to keep your information safe from web crawlers, we recommend using other blocking methods, such as password-protected private files on your server.
  • Different crawlers interpret the syntax in different ways. Although well-known web crawlers follow the commands in the robots.txt file, each crawler may interpret the commands in a different way. You should know the appropriate syntax to handle different web crawlers because some web crawlers may not understand certain instructions.

  • Pages disallowed in robots.txt can still be indexed if linked from other sites.While Google will not crawl or index content blocked by robots.txt, we may still find and index disallowed URLs if they are linked from other sites on the web. As a result, URL addresses and, possibly, other publicly available information such as link text in links to pages may still appear in Google search results. To prevent URLs from appearing in Google search results, password protect your files on the server, use response headers or noindex meta tags, or delete entire pages.



How to create and customize robots.txt file on blogger

Then How to create or custemize robots.txt in blogger ?


Here are the steps:


Step 1Go to your blogger admin dashboard.


Step 2. Select "Setting" >> scroll down and find "Custom robots.txt"


Step 3. Fill the robots.txt


Step 4. Click Save.


By default behavior is that the user agent is allowed to crawl the entire site.


User-agent: *

Disallow:

# or

User-agent: *

Allow:/


# Example 1: Block only Googlebot

User-agent: Googlebot

Disallow: /


# Example 2: Block Googlebot and Adsbot

User-agent: Googlebot

User-agent: AdsBot-Google

Disallow: /


# Example 3: Block all but AdsBot crawlers

User-agent: *

Disallow: /


# Example 4: Block only Googlebot on folder "nogooglebot"

User-agent: Googlebot

Disallow: /nogooglebot/


# Example 5: no Block  Googlebot only on folder "nogooglebot"

User-agent: Googlebot

Disallow: /

Allow: /nogooglebot/





    Okay, that's enough for now from me, if you have any questions, please comment in the comments column. If something goes wrong I apologize. Hopefully helpful, and thank you.


"Look for someone who is willing to accept your situation, your family and your job. In fact, happiness is about being together and being grateful." 



Reference:

https://www.google.com





Create Responsive Side Bar and Top Bar in bloger.


Create responsive sidebar and topbar in blogger


 The main purpose of creating a sidebar is for small screen devices such as tablets, mobile phones. 

Create Grid View on Home Page in Blogger

Create Grid View on Home Page in Blogger

      

     Having a unique blog main page display can be done if we try, generally the appearance of the blogger blog will be static or vertical by default.

Create Site Map Page Grid View on Blogger

Create Site Map Page Grid View on Blogger

 

      The main function of a Sitemap is to show all your content to your viewers. There are basically two types of sitemaps.

How to Remove "?m=1" or "?m=0" in blogger ?

 

       On blogger when a user requests with a mobile device, the url in the address bar will appear additional "?m=1".

How to Remove or Change Footer Powered by or Copyright in blogger ?


 

      Blogger is one of the most popular blogging platforms, It is a Google product that allows us to create a free blog,  but the attribution in the footer make it looks unprofessional. In this blog post I will show you how to remove powered by blogger from blogger blog. 

How to create contact form in blogger 2022 ?

 

     A blog should have a contact us page. This is to help users when they want to contact the blog admin, and also the requirements if the blog will be registered with google adsense later. There are several ways to add a contact us page in

How to remove border and box shadow images in blogger ?



By default, image posts on some Blogger templates have a border and a shadow. For those of you who understand CSS styling, maybe this is very easy. The trick is to edit the img style in the CSS code.

How to Insert Image from Google Photos to your Blog or Website ?

 

Google Photos is a photo sharing and storage service developed by Google. It was announced in May 2015 and spun off from Google+, the company's former social network.

How to Insert Video YouTube to Your Blog Post or Website Post ?

 




What is YouTube?

    YouTube is a free video sharing website that makes it easy to watch online videos.

How to Insert Image From Google Drive to Your Blog or Website ?



    Google Drive is a safe place to back up and access all your files from any device. Easily invite others to view, edit, or comment on any of your files or folders.

How to insert HTML css and Javascript to Your Blog Post






 

    This tutorial is for those who use blogger, and want to insert HTML, JavaScript and CSS source code in your posts.

How to Create Site Map on Page Blogger ?....

 






The main function of a sitemap is to make it easier for visitors to find out the contents of our website.

How to Create Dropdown Menu and Sticky Menu on Blogger or Blogspot

lcp issue adsense 1


    A good website display will make visitors feel at home for a long time on our website and can also attract website visitors to come back to visit our website. therefore it is very important to make the website look better. one of the supporting website displays is the menu display, the monotonous menu display will make visitors bored. 


Okay this time I will show you how to make a dropdown and sticky menu like the picture above.


The steps are as follows:

Featured Post

My google play console account was terminated

A few days ago I received a notification email from Google that my Play Console account has been terminated. The message content is as below...