Using the Age GateΒΆ

This section will present how you can integrate the Web SDK Age Gate in your web application or site.

To begin integrating the Age Gate:

First paste the following script call at the end of your *<body>* block:

<script src="http://ads.dev.superawesome.tv/v3/age_gate"></script>

Then paste the following JavaScript trigger code below the script call:

<script type="text/javascript">
  ageGate.play();
</script>

Once the page is loaded you should be able to see the following dialog in the middle of the screen:

_images/IMG_AgeGate_1.png