The outbrain content rating widget allows visitors to your site to rate content and find other related content they will enjoy. This increases user engagement and hopefully pushes up PIs per visit.
I’ve tried to install outbrain on my site http://www.teentoday.co.uk and although I can get it to work, for it to fully function I need to pull in a permalink to the current article’s location.
This is the code. Am I able to pull in the article’s permalink in the relevant place. I wasn’t sure how this works because it sits with in the javascript code.
Update: after posting the code I’ve realised the EE message board system blocks javascript.. but to clarify the code sits between <s.c.r.i.p.t> tags.
[removed]
var OutbrainPermaLink='DROP_PERMALINK_HERE';
var OB_demoMode = false;
var OB_langJS ='http://widgets.outbrain.com/lang_en.js';
if ( typeof(OB_Script)!='undefined' )
OutbrainStart();
else {
var OB_Script = true;
var str = '[removed]<\/script>';
[removed](str);
}
[removed]