margmacd
Forum Replies Created
-
Forum: Plugins
In reply to: [Force Login] Creating an option to skip logging inI have resolved the relevant issue.
Forum: Plugins
In reply to: [Independent Analytics - WordPress Analytics Plugin] Count of site visits@bensibley, further to some troubleshooting, it looks like I have resolved the above shortcode issue by creating a new one. Time will tell. I’ll aim to keep you updated.
Thanks again for your valued input.Forum: Plugins
In reply to: [Independent Analytics - WordPress Analytics Plugin] Count of site visitsHello @bensibley
I am providing you with an update on where I have reached in following the valued advice you have provided on using Independent Analytics to create a hits counter which displays site hits, starting from a chosen number (in my case, 140000). The public viewing box is already unchecked, which, as I confirmed earlier, prevents the ‘0 views’ label from appearing for logged in users other than administrators. I have added a widget using the relevant shortcode entry (https://drive.google.com/file/d/11NvpNHX4iRqi4MBFu6gUjH8bTkmhW8G2/view?usp=sharing)
Based on this effort, the following text appears on each relevant page as a footer:
Hit counts
140000.I have also selected the option to include logged in users in the count. However, on logging in as a subscriber, I found that the hit counts number did not change and that this was the case after I had logged out as a subscriber and logged back in as an administrator. In the settings, the count is set not to include logins from administrators or editors but there is no restriction set for subscribers. Can you explain why the counter may not be operating, please? I had previously understood that the hits count would update automatically. Also of relevance is the fact that the ‘0 views’ label (which is only visible to administrators) is not updating.
Since making the above observations, I have selected the option to allow subscribers to view analytics, but this should not affect the recording of their visits.
Can you please kindly advise on a way forward in resolving the above issues.
Many thanksForum: Plugins
In reply to: [Independent Analytics - WordPress Analytics Plugin] Count of site visits@bensibley, I have logged in as a subscriber to contrast the administrator top menu bar with that of the subscriber and I can see that the Views count is absent in the latter case. This is the specific info I needed.
- This reply was modified 1 year, 1 month ago by margmacd.
Forum: Plugins
In reply to: [Independent Analytics - WordPress Analytics Plugin] Count of site visitsThanks @bensibley. My earlier hunch that the views count might only be visible to me still applies.
https://drive.google.com/file/d/1dhXrXBDUzylYXU4gTvF85DyNLg273PKV/view?usp=sharing
I appreciate that several items on the black bar at the top may only be visible to administrators, thus explaining why I can see the views count, but I wanted to check that the views count in particular wasn’t visible to others.Forum: Plugins
In reply to: [Independent Analytics - WordPress Analytics Plugin] Count of site visits@bensibley, I didn’t need to uncheck the box. It wasn’t checked in the first place. The view count only appears when I activate Independent Analytics, so I don’t understand your explanation. Here is the link to the website: https://medstats.mvm.ed.ac.uk/.
Forum: Plugins
In reply to: [Independent Analytics - WordPress Analytics Plugin] Count of site visitsHello again @bensibley
I have explored the advice in the settings area and can confirm that the box you refer to is already unchecked and that there is nothing in fact that I can do to get the number of views to disappear at the top of each page, unless it is the case, perhaps, that it is only I that can see this number. (I can offer to check with another user.)
The advice at https://independentwp.com/knowledgebase/dashboard/display-view-counter/
does, however, have a subsection ‘Allow manual adjustment’ which suggests that the user should be able to increase the starting count in a dialogue box as show in the image provided. I am confused about this, as the view counter is at the top of every page, so I would want to do a once-and-for-all correction. Also, if I click the edit button for any such page, I don’t see the dialogue box which is being referred to.
Can you please provide some clarifications regarding the above findings.
Many thanks for your support.Forum: Plugins
In reply to: [Shortcode Redirect] Creating a redirect buttonThanks for the confirmation, @cartpauj.
Is there a cap on the time that a visitor can be required to wait before redirection? One option might be to remove the buttons and include text alerting the reader to the fact that they will be redirected in 20 seconds, say, from the welcome page to the ‘intro’ page.Forum: Plugins
In reply to: [Independent Analytics - WordPress Analytics Plugin] Login choicesThat’s a very clear explanation @bensibley.
Many thanks!Forum: Plugins
In reply to: [Independent Analytics - WordPress Analytics Plugin] Login choicesThank you, @bensibley. I had noticed you had mentioned this option in the FAQ content. May I confirm that selecting it prompts the plugin to lump visits from those who are and are not logged in into a single count? I just want to make sure that choosing this option still allows visitors who are not logged in to be included in the count.
Forum: Plugins
In reply to: [Independent Analytics - WordPress Analytics Plugin] Count of site visits@bensibley, I was referring to the field Shortcode, the content of which you had recommended that I edit and which you had highlighted via a red rectangle in your last screenshot. The content of that field is not editable at my end. The content ‘0 views’ is an entry that automatically appears at the top of my pages as soon as I install Independent Analytics.
Forum: Plugins
In reply to: [Independent Analytics - WordPress Analytics Plugin] Count of site visitsThanks, @bensibley. For some reason, the editing area for the snippet will not allow me to change the shortcode entry [wpcode id=”4103″]. Also, even if I create a new snippet to circumvent this issue, how will this address the problem that there is a top menu, created by the plugin Independent Analytics that specifies the start count very clearly as 0? Isn’t this displayed for all users to see? I’d prefer not to be displaying conflicting counts.
Forum: Plugins
In reply to: [Independent Analytics - WordPress Analytics Plugin] Count of site visits@bensibley, I followed the instructions in the screenshot you provided with tweaks to reflect the current date and the prior estimated count. When I install the plugin Independent Analytics, the error message is resolved, thank you, but the top menu of my pages now displays “0 views”, which suggests that the code
$analytics = iawp_analytics(new DateTime(‘2025-05-26’), new DateTime());
echo $analytics->views + 140000;isn’t being read in as desired.
I am sorry that I don’t know how to address this, and I don’t see what the additional code is achieving.- This reply was modified 1 year, 2 months ago by margmacd.
Forum: Plugins
In reply to: [Independent Analytics - WordPress Analytics Plugin] Count of site visitsHi @bensibley
On applying your suggestions, I encoutered the following error message after using the button Save:Edit SnippetSave to Library
Snippet Status:Inactive Update
We encountered an error activating your snippet, please check the syntax and try again. Error message:
Call to undefined function iawp_analytics()
Have you any suggestions as to the best way forward?
Here is the code I had included in the code preview:$analytics = iawp_analytics(new DateTime(‘2025-05-24’), new DateTime());
echo $analytics->views + 140000;Forum: Plugins
In reply to: [Independent Analytics - WordPress Analytics Plugin] Count of site visitsMany thanks, @bensibley. I am not going to find time to work on the code this week, but I will aim to get started next week.
Happy weekend