-
Notifications
You must be signed in to change notification settings - Fork 64
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
Feature request : mod_rewrite track final page #21
Comments
Hello Daniel, As a default, we track the full page's URI, as the page may be really different with query parameters (especially on an ecommerce website). On your example, I don't see any SEO/mod_rewrite active: if it was the case, you won't have any Now, for the useful stuff: you may have selected «use webpage's URL» in the Javascript copy/paste code. If that's the case, you would see: clickHeatGroup = encodeURIComponent(window.location.pathname+window.location.search); If you want to remove the query string parameters, remove the clickHeatGroup = encodeURIComponent(window.location.pathname); This way all pages will be grouped against the URL part without query parameters (part after the I'm closing this, but reply or reopen if it's not good enough for you :-) |
First of all , thank you again for fast and complete answer ! What I am proposing : to have option to paste on a config section of clickheat the .htaccess part with rewrite rules, parse passed url against those rules and group results on those + option to include some or all parameters passed. What do you think ? BR, |
Daniel, I don't think it's a good idea to mix rewrite rules with ClickHeat. ClickHeat doesn't know about it, and I think it's a good thing:
Removing some parameters could be an improvement of the app, or perhaps the other way around: only include Regards, |
Thank you for answering at object and very pertinent. In eCommerce a lot of people tries to improve a form and general customer interaction with site. This improvement it's based on formatting some simple templates/web forms like is product from . product list /etc. That's why I think that would be a welcome improvement. Indeed users cannot/do not know about .htaccess file but this can be read automatically by application. However further more , translating url's and selecting only some parameters may be a bit tricky and probably will be needed a database. And last not least, if I can help on this development please tell me ! Thank you, |
I understand your need... but it's a big work, should I say a huge one. And it doesn't take care about other webservers: lighttpd, nginx... Following the KISS principle, this is not something I would agree upon. If you do some A/B testing, then you may have another information: either it's a user's cookie, or a PHP variable that you can add in the Removing parameters from the URL is quite easy, and may just be added in the pasted code. But that's a new development... maybe I'll think about it, it's a good idea (=> open a new issue for this if needed). The best |
Loading those records on a database, processing would be easy. however like
you said this means a lot of development.
There are more things to have in mind when removing from parameters.
Like what image will be served from site ?
For example : Minimum product id ? Maximum id ?
Tomorrow I will try to look on code to see how complicate would be to use
for example an sqlite database instead of file storage.
However I don't know how to interpret rewrite rules. I cannot implement
this by myself.
Thank you,
DAniel
…On Thu, Jan 25, 2018 at 1:05 PM, Yvan ***@***.***> wrote:
I understand your need... but it's a big work, should I say a huge one.
And it doesn't take care about other webservers: lighttpd, nginx...
Following the KISS principle, this is not something I would agree upon.
If you do some A/B testing, then you may have another information: either
it's a user's cookie, or a PHP variable that you can add in the
clickHeatGroup definition using a simple <?php echo $testAorB ?>.
Removing parameters from the URL is quite easy, and may just be added in
the pasted code. But that's a new development... maybe I'll think about it,
it's a good idea (=> open a new issue for this if needed).
The best clickHeatGroup is the one you create (either manually or using
PHP), because it will reflect your real application. Instead of
.index.php.product_id.12, you could write product-12, which is far better
in the dropdown list :-)
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#21 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAo7WM9XaeH3ZYX_FrWVmfs0bRC7bCqLks5tOF_fgaJpZM4RsjGI>
.
|
You have to define what you want to look at. Although I've done it somehow differently on https://github.com/dugwood/botsector by narrowing doing depending on the path, but this will group pages based on path, not on page format. So if you know that some pages are look-alike, you may group these together using the manual It's difficult to do this without a database. My plan was in the long run to group everything in a database, where you would have been able to filter by url, just like you can do with Analytics and the like. That's the 2.0 that may be created one day :-) |
Excellent function ! we are just few little steps close to a very nice
functionality.
Meanwhile I have been lurking about a function that does what mode_rewrite
of apache does :
take as input "beautifull url" apply rules from .htaccess returns and
records "ugly url".
Now apply "clickHeatGroup" over list of "ugly url" will result that
WONDERFUL functionality that even paid services do not have !
…On Thu, Jan 25, 2018 at 3:35 PM, Yvan ***@***.***> wrote:
You have to define what you want to look at. Although I've done it somehow
differently on https://github.com/dugwood/botsector by narrowing doing
depending on the path, but this will group pages based on path, not on page
format.
So if you know that some pages are look-alike, you may group these
together using the manual clickHeatGroup. On the contrary if you want to
analyze every page separately, you just leave it to the full url group.
It's difficult to do this without a database. My plan was in the long run
to group everything in a database, where you would have been able to filter
by url, just like you can do with Analytics and the like. That's the 2.0
that may be created one day :-)
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#21 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAo7WItcmVedY9GAMlrlUtuocrgw_8ryks5tOIMugaJpZM4RsjGI>
.
|
I've added it here: #22 Thanks for your ideas and needs :-) |
First of all a BIG THank you for this beautiful and useful application.
I am using a solution based on PrestaShop.
For SEO purposes it's using mod_rewrite .
Clickheat traces the original page url . IT would be more usefull to track destination page + posibility to filter on parameters sent.
For example , on this URL
.index.php.id_product.1119.controller.product.utm_source.shopmania.utm_medium.cpc.utm_campaign.direct_link
It would be usefull to track/view together all pages like:
.index.php.controller.product.
regardless of other parameters. This will allow to track user interest on all generic product page.
Br,
Daniel
The text was updated successfully, but these errors were encountered: