Upgrade from the old embed.js script to the new gocertify.js script.
embed.js
script to the new gocertify.js
script in December 2024. This change was necessary to improve performance and ensure compatibility with new features, like On Site Messaging.
We highly recommend upgrading to the new script as soon as possible, even though the old script is still supported.
Replace the script
embed.js
script and replace it with the new gocertify.js
script.
Follow the instructions in the integrate on-site page to add the new script to your site.data-brand
.data-location="/at/your-brand/some-campaign"
, you now need to use brand="your-brand"
instead.Include your iframe
<gocertify-iframe>
tag.
Follow the instructions in the landing Pages page to add the new iframe to your site.source
.data-location="/at/your-brand/student"
, you now need to use <gocertify-iframe source="student"></gocertify-iframe>
instead.Include your Offer Hub
<gocertify-hub>
tag.
Follow the instructions in the Offer Hub page to add the new Offer Hub to your site.data-location="/at/your-brand/hub"
, you now need to use simply <gocertify-hub></gocertify-hub>
instead.embed.js
script used the following optional attributes that are no longer supported:
data-location
data-autoload
data-placement-lookup