Reload same page several times in Blogger/Blogspot will reduce bounce rate? - javascript

I'm trying to make a simple pagination in Blogger with Javascript. The idea is hiding the second paragraph, and show it when we click a button (and hide the first paragraph when we do so). The page will also be reloaded everytime the button clicked.
So, if my visitor reload the same page for several times, will it improve the bounce rate? Since it's the same URL.
It's a bit different with other self-hosted blog because they have different URL for each page. Something like:
domain.com/the-title?page=2 domain.com/the-title?page=3
domain.com/the-title?page=4
...etc
Also, will it affect the SEO? Is everything I hid in second paragraph will be invisible in Google search result?

The answer is NO. Let me explain the reasons why:
1.The bounce rate is increased when a user visits your page and leaves without interacting with your site / visiting another page.
2.Refreshing the page does not start a new session/pageview. No matter how many times they visit your site they will re-open the exact same session for 30mins.
3.Javascript refresh or meta refresh does not count as user interaction. You may also want to read more about Google and Javascripts. Google can read your content even if you use javascript or refresh for Dynamic content.
(http://searchengineland.com/tested-googlebot-crawls-javascript-heres-learned-220157)
4.Hiding any texts from the user is never a good idea. You may apply it in times that you need specific KPIs for clicks of buttons or cases like that but... can't you just use heatmaps or even better seperate content? Anyway, if you use it on a high percent of your content you might have Cloaking problems.(https://support.google.com/webmasters/answer/66355)
So it will not affect your bounce rate. You might get cloaking warning if you apply this on the majority of your website. It might also be considered a problematic user experience and lower your techincal seo scores (page load times etc.). As you can see you might only get problems by using such methods. I would suggest you to not proceed with the idea.

Related

WebExtension: collect infos on all iframes of current page

I’m writing a WebExtension that identify fields using a given criterion in a web page.
The content script which is loaded with every page and iframe does its job well identifying and highlighting those fields.
Now I want to count the total number of said fields in a page as the user sees it, that is, including its iframes, and display this number over the browserAction icon (as adblock displays a count over its action icon).
My plan was to use setBadgeText in the action script to clear the current counter, then issue a tabs.sendMessage({req:"countFields"}), and then let every content script respond to that message by getting the current value of the badgeText and increase it with the number of fields it found on its part of the page.
Well, that does not work well. I’m getting erratic values when a page contains iFrames. I guess this is a synchronization problem, when content scripts from different parts of the page try to get the badge value and update it.
I’ve also tried navigating through window.frames from a top level content script ("all_frames":false), but that won’t work either, since cross script errors can prevent me from descending all iFrames (using the online version of tinyMce for example)
Well, at this point, I’m asking for help and advice on how to solve my problem.
Any clue or pointer would be very much welcome !
I found the answer to that problem !
Since I believe knowing where to find for answers to a specific kind of problems (here, WebExtension development) is part of the answer, I give the link to that answer on the right place instead of just repeating here what was given me there.
https://discourse.mozilla.org/t/collect-infos-on-all-iframes-of-current-page-solved/30453

to know user staying in certain page

For web-development. You will know the User's footstep with session and cookies.
but I have an different question.
If I want to know the number of users in certain page.
for example I create the news controller. and forward the users to
news.jsp page when they want.
maybe a certain number of people are visiting the news.jsp page at the same time.
if I want to count up the number of people who are staying in the same page.
How should I keep track users foot step.
later on I want to build an web-cite like keep track users
mouse event and also click event and analyse users behavior.
Give me some direction
Thank you
You can use google analytics. All you need to add is one JavaScript code.
Check here for more details:
https://moz.com/blog/absolute-beginners-guide-to-google-analytics

How do I handle a large amount of user comments being displayed in a long list down a page using JQuery?

I'm wondering if doing this along in JQuery would be stable enough? or if it would need to be done in ruby/rails first?
Either way I don't want a butt load of messages being loaded when a user enters the page where they're displayed. What I want is limit results to a specific amount then either have the page load more results when a user scrolls down or have them click a "load more" button similar to how it's done on both facebook and googleplus.
Currently I have comments scrolling down my page for miles and would like to use jQuery to take control of this. I'm guessing since each comment is stored in a div / class I could use this as a way of recognising what a comment is.
Anyway trying to figure out the best way to approach this I'd really appreciate some advice and maybe links to some good tutorials on how to pull this off.
I agree with the Ohgodwhy's comment - use will_paginate in Rails.
However, I'd also look at how to do scroll-down pagination, rather than page number links, depending on your design. I like Ryan Bates's screencast on this topic: http://railscasts.com/episodes/174-pagination-with-ajax
He also has a video for doing it without will_paginate: http://railscasts.com/episodes/114-endless-page (the newer, revised version of this requires a subscription).

ASP.NET content display

I am building a profile page in asp.net and it has two tabs(Horizontally), one for profile and one for settings. If a user navigates between tabs, he will see the settings page and the profile page. I know two ways to implement this.
Code the page contents in the page and use javascript to hide them, while navigating through them.
This type of method is inefficient as it will lead to performance issues and increase load time.
Use onclick event handler and build the page using codebehind file. This is more efficient way, I can use javascript to rotate something to show that something is being processed and then call a last method in codebehind to hide the rotating Image.
Besides these methods, Are there some other efficient ways to accomplish this?
The answer depends on many factors. Do you want the user to be able to switch back and forth without page refreshes? If so, then you have to load both tabs.
If you're ok with partial refreshes, then you can use Ajax to populate the tabs when you click on them. This has some performance consequences, since it needs to round trip to get the data.
If you're ok with complete refreshes, then simply have each be a different page, when you click on the other tab, it just loads the other tab page.
I'm really not sure what you mean by "build the page with code-behind". Perhaps you mean only include the html for the selected tab when the page is loaded. In my opinion, it's easier to simply make them different pages than to write complex code that changes the structure of the page.

Use jQuery to append star to menu item if the linked page's content has changed since last visit

I would like to create a similar effect to Apple's Safari 4 Beta Top Sites page -
when when you view it and a page's content has changed since you last visited, it displays a blue star in the top right hand corner to notify you.
I would like to do the very same, but only within my website and instead of an image I would like to append a '*' or some other character to the menu item's link.
I'm sure you would use the jQuery Cookie Plugin, but my scripting is not that advanced and I do not know how to dynamically change the cookie's content. Have I explained properly? How would I do it?
Many thanks in advance
Server side:
Read the website f.ex every minute and save the timestamp if changed content.
Save the users' visit timestamp to the page
Ajax:
Check if the websites update timestamp is newer than your visitors' timestamp, if yes make the star class visible, when the user clicks on the link, make the star disappear and update the users timestamp.
--
Showing a star or an image or whatever with Jquery is not the big deal here, it's a oneliner, the complex problem is to detect website changes, because minor changes can occur, but the main content could not change. The easiest way to do this would be if the website provides rss, then there's probable that the important new content will be published via rss.
You're asking a very vague question. Have you even attempted this? Please try it first then ask for help along the way.
Also, this is not something you necessarily need jQuery for. You could do it completely on the backend. But it's hard to say which solution is best for you without know anymore details.
I guess I would recommend using php and storing the cached page into a db (in other words the user would have a "fav pages" account) then when the user visits the "fav pages" webpage, you would fetch all the users favorite pages and compare it to what has been stored in the db. But for certain pages (for example if they have a date/time string), it would be very difficult to tell if the change was something the user wants to know about. Probably you would need to create a complex algorithm to decide what change is good change and what change is just certain website features.

Categories

Resources