Skip to content

wogaa.js Update Guide


Why is there a need to upgrade to wogaa.js?

As our product increased in scope, we wanted to make sure that there will be minimal changes at the agency end for their underlying services which tend to be bundled with many overheads.

The update to the latest wogaa.js will be used to power tracking for Transactional Services and also WOGAA Sentiments.

The table below shows the history of WOGAA Tracking Code Versions and what you will need to do to update your existing code to the latest wogaa.js V2 code in the respective environments.

wogaa.js Version History


The latest version of WOGAA Web Analytics code is wogaa.js v2.

What are the different types of existing tracking script?

Position Environment DTM wogaa.js V1 wogaa.js V2
<head> of every page Staging <script src="//"></script> <script src="" async</script> <script src=""></script>
Production <script src="//"></script> <script src="" async</script> <script src=""></script>
<body> of every page, just before the closing </body> Staging and Production <script type="text/javascript">_satellite.pageBottom();</script> empty empty

Update tracker to latest version


The information below applies to you if your site is not on the latest version of WOGAA Tracking Code - wogaa.js v2 but the older versions.

Update DTM to wogaa.js v2

Updating from DTM will require you to first remove the existing codes that were previously placed in the <head> and <body> section of your website.

  • Remove the following script in the <head>

    <script src="//"></script>

  • Remove the following script in the <body>

    <script type="text/javascript">_satellite.pageBottom();</script>

  • Follow the steps under Implement and Verify Code in Test Environment to setup the tracker for your Testing Environment and Implement and Verify Code in Production to setup the tracker for your Production Environment.

Update wogaa.js v1 to v2

The update from wogaa.js v1 to v2 involves a change of loading wogaa.js asynchronously to it being loaded synchronously. This reduce possible errors resulting from an asynchronous load.

  • To update, remove the async attribute in the following script in the <head>
<script src=""></script>