Analytics

The project uses Google Tag Manager to implement analytics. This gives OECD a lot of control to integrate custom events. However some interactions we track explicitly in our code. The following events are captured:

Events

| Event | Description | | ------------- | ----------------------------------------------------------------------------------------------------------------- | | downloadImage | The user has downloaded the image. This covers both the home page, level 2, and level 3 pages. | | downloadData | The user has downloaded the data. This is only available on level 3 pages. | | share | The user has shared a page via twitter, facebook, linkedin or mail. The channel and url is included in the event. |

Code

Use the pushEvent() function from anywhere in the code to capture a custom event.