OiO.lk Community platform!

Oio.lk is an excellent forum for developers, providing a wide range of resources, discussions, and support for those in the developer community. Join oio.lk today to connect with like-minded professionals, share insights, and stay updated on the latest trends and technologies in the development field.
  You need to log in or register to access the solved answers to this problem.
  • You have reached the maximum number of guest views allowed
  • Please register below to remove this limitation

After adding Google Adsense to web site, it gives my CORS errors

  • Thread starter Thread starter Chanu De Silva
  • Start date Start date
C

Chanu De Silva

Guest
This is my web site : http://hottravelfares.com/ I added Google Adsense to it. Added all the scripts in section and also add codes.

Now this is the error i'm getting.

Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://www.google-analytics.com/collect. (Reason: CORS header ‘Access-Control-Allow-Origin’ missing).

Please visit above web site and open console and you guys will see. I didn't change any code and all added as Google supports says. I know what's CORS issues and tried to fix , but no good. How to fix this ? Please help me.
<p>This is my web site : <a href="http://hottravelfares.com/" rel="nofollow noreferrer">http://hottravelfares.com/</a>
I added Google Adsense to it. Added all the scripts in section and also add codes. </p>

<p>Now this is the error i'm getting.</p>

<blockquote>
<p>Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at <a href="https://www.google-analytics.com/collect" rel="nofollow noreferrer">https://www.google-analytics.com/collect</a>. (Reason: CORS header ‘Access-Control-Allow-Origin’ missing).</p>
</blockquote>

<p>Please visit above web site and open console and you guys will see. I didn't change any code and all added as Google supports says. I know what's CORS issues and tried to fix , but no good. How to fix this ? Please help me.</p>
 

Latest posts

I
Replies
0
Views
1
impact christian
I
Top