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

Internal referrer search engine with url like example.com/#!tab=1&query={k} #7178

Closed
j-gav opened this issue Feb 11, 2015 · 1 comment
Closed
Labels
wontfix If you can reproduce this issue, please reopen the issue or create a new one describing it.

Comments

@j-gav
Copy link

j-gav commented Feb 11, 2015

Our intranet has a search feature which we are trying to integrate as a custom Search Engine for the referrer report, see sample url/code below.

I believe the reason the code below is not working is because the query URL contains a #.

Are #tags (and everything after) automatically being removed from all referrer URLs?
I have enabled Page URL fragments tracking so I presumed that this would enable tracking of the full url for Referrers also?

The sample search url below is shown as a referrer in the visitor log as http://searchportal.com/search/simple.htm and no data is appearing on the keywords/Search Engines page.

Sample search url
http://searchportal.com/search/simple.htm#!&page=1&tab=1&query=xxxxxx

Line added to Search Engines Data file
'searchportal.com' => array('IntranetSearch', 'query', 'search/simple.htm#!&page=1&tab=1&query={k}'),

Similar issue: #6718

@mattab
Copy link
Member

mattab commented Feb 19, 2015

Hi @Jgavin101

unfortunately it's not possible AFAIK to get the Hash tag of a Referrer URL. For example in this SO answer: http://stackoverflow.com/questions/2039306/send-a-location-hash-through-a-referrer

First, the hash portion of a URL is used on the client side only. It will never appear in server logs, requests, or as part of a REFERRER string.

@mattab mattab closed this as completed Feb 19, 2015
@mattab mattab added the wontfix If you can reproduce this issue, please reopen the issue or create a new one describing it. label Feb 19, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wontfix If you can reproduce this issue, please reopen the issue or create a new one describing it.
Projects
None yet
Development

No branches or pull requests

2 participants