Customization Instructions: Functionality

The Slide's functionality can be customized so that it has deeper integration with your site. If you want to change The Slide's style (look and feel), please click here.


The options listed below are add-ons to the standard functionality of The Slide and should therefore be tested on all browsers to ensure that everything is functioning properly. Please ensure that all dynamic content (i.e. title, ckw, url) changes to the Javascript tags are properly escaped. (Note: Options in red are required)

Option Example Description
pid { pid: "4dee38f6e32b1338b0000006" }

Your SimpleReach assigned publisher ID.

title { title: "The Lastest News About The Coolest New Thing" }

The title of the article. SimpleReach will attempt to pull the title of the post from the HTML <title></title> tags. If you want the article to be shown using a different headline in The Slide, put it in the title here.

css { css: "http://www.example.com/css/slide.css" }

The css keyword is for a URL of stylesheet to use to customize the look and feel of The Slide. Check out The Slide style guide for more information on how The Slide can be customized to fit your site.

loc { loc: '#content' }

The location of the content on your article page. If this is a CSS ID, then it should be preceded with a # sign. If this is a CSS class, then it should be preceded with a . and the first instance of the class will be used. This should the CSS identifier that contains the post text (typically a div).

ckw { ckw: 'cool stuff descriptive keyword content' }

A space separated list of keywords that describe the post. Only the first 5 keywords will be saved as descriptors for the post.

icon { icon: 'http://www.example.com/img/lastest_post.png' }

URL of the image that is associated with the post. If your account does not have images enabled, then this field is ignored. If images are enabled and no URL is provided, then SimpleReach will attempt to figure out the proper image to be used as the post image. The image should scale nicely down with CSS to a 70x70 image.

pub { pub: '2011-06-01 12:00:00' }

The pub keyword is for the date that the post was published. SimpleReach uses this information to help in recommending the most relevant content for your users. The format of the supplied date should be YYYY-MM-DD 24HH:MM:SS. If no date is supplied, then the publication date will be the first time the post is seen by SimpleReach.

end { end: '2011-06-05 00:00:00' }

The end keyword is the date that the post should expire. SimpleReach uses this information to help in recommending the most relevant content for your users. The format of the supplied date should be YYYY-MM-DD 24HH:MM:SS. If no date is supplied, then the post has no expiration date. A good use-case for an expiration date is for a post that is an event or a deal that expires on a certain day. By specifying an expiration date, SimpleReach knows that this post should not be shown to users beyond a certain date.

disable { disable: false }

Set this option to true if you want to disable indexing of this post. If indexing is disabled, then SimpleReach will not show this page as recommended content on The Slide. (default: false)

oob { oob: false }

OOB stands for out of band click tracking. It is a method of click tracking that utilizes client scripting and the use of absolute URLs instead of redirects to send the browser to the destination site. If you don't know what this means, you can happily ignore it. (default: false)

chan { chan: 'gardening' }

Channels are sections within a site that are only for certain types of content. The concept of channels are typically for larger publishers that want to separate sections of their site. Channels are a comma separated list of sections that the article falls into. For more information on separating your site into channels, please contact your account representative. (default: none)

no_slide { no_slide: false }

If no_slide is set to true, then The Slide will not slide out when this post is loaded. To change this behavior, login to the management section and re-enable The Slide for the post. (default: false)

disallow_opt_out { disallow_opt_out: false }

SimpleReach has given each publisher the ability to allow their users to opt-out of using The Slide. If this option is set to true, then the users of your site will not have the ability to opt-out of the SimpleReach Slide. (default: false)

url { url: 'http://www.example.com/2011/my-famous-post' }

This the canonical URL for the post. It should match the canonical meta tag if it exists.

offset { offset: 30 }

Setting the offset specifies how many pixels off the bottom The Slide should be. (default: null)

header { header: "ALSO ON MY SITE..." }

This block can be text or HTML. It will only affect the text/html in the header of the Slide. (default: Recommended for you...)

Below is a full example of The Slide code including all options above.