<?xml version="1.0" encoding="UTF-8"?>
	<rss version="2.0"
		xmlns:content="http://purl.org/rss/1.0/modules/content/"
		xmlns:wfw="http://wellformedweb.org/CommentAPI/"
		xmlns:dc="http://purl.org/dc/elements/1.1/"
		xmlns:atom="http://www.w3.org/2005/Atom"

			>

	<channel>

		<title>Visual Website Optimizer (VWO) &#8211; Themeco Community</title>
		<atom:link href="https://theme.co/archive/forums/topic/visual-website-optimizer-vwo/feed/" rel="self" type="application/rss+xml" />
		<link>https://theme.co/archive/forums/topic/visual-website-optimizer-vwo/feed/</link>
		<description></description>
		<lastBuildDate>Sat, 11 Oct 2025 11:57:45 +0000</lastBuildDate>
		<generator>https://bbpress.org/?v=2.6.14</generator>
		<language>en-US</language>

		
														
					
				<item>
					<guid>https://theme.co/archive/forums/topic/visual-website-optimizer-vwo/#post-223736</guid>
					<title><![CDATA[Visual Website Optimizer (VWO)]]></title>
					<link>https://theme.co/archive/forums/topic/visual-website-optimizer-vwo/#post-223736</link>
					<pubDate>Mon, 09 Mar 2015 21:13:47 +0000</pubDate>
					<dc:creator>timokrall</dc:creator>

					<description>
						<![CDATA[
						<p>Hello,</p>
<p>I&#8217;d like to run a/b split testing with VWO (<a href="https://vwo.com/knowledge/how-vwo-smart-code-works" rel="nofollow">https://vwo.com/knowledge/how-vwo-smart-code-works</a>) on my X-theme WordPress landing page.</p>
<p>VWO says a certain smart code needs to be input into every landing page I&#8217;d like to use for testing purposes. </p>
<p>This is the code: </p>
<p>&lt;!&#8211; Start Visual Website Optimizer Asynchronous Code &#8211;&gt;<br />
&lt;script type=&#8217;text/javascript&#8217;&gt;<br />
var _vwo_code=(function(){<br />
var account_id=136226,<br />
settings_tolerance=2000,<br />
library_tolerance=2500,<br />
use_existing_jquery=false,<br />
// DO NOT EDIT BELOW THIS LINE<br />
f=false,d=document;return{use_existing_jquery:function(){return use_existing_jquery;},library_tolerance:function(){return library_tolerance;},finish:function(){if(!f){f=true;var a=d.getElementById(&#8216;_vis_opt_path_hides&#8217;);if(a)a.parentNode.removeChild(a);}},finished:function(){return f;},load:function(a){var b=d.createElement(&#8216;script&#8217;);b.src=a;b.type=&#8217;text/javascript&#8217;;b.innerText;b.onerror=function(){_vwo_code.finish();};d.getElementsByTagName(&#8216;head&#8217;)[0].appendChild(b);},init:function(){settings_timer=setTimeout(&#8216;_vwo_code.finish()&#8217;,settings_tolerance);this.load(&#8216;//dev.visualwebsiteoptimizer.com/j.php?a=&#8217;+account_id+&#8217;&amp;u=&#8217;+encodeURIComponent(d.URL)+&#8217;&amp;r=&#8217;+Math.random());var a=d.createElement(&#8216;style&#8217;),b=&#8217;body{opacity:0 !important;filter:alpha(opacity=0) !important;background:none !important;}&#8217;,h=d.getElementsByTagName(&#8216;head&#8217;)[0];a.setAttribute(&#8216;id&#8217;,&#8217;_vis_opt_path_hides&#8217;);a.setAttribute(&#8216;type&#8217;,&#8217;text/css&#8217;);if(a.styleSheet)a.styleSheet.cssText=b;else a.appendChild(d.createTextNode(b));h.appendChild(a);return settings_timer;}};}());_vwo_settings_timer=_vwo_code.init();<br />
&lt;/script&gt;<br />
&lt;!&#8211; End Visual Website Optimizer Asynchronous Code &#8211;&gt;</p>
<p>Where can I input the code? </p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/visual-website-optimizer-vwo/#post-223814</guid>
					<title><![CDATA[Reply To: Visual Website Optimizer (VWO)]]></title>
					<link>https://theme.co/archive/forums/topic/visual-website-optimizer-vwo/#post-223814</link>
					<pubDate>Mon, 09 Mar 2015 23:43:13 +0000</pubDate>
					<dc:creator>Darshana</dc:creator>

					<description>
						<![CDATA[
						<p>Hi there,</p>
<p>Thanks for writing in! First you will need to setup a Child Theme which allows you to make your own custom code changes and it won’t be overwritten when you update our Theme X. Please check our Child Theme setup guide here (<a href="http://theme.co/x/member/kb/how-to-setup-child-themes/" rel="nofollow">http://theme.co/x/member/kb/how-to-setup-child-themes/</a>).</p>
<p>After your child theme is setup, open the <strong>functions.php</strong> file in the child theme and add the following code into it.</p>
<pre><code>
// Visual Website Optimizer Asynchronous Code

add_action(&#039;wp_footer&#039;, &#039;enqueue_my_visual_website_optimizer_script&#039;);

function enqueue_my_visual_website_optimizer_script() {

  echo &#039;

	&lt;!– Start Visual Website Optimizer Asynchronous Code –&gt;
	&lt;script type=’text/javascript’&gt;
	var _vwo_code=(function(){
	var account_id=136226,
	settings_tolerance=2000,
	library_tolerance=2500,
	use_existing_jquery=false,
	// DO NOT EDIT BELOW THIS LINE
	f=false,d=document;return{use_existing_jquery:function(){return use_existing_jquery;},library_tolerance:function(){return library_tolerance;},finish:function(){if(!f){f=true;var a=d.getElementById(‘_vis_opt_path_hides’);if(a)a.parentNode.removeChild(a);}},finished:function(){return f;},load:function(a){var b=d.createElement(‘script’);b.src=a;b.type=’text/javascript&#039;;b.innerText;b.onerror=function(){_vwo_code.finish();};d.getElementsByTagName(‘head’)[0].appendChild(b);},init:function(){settings_timer=setTimeout(‘_vwo_code.finish()’,settings_tolerance);this.load(‘//dev.visualwebsiteoptimizer.com/j.php?a=’+account_id+’&amp;u=’+encodeURIComponent(d.URL)+’&amp;r=’+Math.random());var a=d.createElement(‘style’),b=’body{opacity:0 !important;filter:alpha(opacity=0) !important;background:none !important;}’,h=d.getElementsByTagName(‘head’)[0];a.setAttribute(‘id’,’_vis_opt_path_hides’);a.setAttribute(‘type’,’text/css’);if(a.styleSheet)a.styleSheet.cssText=b;else a.appendChild(d.createTextNode(b));h.appendChild(a);return settings_timer;}};}());_vwo_settings_timer=_vwo_code.init();
	&lt;/script&gt;
	&lt;!– End Visual Website Optimizer Asynchronous Code –&gt;

  &#039;;
}
</code></pre>
<p>Hope that helps.</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/visual-website-optimizer-vwo/#post-236979</guid>
					<title><![CDATA[Reply To: Visual Website Optimizer (VWO)]]></title>
					<link>https://theme.co/archive/forums/topic/visual-website-optimizer-vwo/#post-236979</link>
					<pubDate>Sat, 28 Mar 2015 06:48:18 +0000</pubDate>
					<dc:creator>mvives</dc:creator>

					<description>
						<![CDATA[
						<p>Hi, I had the same question about where to install the visual website optimizer code.</p>
<p>I applied what you provided in the previous message, however, I changed &#8216;wp_footer&#8221; to &#8216;wp_head&#8217; instead because I want the code to appear before the closing &lt;/head&gt; tag, rather than the footer.</p>
<p>When I did this though, my web pages would no longer load. I could go to any URL and only a white web page would load. Can you please advise on this? Thanks!</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/visual-website-optimizer-vwo/#post-236994</guid>
					<title><![CDATA[Reply To: Visual Website Optimizer (VWO)]]></title>
					<link>https://theme.co/archive/forums/topic/visual-website-optimizer-vwo/#post-236994</link>
					<pubDate>Sat, 28 Mar 2015 07:15:24 +0000</pubDate>
					<dc:creator>Rue Nel</dc:creator>

					<description>
						<![CDATA[
						<p>Hello There,</p>
<p>Please try this revised code instead,</p>
<pre><code>// Visual Website Optimizer Asynchronous Code

add_action(&#039;wp_headr&#039;, &#039;enqueue_my_visual_website_optimizer_script&#039;);

function enqueue_my_visual_website_optimizer_script() {
?&gt;
	&lt;!– Start Visual Website Optimizer Asynchronous Code –&gt;
	&lt;script type=&quot;text/javascript&quot;&gt;
	var _vwo_code=(function(){
	var account_id=136226,
	settings_tolerance=2000,
	library_tolerance=2500,
	use_existing_jquery=false,
	// DO NOT EDIT BELOW THIS LINE
	f=false,d=document;return{use_existing_jquery:function(){return use_existing_jquery;},library_tolerance:function(){return library_tolerance;},finish:function(){if(!f){f=true;var a=d.getElementById(&quot;_vis_opt_path_hides&quot;);if(a)a.parentNode.removeChild(a);}},finished:function(){return f;},load:function(a){var b=d.createElement(&quot;script&quot;);b.src=a;b.type=&quot;text/javascript&#039;;b.innerText;b.onerror=function(){_vwo_code.finish();};d.getElementsByTagName(&quot;head&quot;)[0].appendChild(b);},init:function(){settings_timer=setTimeout(&quot;_vwo_code.finish()&quot;,settings_tolerance);this.load(&quot;//dev.visualwebsiteoptimizer.com/j.php?a=&quot;+account_id+&quot;&amp;u=&quot;+encodeURIComponent(d.URL)+&quot;&amp;r=&quot;+Math.random());var a=d.createElement(&quot;style&quot;),b=&quot;body{opacity:0 !important;filter:alpha(opacity=0) !important;background:none !important;}&quot;,h=d.getElementsByTagName(&quot;head&quot;)[0];a.setAttribute(&quot;id&quot;,&quot;_vis_opt_path_hides&quot;);a.setAttribute(&quot;type&quot;,&quot;text/css&quot;);if(a.styleSheet)a.styleSheet.cssText=b;else a.appendChild(d.createTextNode(b));h.appendChild(a);return settings_timer;}};}());_vwo_settings_timer=_vwo_code.init();
	&lt;/script&gt;
	&lt;!– End Visual Website Optimizer Asynchronous Code –&gt;

&lt;? }</code></pre>
<p>Hope this helps. Kindly let us know then.</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/visual-website-optimizer-vwo/#post-237251</guid>
					<title><![CDATA[Reply To: Visual Website Optimizer (VWO)]]></title>
					<link>https://theme.co/archive/forums/topic/visual-website-optimizer-vwo/#post-237251</link>
					<pubDate>Sun, 29 Mar 2015 03:12:25 +0000</pubDate>
					<dc:creator>mvives</dc:creator>

					<description>
						<![CDATA[
						<p>I tried the code above with &#8216;wp_headr&#8217; and it didn&#8217;t work. I tried &#8216;wp_head&#8217; again and it worked. I think there may have been something missing from the previous code with &#8216;wp_head&#8217; head when I copied and pasted. It works now. Thanks!</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/visual-website-optimizer-vwo/#post-237296</guid>
					<title><![CDATA[Reply To: Visual Website Optimizer (VWO)]]></title>
					<link>https://theme.co/archive/forums/topic/visual-website-optimizer-vwo/#post-237296</link>
					<pubDate>Sun, 29 Mar 2015 05:40:07 +0000</pubDate>
					<dc:creator>Christian</dc:creator>

					<description>
						<![CDATA[
						<p>Hey there,</p>
<p>Sorry for the typo in the code. It should really be <code>wp_head</code> not <code>wp_headr</code>. Glad you&#8217;ve sorted it out.</p>
<p>Thanks.</p>
						]]>
					</description>

					
					
				</item>

					
		
	</channel>
	</rss>

