estimator.dev icon indicating copy to clipboard operation
estimator.dev copied to clipboard

Analyze a local website on localhost

Open Drarig29 opened this issue 5 years ago • 3 comments

It seems it's not possible to analyse a local website.

I tried to clone the repo, launch the firebase emulator and the frontend. But I get this error when I click on Analyze with my localhost URL :

Failed to load resource: net::ERR_BLOCKED_BY_CLIENT      (www.google-analytics.com/collect:1)

Would it be possible to make it work in some way?

Drarig29 avatar Jan 19 '21 11:01 Drarig29

That log isn't an error, it's just a warning that google-analytics was blocked (third party scripts are blocked because they're usually meaningless within the context of this tool).

What do you see when you enter the URL to analyze?

developit avatar Feb 04 '21 22:02 developit

It just does nothing. When I enter the URL of my website on the localhost, I don't have any logs or anything except for the Google analytics warning.

Drarig29 avatar Feb 04 '21 22:02 Drarig29

I think the correct solution here isn't to make dev mode support localhost, it will be to provide a command-line version of this tool that has access to localhost in the first place.

developit avatar Feb 26 '21 17:02 developit