Builder Basic Settings: Analytics and Javascript Code

From IThemes Codex
(Difference between revisions)
Jump to: navigation, search
(Step 1: Click the checkbox beside your software of choice)
(For Google Analytics)
 
(16 intermediate revisions by one user not shown)
Line 8: Line 8:
  
  
==Step 1: Click the checkbox beside your software of choice==
+
=Step 1: Click the checkbox beside your software of choice=
 
To enable any of these tracking softwares on your site, just click the checkbox beside your software of choice.
 
To enable any of these tracking softwares on your site, just click the checkbox beside your software of choice.
 +
 +
<br />
  
 
==For Google Analytics==
 
==For Google Analytics==
  
 +
Your site is uniquely identified in Google Analytics by an Account ID. An example Account ID is UA-12345-6. For help on finding your Account ID, watch this video.
  
 +
<br />
  
Beyond web analytics, some web tools or applications require adding JavaScript code either inside the head tag or in the site's footer. You can use the text area inputs below to manually add code where it is needed.
+
[[File:Google-analytics.png|800px|link=]]
  
 +
<br />
  
[[File:Builder-settings-google-analytics.png|800px|none]]
+
'''Note:''' After entering Google Analytics ID in Builder settings, it might take a day or two for Google Analytics to show tracking data in your account.
  
Note: After entering Google Analytics ID in Builder settings,
+
'''Note:''' When page source of site is viewed, ''UA- number doesn't print directly in the page. The code below loads ''wp-content/uploads/it-file-cache/builder-core/script.js'' file which is where the Builder-generated scripts are located.
 
+
'''1.''' it might take a day or two for Google Analytics to show tracking data in your account.
+
 
+
'''2.''' when page source of site is viewed,  
+
 
+
''UA- number doesn't print directly in the page.''
+
 
+
We can see code similar to
+
  
 
<pre class="brush:html;">
 
<pre class="brush:html;">
Line 40: Line 37:
 
</pre>
 
</pre>
  
Above code loads wp-content/uploads/it-file-cache/builder-core/script.js file which is where the Builder-generated scripts are.
+
<br />
 +
 
 +
==For Woopra==
 +
By default (when the Woopra Domain input below is empty), Woopra will use the domain of the "Site address (URL)" configured in Settings > General. This can be changed by supplying a new domain.
 +
 
 +
<br />
 +
 
 +
[[File:Woopra.png|800px|link=]]
 +
 
 +
<br />
 +
 
 +
==For GoSquared==
 +
 
 +
Beyond web analytics, some web tools or applications require adding JavaScript code either inside the head tag or in the site's footer. You can use the text area inputs below to manually add code where it is needed.
 +
 
 +
<br />
 +
 
 +
[[File:Go-squared.png|800px|link=]]
 +
 
 +
<br />
  
 
== See also ==
 
== See also ==

Latest revision as of 14:48, July 19, 2013

Analytics-and-javascript-code.png


The Analytics and Javascript Code Settings section offers an easy way to integrate web analytics software tracking such Google Analytics, Woopra, and GoSquared. Use these settings to easily add the your tracking code to your site.


Note: Before activating Builder's built-in support for these services, you'll need to first disable any plugins offering the same feature. Failure to do so can result in each visitor being counted multiple times, which will badly skew your data.


Contents

Step 1: Click the checkbox beside your software of choice

To enable any of these tracking softwares on your site, just click the checkbox beside your software of choice.


For Google Analytics

Your site is uniquely identified in Google Analytics by an Account ID. An example Account ID is UA-12345-6. For help on finding your Account ID, watch this video.


Google-analytics.png


Note: After entering Google Analytics ID in Builder settings, it might take a day or two for Google Analytics to show tracking data in your account.

Note: When page source of site is viewed, UA- number doesn't print directly in the page. The code below loads wp-content/uploads/it-file-cache/builder-core/script.js file which is where the Builder-generated scripts are located.

<script type='text/javascript'>
(function() {
var bsl=document.createElement('script');
bsl.type='text/javascript';bsl.async=true;bsl.src='http://66.147.244.215/~hpgcom/hughes/wp-content/uploads/it-file-cache/builder-core/script.js?ver=3';
var se=document.getElementsByTagName('script')[0];se.parentNode.insertBefore(bsl,se);
})();
</script>


For Woopra

By default (when the Woopra Domain input below is empty), Woopra will use the domain of the "Site address (URL)" configured in Settings > General. This can be changed by supplying a new domain.


Woopra.png


For GoSquared

Beyond web analytics, some web tools or applications require adding JavaScript code either inside the head tag or in the site's footer. You can use the text area inputs below to manually add code where it is needed.


Go-squared.png


See also


← Back to Builder Codex Home

Personal tools
Namespaces
Variants
Actions
iThemes Codex
Codex Navigation
Toolbox