This event is triggered after page load when the Yotpo javascript is finished loading. This is useful if you want to know when you can safely read campaign and redemption option data from the swellAPI object. Note: This is triggered before loading the logged in customers data from Yotpo. Please use the Setup event if you are interested in the customers data.

document.addEventListener('DOMContentLoaded', function() {
    $(document).on("swell:initialized", function() {
    // do something using my campaigns or redemption options