13

Partial Content Protection Using Sneak-Peek

DAP has a feature called “Sneak-Peek” where you can show a part of your blog post or page to casual visitors (as well as to search engines like Google) and then when they click on the “Read more…” link, the protection will kick in for the rest of the post, and DAP will say something to the effect of “Sorry, you must be logged in to access this content. Please login below or click here to get access”.

And that error page will contain both the login form, as well as a link to your sales page. Of course, you can customize this error page to say whatever you want, but that’s another topic altogether.

Advantages of Sneak-Peek

Sneak-Peek allows you to show “teaser” content to potential members, instead of fully locking it up and showing just an error page. Using Sneak-Peek allows you to show some content to casual visitors in order to get them to subscribe to see the rest of the content, as well as keep some content open so that search engines like Google will have some content to index in their search databases, so that the open part of the content can show up in search results for potentially matching keywords, and bring you some free organic search traffic to your site.

How this works

WordPress has a feature called the “more” tag. Basically it is a bunch of text (<!–more–>) that you insert into your posts or pages. And WP will then break up your post right at the point where you inserted the more tag, and replace that tag (and everything that follows) with a “Read more…” link

Fig A: “More” icon in WP. Click to enlarge.

You can also insert the more tag in to your post or page, by clicking on the icon shown in the image above – that looks like two rectangles separated by a dotted line – on the WordPress page/post edit screen.

Of course, exactly what that “Read more” link will say (it could say, for eg., “Click here to read the rest of this post”) is determined by your actual WP theme.

Regardless of what it says, when you have a protected post, by default (when sneak peek is off) that post will completely disappear from your blog for non-members and those who are logged in, but don’t have access to it yet. And even to Google.

But if you insert the “More” tag in to all of your pages and posts, then on your blog’s summary page (which lists all of your posts), all posts with the more tag (protected and un-protected will show up to the more tag, and when someone clicks on the “Read more’ link, that’s when DAP’s security kicks in and if the user has access to that content, it will show her the rest of the post. But if the user is either not logged in, or is logged in and does not have access to that content (either access is yet to come because of the drip, or content has already expired), then it will show the appropriate error message.

Enabling Sneak-Peek

In your DAP Admin Dashboard, go to…

DAP Admin > Setup > Config > WordPress Sneak Peek: Show snippets of post (upto the `More` break) even for protected posts?

… and set the above setting to “Y” (for ‘yes’),

Update on 09/07/2014

To protect your content, if you turn on “Sneak-Peek” in DAP, and you inadvertently (or intentionally) don’t insert the “more” tag into a post, then the entire post will get hidden and protected by default, and nothing will be shown except the error message.

Click Here to Leave a Comment Below 13 comments
Clare Josa - August 28, 2010

Hi Ravi,
Just stumbled across this – it’s the single most important feature to me!
It means that people clicking a link from, say, Twitter or Facebook still get to see the start of the article.
This turns a “cold sell” into a “warm sell”.
Thank you for adding this functionality.
Namste,
Clare

Reply
Victor - November 3, 2010

This is a really cool function!

Reply
Kathryn - June 17, 2012

I’ve entered Y for sneak peak.
Would there be a reason why my first post (although tagged ‘read more’) is showing fully on my front page and then the posts after that ARE protected behind
read more’?
That is, is there another setting to make as well?
thanks

Reply
Vinzent - July 11, 2012

Hi,

is it possible to add the sneak preview function to a specific produkt? As I don’t want every member to see every posts e.g. there headline. This way I could only allow sneak peak for sspecific products…

thanks

Reply
Joe - July 12, 2012

I have not been able to get the shortcode to work. I posted this on a new WP page called My Content. It displays all of the links but does not follow the “Y” “N” selections.

[DAPUserLinks showProductName=”Y” showAccessStartDate=”N” showAccessEndDate=”N” showDescription=”N” showLinks=”Y” orderOfLinks=”NEWESTFIRST” howManyLinks=”10000″ errMsgTemplate=”SHORT” productId=”ALL” dateFormat=”YYYY-MM-DD”]%%USERLINKS%%[/DAPUserLinks]

Reply
Veena Prashanth - July 12, 2012

Hi Vinzent,

>> is it possible to add the sneak preview function to a specific product? As I don’t want every member to see every posts e.g. there headline. This way I could only allow sneak peak for sspecific products… < < No, sneak peak is a global setting. It's not a product-level setting. If it's turned On, it's turned on for all products. You can use DAP shortcode instead of sneak peak if you want to restrict content access to users to specific products. See: http://www.digitalaccesspass.com/doc/dap-shortcodes/

Reply
Veena Prashanth - July 12, 2012

Hi Joe,

Do not use the %%USERLINKS%% within the dap shortcode.

Use either DAPUserLinks to display fields based on “Y” / “N” settings OR use just the %%USERLINKS%% which will show a list of all products and content that a user has access to (default format).

Reply
Vinzent - July 23, 2012

Hi,

if I use sneak peak ist also shows Menue items that are for members only. How can I hide these Menue items e.g. my account.

Thanks for your great support!

Reply
Eric - May 14, 2013

I want to show the user a code that tells them that they will have access to certain content after 32 days (to encourage them to stick around for the 2nd month).

Is there some code that I can use that displays something like, “You will have access to this on _____ ” where the blank is the actual date (June 16, 2013), which is 32 days from when they signed up?

This would be a powerful feature.

Reply
nick - June 29, 2013

i would like that feature ^^ also, so you can say..”content coming in 3 days” similar to how they do it in kajabi.
That would be a nice addition.

Reply
Ravi Jayagopal - June 30, 2013

Nick/Eric,

We do have a “Coming Soon” shortcode that allows you to do just that. It won’t show date, but it will say “Access in X days” next to the link. And you can choose to link the content to the actual page, or show just text (title of the post).

See the shortcode at http://DigitalAccessPass.com/documentation/?page=/doc/dap-shortcodes/

Reply
Eric - June 30, 2013

Ravi,

Does that only work with the DAP User Links?

I’m not quite sure how to use that code in a WP page, for example.

Reply
nick - June 30, 2013

Thx – that helped a lot, took me a while but i didnt realise you have to use the error page with the shortcode and display that – at least thats what I did?

Reply

Leave a Reply: