Skip to content

Informational Service Implementation - Test Environment

By implementing WOGAA tracking code, you'll be able to monitor how your Informational Service is performing.

As a best practice, you should test the code on your staging environment before deploying it on your production environment.

Implement Code in Test Environment

Step 1. Register your Information Service and Test Environment

System/Business owner should register your IS under Manage Service first.

If you're an external vendor assisting in the technical implementation, you may proceed to step 2.

Step 2. Insert Tracking Code

Click on Copy to Clipboard to insert the following Tracking Code into the <head> section of every page of your website, before other scripts.

<script src=""></script>

We would update the wogaa.js periodically, kindly ensure you're using the link above for ease of implementation (i.e. do not implement local copy of wogaa.js file).


        <script src=""></script>

The base code does not support subresource integrity (SRI). Please do not enable SRI for base code.

Step 3. Content Security Policies for Staging

This step is optional if your website doesn't have Content Security Policy enabled.

If your website has Content Security Policy enabled, update your CSP with the following code:

default-src 'self' https://*;
script-src 'self' blob: https://*;
connect-src 'self' https://*;
style-src 'self';
font-src 'self' data:;

Step 4. Verify Test Environment(s) for e.g. Staging

Verify Test environment

You may check out our Troubleshooting Guide if you have any further queries.

With your test environment verified, you may proceed with implementation to your production site. :)

Next: Implementation to Production site