Let me start off by saying that this post will not talk about how to get sponsors, how to determine prizes, or how to determine rules for a blog contest. This post will talk about how to tweak your WordPress blog to solve the biggest problem in running a blog contest to gain RSS subscribers.
Problem
The issue here is that there is no easy way to track if each contestant has actually subscribed to your RSS feed. Without the ability to confirm RSS subscription, anybody can just claim that they have subscribed to your feed and get a free entry into the contest.
Solution
A known solution to this problem is to include a special contest code into your RSS feed and not have this code visible on your website. That way each contestant will be forced to grab the code from your feed and submit the code via comments to verify that they have subscribed to the RSS feed. To implement this solution with the minimum amount of effort you will need to do the following two things:
1. Include the special contest code into your RSS feed
You can automatically do this by adding the following code snippet to your theme’s functions.php. The following code will make the text “Special Contest Code: yourcodehere” show up at the end of each post in the RSS feed, but not show up on your website.
function contest_post_filter($content) { if ( is_feed() ) return $content.'Special Contest Code: yourcodehere'; else return $content; } add_filter('the_content','contest_post_filter');
Make sure you change “yourcodehere” to your own special contest code.
2. Automatically censor all comments with the code in it
You can automatically hide all RSS confirmation code in your comments by including the following code snippet into your functions.php:
function contest_comment_filter($comment_text) { return str_replace('yourcodehere', '[code hidden]', $comment_text); } add_filter('get_comment_text','contest_comment_filter');
Once the contest is over, you can lock the comments on that post and remove the following line to have all confirmation codes reappear for validation:
add_filter('get_comment_text','contest_comment_filter');
Why is Does This Work?
Simply because you do not have to deal with the contest again until your contest is over. Your special contest code is hidden from view, so there is no way of cheating. Once your contest is over, you can just un-hide the contest codes, tally up the participants, and [randomly] pick your winners.
Do you think you have a better method of tracking RSS subscribers in a contest? If so, please share in the comments section.
i currently do this contest, but i think i will see the email list that provide by feedburner to see who really subscribe. thank for the info i might doing it on other contest.
You can use the Feedburner email list to run an email subscription contest and gain email subscribers, but you can’t use it to run an RSS subscribers contest though :).
Brilliant — that’s really clever!
I’m going to try to whip up a plugin to see if I can implement an easier way.
Wow! That’s great information. I’ve always wondered how people who run contests and giveaways can track WHO subscribes to their RSS feeds. I’m in the process of launching a site: http://www.biglistofgiveaways.com that will allow people to log in and post their giveaways as a way to gain traffic and participation. As part of this site their is a blog section where I want to post tips and tricks for running giveaways and contests, do you think I could re-publish this post with a credit to you? Please email me and let me know. Thanks!
All the best,
Janice
Founder of The Big List of Giveaways.
@Janice
I do not own the contents I write here, so please use the site’s “contact me” section to email Mark directly about this.
As long as you do not claim the content as your own and provide attribution to this post, author and blog, you are welcome to reproduce the content.
How do you differentiate between people who posted comments with ‘yourcodehere’ and those who posted with ‘[code hidden]’?
Once the contest is over, you can remove the line “add_filter(‘get_comment_text’,’contest_comment_filter’);” and all the code will be visible again. You can then use that to verify the real contest code against [code hidden].
Very good. This is a great idea. A simple code can do all the job.
Thanks.
YEAAA! GO THAYA!!! I know my comment has NOTHING TO DO WITH THE POST whatsoever but yeaa.
^^;;
Okay, have a nice day~
Thanx for the info. Very Nice!
Nice idea, I seem to agree with PDR about having a plugin do this. It would make it easier for beginners to get it right.
Great idea. Thanks. I can use it in my future blog contest.
I have to try this next time I run a contest on my blog.
This way sounds easy! Shall try test it out and see if it works.Thanks!
Hi there,
Thank you for sharing information. This is an excellent post. I’ve always been wondering how to track subscribers specially when they subscribe via RSS. Did you happen to write or have written a post in the past relating to how to conduct a competition? I tried looking around.
Cheers,
Eddie Gear
Thanks for your kind words. No I haven’t written an article about conducting a competition. I found plenty of those online when I was trying to run a competition, but found that nobody explained how you can confirm RSS subscription when running these competitions.
thaya,
thanks so much for the info. i’ve been looking for ways to ease up tracking of participants in my blog contests. i’ll use this code you stated here next time. 🙂
Ah nice! good idea!
Hmm…I’m always into contests and I’m looking forward to finding more of them online.
Okay, this is nice what what about those of us who use blogger? this is only good for wordpress.
I followed your instructions in the above post but did not get the same results.
– I use WordPress.
– Added the code from #1 to my Appearance > Editor > Theme Functions (functions.php) code (above the ending “?>”).
– Then I subscribed to my feed from a separate computer.
I can see my feed, but there is no special code anywhere.
Would I need to post a new blog before the code is visible in the feed? If so, that means new subscribers won’t see the code until after I’ve posted again. Please advise.
Hi Megan,
I think this is because your feed is an excerpt feed and you are appending the contest code to the end of your post (which never shows up because only an execerpt of each post is displayed in an excerpt feed). You can modify the code in #1 to:
“return ‘Special Contest Code: yourcodehere<br/>’.$content;”
To have the contest code show up before each of your posts.
Genius! Works perfectly! Thank you! Do you know if this would work with Feedburner? I’d like to have both.
I think it should work since feedburner just reads your feed and serves them through their servers. 🙂
I just used this code and tested with a ‘test code’ and then I changed the code and reuploaded my functions.php file and now it won’t update to the new code i entered. It keeps displaying the old one. How can I fix it?
Are you using Feedburner or any other feed service? There are usually a content change delay with those services.
Yeah! It ended up working. But, people are commenting and the code is showing up as visible within the comment field? Isn’t it supposed to be hidden? I don’t want other people reading the post to be able to see the code through peoples comments.
Did you do part 2 of this post (Censor the code)? Make sure you follow every step and make sure “yourcodehere” is replaced with your code.
Yeah, I did. I even replaced it a second time just in case I missed a line or something. I am not sure why they are showing up…
if you can please help me a little
i have a wordpress blog and recently subscribed to feedburner
the counter from feed burner is just showing a few readers count
while i know that its too high than shown number
the old users have subscribed to my blog’s original feed, not feed burner
what is the procedure that i get a sum of feed count of feedburner and my blog’s feed subscribers count?
thank you so much in advance 🙂
I don’t think there is an easy way to do this. I think the best thing for you to do is to write a blog post telling your readers to switch over to the new Feedburner RSS URL.
This works like a charm. Thank you so much!
is it possible to have HTML tags inside?
I don’t see why not. Give it a try.
I love this concept! I think there is a plugin that will do step one for you called RSS Footer. I haven’t seen a plugin for step 2 yet:(
Wait a minute! It seems that if someone were to just click the subscribe button, whatever is appended at the end of each post becomes visible!
always good to help me track!