Get the official Air Quality Health Index observed conditions and forecast delivered right to your web page.
Air Quality Health Index Widget (currently in BETA) allows your organization's website to communicate the up-to-date Air Quality Health Index observed conditions and forecast for your chosen community.
A widget, also called a snippet or gadget, is an online application that displays featured content directly on your web page. Once installed, widgets are automatically updated to display new information as soon as it is published so your website visitors can get the most current information without having to visit other web sites.
The Air Quality Health Index is primarily designed for local governments and municipal authorities who communicate AQHI data to their constituents.
The AQHI latest conditions and forecast is issued every hour. Learn more about the Air Quality Health Index before using this widget.
Your use of the Air Quality Health Index Widget on your website does not indicate any form of endorsement or approval of your website by the Government of British Columbia (“British Columbia”).
British Columbia may remove, cancel, or make changes to the widget at any time without notice. The widget is provided “as is”. British Columbia makes no warranty, whether express or implied, that the widget will not be uninterrupted or free from loss, corruption, attack, viruses, interference, hacking or other security intrusion. We strongly recommend that you consult with your organization's IT group before embedding this widget.
British Columbia is not liable for any errors or omissions in the data and information displayed on the widget, and will not under any circumstances be liable for any direct, indirect, special, incidental, consequential, or other loss, injury or damage caused by the use of the widget or otherwise arising in connection with the widget or the data and information displayed on the widget.
For the most up to date and complete information concerning the Air Quality Health Index, visit our Air Quality Health Index web page.
The Widget is designed to be web responsive (flexible) so the content can fit seamlessly onto your web page layout. View a live example of the Widget page for the Comox Valley.
The installation example below uses an inline frame (also known as <iframe> HTML tag) to embed the Widget onto a web page.
Step 1: Find the Air Quality Health Index you want to display in your widget
Browse the table below to find your Air Quality Health Index community.
Air Quality Health Index community | HTML snippet (TXT, 175B) |
---|---|
Castlegar | Get code |
Central Fraser Valley | Get code |
Central Okanagan | Get code |
Comox Valley | Get code |
Cranbrook | Get code |
Duncan | Get code |
Eastern Fraser Valley | Get code |
Fort St John | Get code |
Kamloops | Get code |
Kitimat | Get code |
Metro Vancouver NE | Get code |
Metro Vancouver NW | Get code |
Metro Vancouver SE | Get code |
Metro Vancouver SW | Get code |
Nanaimo | Get code |
North Okanagan | Get code |
Prince George | Get code |
Quesnel | Get code |
Smithers | Get code |
South Okanagan | Get code |
Sparwood | Get code |
Squamish | Get code |
Terrace | Get code |
Victoria | Get code |
West Shore | Get code |
Whistler | Get code |
Williams Lake | Get code |
Step 2: Copy and paste the HTML snippet onto your web page
Do not modify any elements or information of the Widget.
Open Data License agreement
The Air Quality Health Index Widget is under the Province's Open Data License agreement.
If you have any questions about the Air Quality Health Index Widget, please contact us.