? ? ? ? Pending

User tests: Successful: Unsuccessful:

avatar jurihahn
jurihahn
23 Sep 2018

Pull Request for Issue # .

Summary of Changes

Option to stop increment count of banner views if search engine is detected. Count views as before by default for BC.

Testing Instructions

Coder review
OR

  1. Create banner and open page with this banner. Check if banner view count increment.
  2. Set option "Robots Increment Impressions" to "NO"
  3. Reload page with banner. Check if banner impressions count increment. Must be +1.
  4. Change user-agent to anything includes "Googlebot".
  5. Reload page with banner. Check if banner impressions count increment. Must be same as before.
    PS: Its can be tested local too. For example in Firefox you can open Developer tools and start Responsive/Mobile view, then add new Device with any user agent.

Expected result

If set option "Robots increment impressions" to "NO", Module should not increment banner views if search engine detected

Actual result

Module increments count of banner impressions always

Documentation Changes Required

No?

avatar jurihahn jurihahn - open - 23 Sep 2018
avatar jurihahn jurihahn - change - 23 Sep 2018
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 23 Sep 2018
Category Language & Strings Modules Front End
avatar jurihahn jurihahn - change - 23 Sep 2018
The description was changed
avatar jurihahn jurihahn - edited - 23 Sep 2018
avatar jurihahn jurihahn - change - 23 Sep 2018
Labels Added: ? ?
avatar jurihahn jurihahn - change - 23 Sep 2018
Title
Stop robots inc banners views
Option to stop robots inc banners views
avatar jurihahn jurihahn - edited - 23 Sep 2018
avatar brianteeman
brianteeman - comment - 23 Sep 2018

Can someone stop to think if this wording accurately describes what it is intended to do. For example there is no mention that this is "excluding search engine generated 'clicks' from the hit count". It just says it excludes robots which is not technically accurate.

Finally I am still not convinced that this is a useful addition to the core of joomla and is better placed as an extension. If this is accepted then we should have the same option everywhere that we record a "hit"

avatar jurihahn
jurihahn - comment - 23 Sep 2018

Sorry, i think this is not the same. For the banners it's more important. If i see statistics of one of my sites:
real user make about 3 000 page views/impressions per day
search engines make about 13 000 !!! And all can be excluded...
If i want sell views/impressions, i can't..

Why can't we make it more accurate? This is only an option...

Make better wording is always welcome.

and maybe i do not understand all what you say, but here is nothing to exclude "click", only views/impressions

avatar jurihahn jurihahn - change - 23 Sep 2018
The description was changed
avatar jurihahn jurihahn - edited - 23 Sep 2018
avatar jurihahn
jurihahn - comment - 23 Sep 2018

Finally I am still not convinced that this is a useful addition to the core of joomla and is better placed as an extension. If this is accepted then we should have the same option everywhere that we record a "hit"

Really? Why joomla have this in the core? Why we should create new extension for only one option? Joomla banners component is not perfect, but we can make it better.
It is Joomla politic? Make Joomla extensions not good and say "install third party extension they work better".

avatar infograf768
infograf768 - comment - 24 Sep 2018

The wording is indeed confusing. The feature, in its simplicity, looks OK to me. I see no reason to refuse it.

avatar jurihahn
jurihahn - comment - 24 Sep 2018

The wording is indeed confusing.

I will be glad to change the text to more suitable. Someone will advise more suitable texts?
Maybe like this.
Label: Search engines increase banner impressions count
Description: If set to NO, detected search engines would not increase impressions count of banner.

avatar infograf768
infograf768 - comment - 24 Sep 2018

I must say I did not test the code and results, though. Therefore it needs testing as I work local.

avatar SharkyKZ
SharkyKZ - comment - 24 Sep 2018

Regarding usability, I can't think of a scenario where user would want this in one module but not in another. Perhaps this should be set globally in com_banners instead of individually in each banner module?

avatar jurihahn jurihahn - change - 24 Sep 2018
The description was changed
avatar jurihahn jurihahn - edited - 24 Sep 2018
avatar jurihahn
jurihahn - comment - 24 Sep 2018

I must say I did not test the code and results, though. Therefore it needs testing as I work local.

Its can be tested local too. For example in Firefox you can open Developer tools and start Responsive/Mobile view, then add new Device with any user agent.

Regarding usability, I can't think of a scenario where user would want this in one module but not in another. Perhaps this should be set globally in com_banners instead of individually in each banner module?

yes, I agree.

avatar jurihahn jurihahn - change - 24 Sep 2018
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - change - 24 Sep 2018
Category Language & Strings Modules Front End Administration com_banners Language & Strings Modules Front End
avatar jurihahn
jurihahn - comment - 26 Sep 2018

I have tested this PR with #22368 it show very fine result. ~700 impressions per hour before and ~250 impressions per hour after patch.

Maybe i commit one more "option" to ignore click made by robots by the same way? Or should it be different PR?

avatar infograf768
infograf768 - comment - 26 Sep 2018

Maybe for the strings:
COM_BANNERS_FIELD_TRACKROBOTSIMPRESSION_LABEL="Impressions by Search Engines"
COM_BANNERS_FIELD_TRACKROBOTSIMPRESSION_DESC="If set to NO, prevents search engines clicks from increasing the number of impressions."

avatar Quy
Quy - comment - 26 Sep 2018

Be sure to sort the keys in alpha order.

avatar jurihahn
jurihahn - comment - 26 Sep 2018

Be sure to sort the keys in alpha order.

I don't understand where is it wrong?

avatar jurihahn
jurihahn - comment - 26 Sep 2018

COM_BANNERS_FIELD_TRACKROBOTSIMPRESSION_LABEL="Impressions by Search Engines"

This is good!

COM_BANNERS_FIELD_TRACKROBOTSIMPRESSION_DESC="If set to NO, prevents search engines clicks from increasing the number of impressions."

in this PR is only impressions ignoring, not clicks

avatar jurihahn
jurihahn - comment - 27 Sep 2018

@brianteeman what do you think now?

avatar Quy
Quy - comment - 30 Sep 2018

I have tested this item successfully on 2f36648


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/22339.

avatar Quy Quy - test_item - 30 Sep 2018 - Tested successfully
avatar viocassel
viocassel - comment - 25 Dec 2018

I have tested this item successfully on 2f36648


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/22339.

avatar viocassel viocassel - test_item - 25 Dec 2018 - Tested successfully
avatar Quy Quy - change - 25 Dec 2018
Status Pending Ready to Commit
avatar Quy
Quy - comment - 25 Dec 2018

RTC


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/22339.

avatar mbabker mbabker - change - 27 Dec 2018
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2018-12-27 19:00:49
Closed_By mbabker
Labels Added: ?
avatar mbabker mbabker - close - 27 Dec 2018
avatar mbabker mbabker - merge - 27 Dec 2018

Add a Comment

Login with GitHub to post a comment