Arek
Arek

Reputation: 219

"Unable to post message" console error when trying to access Google In-page Analytics

Console log in Chrome is giving me this message constantly when trying to access In-page Analytics:

Unable to post message to http://heatma.ps. Recipient has origin https://heatma.ps.

I am aware that these two addresses must be exactly the same in order for this feature to work, so I made sure that Default URL in Web Property Settings is set to be https://heatma.ps. I have no idea why Google is still trying to post message to http://heatma.ps instead. I tried clearing cache, tried different browsers to no avail. Any ideas how to fix this would be much appreciated.

Upvotes: 3

Views: 1373

Answers (1)

Cyprian
Cyprian

Reputation: 9451

The problem is that google introduced new version of Analytics.

If you added your site in the old version you will have to make changes in settings using old interface. If you just set it up using new interface the changes will not change settings in the old version, hence you will endup with a confusing information that your new changes did not take place.

How to fix it

Switch to the old analytics version ( by clicking old version in the top right corrner) and navigate to your sites settings, there look at the Website URL filed to verify that it is setup correctly:

enter image description here

Upvotes: 2

Related Questions