Yo.utils.console

Use these functions to display a variety of statistics and debugging information about the current page of your Yottaa site. The functions return diagnostic information including resources that Yottaa optimized, rules that Yottaa invoked, and data that Yottaa collected. These debugging functions make it possible to quickly and easily understand how Yottaa impacted a particular page.

Prerequisites

The following command to load the appropriate version of the Rapid+JS Library must precede the use of this function on the page. Specify your own site key:

<script src="https://rapid-cdn.yottaa.com/rapid/lib/sitekey.js"></script>

Syntax

Yo.utils.console.function()

Returns

Requested information, displayed on the developer tools console.

Parameters

Parameter

Description

none N/A

Examples

See specific functions below.

Console Functions