We are using cookies to give you the best experience on our site. By continuing to use this website you are agreeing to the use of cookies.

Google Analytics tracking code

Updates

November 25, 2016

100% of Google Analytics properties have been transferred to Universal Analytics, and all new properties will be Universal Analytics properties. If you are still using a legacy tracking library, such as ga.js, it is strongly recommended that you upgrade to use a Universal Analytics tracking library.

 

 

WHAT TO DO?

 

1. Verify the tracking code in your Portfoliobox admin panel under Settings → Statistics. If the code is similar to the new code below, you are already using the updated code and don't need to take any further action. If the code looks like the old one below, follow the steps 2 and 3. 


Old code (ga.js)

 <script type='text/javascript''>
  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-XXXXX-Y']);
  _gaq.push(['_trackPageview']);

  (function() {
  var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
  ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
  var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  })();

</script>

 

New code (analytics.js)

<script>
  (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
  })(window,document,'script','https://www.google-analytics.com/analytics.js','ga');

  ga('create', 'UA-XXXXX-Y', 'auto');
  ga('send', 'pageview');

</script>

 

The string 'UA-XXXXX-Y' is your tracking ID. 


 

2. Copy the code in your Google Analytics account under Admin → Choose your property → Tracking info → Tracking code.

 

3. In your Portfoliobox admin panel under Settings → Statistics, delete the old code and paste the new one. Don't forget to save. Allow 24h for the new settings to be effective. 

Portfolio of the day
Meet our highlighted creatives and get inspired.
Into the world of creatives
Meet our featured creatives and read more about their work.
News
Get informed about new templates & features, announcements and news.
Tips & tricks
Fine tune your Portfoliobox skills with these useful tips.
Updates
Keep track of bug fixes and other changes to the product.
Services
Create a Professional Website
Join Portfoliobox and create a professional online portfolio website that reflects your creativity.
Get started
And get discovered!
Find Creatives is the number one directory for creatives. Sign in with Portfoliobox and get discovered by people around you!
Join Find Creatives