Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error loading matomo js #78

Open
DJZenose opened this issue Jul 12, 2022 · 3 comments
Open

Error loading matomo js #78

DJZenose opened this issue Jul 12, 2022 · 3 comments

Comments

@DJZenose
Copy link

for context, I'm using the proxy on a server running WordPress 7.4 and I have the appropriate tracking code applied

I have the proxy installed in a directory under root (matomo/matomo.php) and am referencing it in the tracker as u+'matomo/matomo.php'

When I load the page, the request for matomo.php gives a 200 with the response of /* there was an error loading matomo.js */.

I cant quite figure out where the issue is at.

@massimomarazzi
Copy link

massimomarazzi commented Aug 3, 2022

Apply this pull request #76 and set DEBUG_PROXY=true in proxy.php. then you'll see debug-proxy.log into tracker-proxy dir with debug details.

@chrislp
Copy link

chrislp commented Dec 8, 2022

@DJZenose I had the same issue when the tracked site and the matomo instance were on the same server. Depending on your configuration it might be necessary to add the DNS name of the matomo instance to /etc/hosts with an IP address of 127.0.0.1

Took me quite a while to figure out.

@benisdev-py
Copy link

same error for me but nothing helps. and I already set $DEBUG_PROXY = true; but the debug log dose not come up

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

No branches or pull requests

4 participants