The Algorithm For Increasing Pageviews

December 13, 2011

I think I solved it. It’s all theoretically but it actually works, and works quite good so I encourage you guys to try it as well and let me know if it worked or didn’t.

It’s something all high quality entities on the web should try at least once. Basically, a string of code that pulls thumbnails at the bottom of my site has been added about 10 months ago. I’ve been playing with, changing it’s code for about 6 months now whether it’s featuring titles, or removing them, presenting title on a “a:hover” command and whatnot and I believe I just found the perfect way to present it.

It’s called “The Inspiration Box” and if you’re a follower of Bloginity then you’re well aware of that section on the site. It’s presented with every article on the site and pulls random categories according to the browsing section.

Everything nowadays is about relevancy, that’s why when you visit our fashion blog you’ll notice that the header changes as well. It will now present related content to fashion. For instance, Beauty, Collections, Runways, Galleries all relevant to the fashion side of the biz. If you visit our Arts & Culture section you’ll now notice that it’s presenting Photography, Exhibitions, Visual Arts, Design, and so on. Introducing this feature, or should I say, re-coding a new header for each section is a simple task. You have to build you hierarchy properly and find what’s relevant and what’s not while the homepage is pretty much featuring the focus itself.

The code looks something like this:

  $attachments = get_children(array(‘post_parent’ => get_the_ID(), ‘post_type’ => ‘attachment’, ‘post_mime_type’ => ‘image’, ‘orderby’ => ‘rand’));

While most of you can't understand PHP, you'll notice a simple line that reads "rand", a short for "random" that code displays random images that are attached to the post. This way, with every new pageview the user will see a new selection of images on the bottom of the post, engaging them to click if they didn't find the last image relevant to them. Genius? Sure, it's how we're pulling a 11 page/visit for each user.

Pull #1 -

Pull #2 -

This will work only if your content is timeless. I have spoken about timeless content many times in my blog, and encourage most of you to do so as well. It's referred to as "Green content" content that will never go out of style, and is always readable. Usually works great for photography, arts and culture, type of sites.

Anyway, this is just a thought because I truly believe that sharing is caring and want each and every one of you to succeed and ride the wave along with us.

Good luck!

Leave a Comment

Previous post:

Next post: