domain
variable in your stage-site Chartbeat code to the test Site ID. For example:<head>
: domain
, uid
, flickerControl
, useCanonical
and useCanonicalDomain
OR path
._sf_async_config.articleBlockSelector
: Must be set in the Chartbeat snippet only if your site is not using <article> tags to encapsulate all headline and image <a> tag(s)._sf_async_config.lazyLoadImageAttributes
: Must be set in the Chartbeat snippet only if your site makes use of custom lazy load attributes for your images outside of data-src
and data-srcset
which our code will detect automatically._sf_async_config.domain
: For testing on a staging site, this value should be set to the Site ID the staging site dashboard that has been created on your account. This is typically the root domain of the staging site._sf_async_config.flickerControl
: If you are implementing flicker control for headline and image testing, this variable must set to false and must be loaded in the code snippet prior to the chartbeat_mab.js script.<head>
:headlineSelector
and articleBlockSelector
. timeout
, can be modified to allow more time for the Chartbeat Javascript to finish loading.