Home Internet Adsense Solution-Adsense Revenue And Traffic Suddenly Dropped After Switch On SSL (https://)

Solution-Adsense Revenue And Traffic Suddenly Dropped After Switch On SSL (https://)


Many of the adsense users face the problem of adsense revenue and website traffic suddenly dropped when they switch their website to SSL version . All of search engines including Google take http:// and https:// urls as diffrent url . For example search engien treat http://tectrick.org and https://tectrick.org as diffrent url . This is the main reason to drop traffic , because traffic is devided .

Website Traffic And Adsense revenue Dropped On SSL-TecTrick

Cause to dropped adsense revenue and Traffic after switch on SSL

There are many minor factor behind the dropped revenue . First and the basic is actual traffic is also dropped in some cases . Because of all of website versions are run separately. Such as when you go with http:// the website opens non securely . So your traffic is divided in two parts .So you have you check the following requirement during switch to https://

Requirements during switch to SSL .

Following are the check point to prevent a website from drop traffic issue

  1. Redirect all traffic (http , www) to https://
  2. Use Adsense SSL ad codes
  3. Go to google webmaster tools and add new propertly with SSL Version of domain
  4. Check that even a single page is SSL secure .

    1. Reditect all traffic (http , www) to https://

With redirect all traffic to https:// you force the visitor to only go on secure version of website . To do it you can use the .htaccess file of use any other method .


   2. Use Adsense SSL ad codes

AdSense ad code supports secure ad serving through Secure Sockets Layer (SSL) on all pages, including Hypertext Transfer Protocol Secure (HTTPS) pages.

This means publishers with secure sites served over the HTTPS protocol, can use AdSense ad code to serve SSL-compliant ads.

  • HTTPS-enabled sites require that all content on the page, including the ads, be SSL-compliant. For most users, AdSense ad requests are always SSL-compliant and always served over HTTPS, even when the surrounding site is HTTP. The same ads compete in the auction, so switching your site to HTTPS will have no effect on the ads most users see, or on auction pressure. The only exception is for users located in countries that block or otherwise degrade HTTPS traffic.
  • If your site can be accessed over Hyper Text Transfer Protocol Secure, then you may need to update older versions of AdSense ad code to avoid the AdSense script being blocked as mixed content.
    1. <script src="https://pagead2.googlesyndication.com/pagead/show_ads.js">
    2. <script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js">

    The Hyper Text Transfer Protocol Secure version of the ad code is also safe for HTTP pages; you don’t need to serve two different versions.

  • The SSL-compatible ad code also works on HTTP sites and doesn’t change how ads are served on these sites.

How to use the SSL-compatible ad code

Option 1: Create new ad code

Generate your ad code, and then copy and paste the ad code into the HTML source code of your page where you’d like the ad to appear.

Option 2: Modify your existing ad code

To do this you’ll need to make the following code change:

  • Synchronous ad code
    <script src="//pagead2.googlesyndication.com/pagead/show_ads.js"></script>
  • Asynchronous ad code
    <script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
    <ins class="adsbygoogle"
    (adsbygoogle=window.adsbygoogle || []).push({});

In the examples above, “http” has been removed from both script sources. The source URLs now begin with two forward slashes, like this:

  • Synchronous ad code: "//pagead2.googlesyndication.com/pagead/show_ads.js"
  • Asynchronous ad code: "//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"

    3. Go to google webmaster tools and add new propertly with https://

Keep tracking the changes in google index , crawling and 404 errors . To do this you have to add the new web property on google webmaster tools

4.Check that even a single page is SSL secure .

When you switch to SSL version a common issue comes that pad lock is not showing on a webpage or complete website . This is due to SSL certificatre is not installed correctly or the webpage has unsecured link . So you have to solve the issue . Because Google algorithm reduce the traffic on non secured pages automatically .