If you integrated Gocertify on your site before December 2024, you will need to upgrade to the new gocertify.js script.

We transitioned from the legacy 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.

How to upgrade

The upgrade should be very straightforward, and it will depend on what features you are using.

1

Replace the script

Delete the old 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.

Note that the new script requires a unique parameter called data-brand.
If you previously used data-location="/at/your-brand/some-campaign", you now need to use brand="your-brand" instead.

2

Include your iframe

If you are using the iframe feature, you will need to update the iframe code to the new <gocertify-iframe> tag. Follow the instructions in the landing Pages page to add the new iframe to your site.

Note that the new iframe tag requires a unique parameter called source.
If you previously used data-location="/at/your-brand/student", you now need to use <gocertify-iframe source="student"></gocertify-iframe> instead.

3

Include your Offer Hub

If you are using the Offer Hub feature, you will need to update the Offer Hub code to the new <gocertify-hub> tag. Follow the instructions in the Offer Hub page to add the new Offer Hub to your site.

Note that the new tag doesn’t require any extra parameters.
If you previously used data-location="/at/your-brand/hub", you now need to use simply <gocertify-hub></gocertify-hub> instead.

Deprecated attributes

The legacy embed.js script used the following optional attributes that are no longer supported:

  • data-location
  • data-autoload
  • data-placement-lookup