How to set up Google Analytics with Local

What issue or error are you experiencing?

When setting up Google Analytics for the dev environment using Local, need a Website URL which works in Google Analytics / Data Stream. It does not accept http//:localhost:10003. Need to set up a custom URL which can be used here which can be configured with Local so can see data streaming to GA. Could you suggest the steps to doing that. Am on a Mac.


What steps can be taken to replicate the issue? Feel free to include screenshots, videos, etc

System Details

  • Local Version:

  • Operating System (OS) and OS version:

Local Logs

Attach your Local Logs here (Help Doc - Retrieving Local’s Log)

Security Reminder
Local does a pretty good job of scrubbing private info from the logs and the errors it produces, however there’s always the possibility that something private can come through. Because these are public forums, always review the screenshots you are sharing to make sure there isn’t private info like passwords being displayed.

If you change your Router Mode to site domains can you use that URL?

Preferences>Advanced>Router Mode>Site Domains