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

Pages analytics--> Content can't support port 8080 #6743

Closed
safetys123 opened this issue Nov 28, 2014 · 5 comments
Closed

Pages analytics--> Content can't support port 8080 #6743

safetys123 opened this issue Nov 28, 2014 · 5 comments
Labels
Bug For errors / faults / flaws / inconsistencies etc.

Comments

@safetys123
Copy link

When I'm trach the content(http://developer.piwik.org/guides/content-tracking), for example,
my html content is

<a href="http://localhost/project" data-track-content data-content-name="no search result" data-content-piece="go home">go home</a>

Now the href is http://localhost/project, If I click the go home, there will have a forward

But if the href add a port 8080, http://localhost:8080/project I click the go home, there will not have a forward.

@mattab mattab added the Bug For errors / faults / flaws / inconsistencies etc. label Dec 1, 2014
@mattab mattab added this to the Short term milestone Dec 1, 2014
@mattab
Copy link
Member

mattab commented Dec 1, 2014

Hi @safetys123 thanks for the report.

@tsteur
Copy link
Member

tsteur commented Dec 4, 2014

Hey @safetys123 , this is not good. I tried to reproduce it but couldn't. Tried many different things. Can you let us know more about what happens? Can you see anything in the developer tools in case you are familiar with them?

What do you see when you hover over the link, to which URL does it want to redirect you? When you click on it, do you still see a URL in the browser containing a "piwik.php"?

@safetys123
Copy link
Author

ok. I will descript it for detail. I want to track the content , the html code below is

Home

My url path is http://localhost/search?keyWord=22222222, and the port is 80. See the first image,
I click the Home, that is right.

Now I change the port 80 to 8080, the html code is
Home

the url path is http://localhost:8080/search?keyWord=22222222, see the next image,
I click the Home, that is error.

p11
p22

@tsteur
Copy link
Member

tsteur commented Dec 9, 2014

Hi,

I tried again to reproduce it for nearly an hour. What is the URL of your Piwik instance? http://localhost:8222?

What I did is I open eg http://apache.piwik:8001/VisitorGenerator?x=w which contains a link to http://apache.piwik/. Piwik itself is installed at http://apache.piwik:8000. It seems to work without any issues. In my case the URL is also not replaced with ...piwik.php like yours. I am getting redirect to http://apache.piwik as expected. So there must be a difference somewhere. I had a look at the code and I can imagine that something could be wrong under circumstances but looks like I am missing something.

What happens when you click on that URL? Does it redirect you to localhost:8080?

I understand it correct that in your second case the URL the link redirects to should not be http://localhost:8080/ but http://localhost/?

@mattab mattab modified the milestones: Short term, Mid term Apr 7, 2015
@mattab mattab modified the milestones: Long term, Mid term Dec 5, 2016
@tsteur
Copy link
Member

tsteur commented Feb 20, 2024

Closing as not reproducible

@tsteur tsteur closed this as not planned Won't fix, can't repro, duplicate, stale Feb 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug For errors / faults / flaws / inconsistencies etc.
Projects
None yet
Development

No branches or pull requests

3 participants