Skip to content
This repository has been archived by the owner on Jun 28, 2023. It is now read-only.

Analyze a local website on localhost #20

Open
Drarig29 opened this issue Jan 19, 2021 · 3 comments
Open

Analyze a local website on localhost #20

Drarig29 opened this issue Jan 19, 2021 · 3 comments

Comments

@Drarig29
Copy link

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?

@developit
Copy link
Contributor

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?

@Drarig29
Copy link
Author

Drarig29 commented Feb 4, 2021

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.

@developit
Copy link
Contributor

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants