Experiencing a 401 Unauthorized Error During Update?

If you're seeing a 401 Unauthorized error when trying to update your Joomla extension, it's likely due to our new two-factor authentication (2FA) security measure for your Download ID.
To resolve this, check your email (Spam folder?) for a message to approve your server or device, or read our detailed blog post here( onlinecommunityhub.nl/best-practice/new-...-extension-downloads) to understand the steps involved. This will guide you through approving your server for future updates.

No bug small problems from the 1st use

More
4 years 7 months ago - 4 years 7 months ago #1142 by Hervé
small problems from the 1st use was created by Hervé
Hello,

I started using ochClicThis
Everything works well for both types of campaign except in one case.
I wanted to identify (as we had talked about) to count the clicks on your ochJSocials button.
I put "div.jssocials-share:nth-child(2)" but I clicked on the share, there is no counting.
How to resolve this?

when it will work
1 / to save for a specific page (example: home), where in ochJSocials do I have to declare a "#"?
2 / the recorded click will not necessarily correspond to the actual publication! Possibility to resolve this?
3 / it is impossible to record for each standing sharing of each article of a blog with this extension?

4 / menu link
As mentioned, I created a menu link to the
If I click on the link, I get the error message "Invalid Session"
I do not know what is the use of this page? maybe this is not a problem?

Regards
Last edit: 4 years 7 months ago by Hervé.

Please Log in to join the conversation.

More
4 years 7 months ago #1146 by Ruud van Lent
Replied by Ruud van Lent on topic small problems from the 1st use

HDcms wrote: Hello,

I started using ochClicThis
Everything works well for both types of campaign except in one case.
I wanted to identify (as we had talked about) to count the clicks on your ochJSocials button.
I put "div.jssocials-share:nth-child(2)" but I clicked on the share, there is no counting.
How to resolve this?

when it will work
1 / to save for a specific page (example: home), where in ochJSocials do I have to declare a "#"?
2 / the recorded click will not necessarily correspond to the actual publication! Possibility to resolve this?
3 / it is impossible to record for each standing sharing of each article of a blog with this extension?

Let me get back on this, need to set this up in a test environment

4 / menu link
As mentioned, I created a menu link to the
If I click on the link, I get the error message "Invalid Session"
I do not know what is the use of this page? maybe this is not a problem?

Regards

the menu item is needed to create a SEF url for collecting feed back from campaigns of type 'multiple' every entry in that campaign has its own response url. The menu item ensures that this url is a sef url and not in the form of [domain]/component/ochclickthis/etc.

Please Log in to join the conversation.

More
4 years 7 months ago #1149 by Hervé
Replied by Hervé on topic small problems from the 1st use
HI,
Ok thanks
4 / if I understand correctly, the message is normal?
Regards

Please Log in to join the conversation.

More
4 years 7 months ago #1150 by Ruud van Lent
Replied by Ruud van Lent on topic small problems from the 1st use
Correct, it expects specific URL query that holds the feedback. If not given or wrong you get the invalid message. When you look at the example in the documentation page (description tab) and hover the smiley you see a complete url

Please Log in to join the conversation.

More
4 years 7 months ago #1153 by Ruud van Lent
Replied by Ruud van Lent on topic small problems from the 1st use

HDcms wrote: I put "div.jssocials-share:nth-child(2)" but I clicked on the share, there is no counting.
How to resolve this?

you can solve this by adding the a element in the 'formula': div.jssocials-share:nth-child(2) a

But you can target the specific buttons like this as well:
  • twitter: jssocials-share-twitter a
  • linkedin: jssocials-share-linkedin a
  • etc.

when constructing these elements, it is handy to enable debug in the ochClickThis component options (advanced tab), it will then output information in the browser console (e.g. how many elements where found on the page for the campaigns you have configured. when the campaign has 0 elements, you know that the configuration is not correct and needs adjusting. You can also use the browser inspector and see if the element that you are targetting has an [event] assigned that point to ochclickthis.min.js

when it will work
1 / to save for a specific page (example: home), where in ochJSocials do I have to declare a "#"?
2 / the recorded click will not necessarily correspond to the actual publication! Possibility to resolve this?
3 / it is impossible to record for each standing sharing of each article of a blog with this extension?

when the click is registered, the following information is registered with the click:
  • campaign
  • link clicked (which is # when you have popup enable)
  • component: e.g. com_content
  • view: e.g. article
  • task: e.g. register
  • layout: e.g. blog
  • category ID: the category ID of the article
  • content ID
  • ip address of the visitor who clicked
  • device type: e.g. mobile or desktop
  • click date / time
  • clicked by: guest or username
All this information can be exported (per campaign) to a .csv file and you can create all sorts of overviews / analytics with this file in e.g. excel.

So it is possible to get information about (for example):
  • how many times an article is shared on twitter, facebook, linkedin, etc.
  • what device type does the most sharing

Please Log in to join the conversation.

More
4 years 7 months ago #1154 by Hervé
Replied by Hervé on topic small problems from the 1st use
HI,

you can target the specific buttons like this as well:

twitter: jssocials-share-twitter a
linkedin: jssocials-share-linkedin a


It works without ntchilds (which I don't like because the order changes in some contexts)

it is handy to enable debug in the ochClickThis component ...

I tried but I did not succeed. It is not urgent but a small tutorial / document / video would be useful because I am no longer a developer

Thank you for these details, but I don't see how that answers my questions. I try to say it differently,
1 / how to store facebook sharing clicks only for the main page in a campaign?
2 / sharing clicks can only be indicative because we do not know if the person has finalized their sharing
3/ a priori it is not possible to store fb sharing clicks for a list of articles?

Regards

Please Log in to join the conversation.

More
4 years 7 months ago - 4 years 7 months ago #1157 by Ruud van Lent
Replied by Ruud van Lent on topic small problems from the 1st use

HDcms wrote: It works without ntchilds (which I don't like because the order changes in some contexts)

that is why I suggested also jssocials-share-twitter a because then the order of the buttons doenst't matter any more, it registers the click on the twitter button regardless of it's position

I tried but I did not succeed. It is not urgent but a small tutorial / document / video would be useful because I am no longer a developer

It is a configuration setting : click yes or no, no developer skill required.

Thank you for these details, but I don't see how that answers my questions. I try to say it differently,
1 / how to store facebook sharing clicks only for the main page in a campaign?

if that page has a unique css class or id, then you can add that into the element selection. e.g. you mainpage has a css id of 'mainpage' then you can do '#mainpage jssocials-share-facebook a" that will then only register the clicks on the mainpage.

2 / sharing clicks can only be indicative because we do not know if the person has finalized their sharing

correct, that is with all these solutions because after the click you leave the website and then the actual share action is done on the facebook or twitter site: you can never (!) catch anything there. Facebook still has it's own share counts that ochJSsocials supports (as does Pinterest), but twitter, linkedin etc. have stopped providing these numbers.

3/ a priori it is not possible to store fb sharing clicks for a list of articles?

Correct.
Last edit: 4 years 7 months ago by Ruud van Lent.

Please Log in to join the conversation.

More
4 years 7 months ago #1160 by Hervé
Replied by Hervé on topic small problems from the 1st use
HI
OK thanks
1/
last request. Would it be possible to add an id in your button {jssocials} or in a div because I tried several path like "main # sp-component jssocials-share-facebook a" without success. What do you think ?
It will be independent of the theme
Regards

Please Log in to join the conversation.

More
4 years 7 months ago #1162 by Ruud van Lent
Replied by Ruud van Lent on topic small problems from the 1st use
Hi, that is not possible: an identifier can only be used once on a page. So if I add it to the container of the buttons, this will not be useable and break w3c compliancy when there are multiple sets of buttons on a page.

If you have an URL for me I can check if I can find a way to do it

Please Log in to join the conversation.

More
4 years 7 months ago #1164 by Hervé
Replied by Hervé on topic small problems from the 1st use
HI,
OK joomtest.88h.ovh
Perhaps as a last solution, should you add your code in a module?

Please Log in to join the conversation.