NOTE: This method of publishing is no longer being actively supported by our product team and will not receive any updates in the future. We suggest consulting the following article for more information on the latest publishing methods that we offer. Please contact support@getfastr.com with any questions about what publishing method might work best for your website.
Before publishing Experiences to your website, it is necessary to complete the one-time setup, to establish secure communication between your site and Creator Studio. To do this, we use a JavaScript "Channel snippet", which relies upon our partners' infrastructure capabilities to ensure high availability and performance.
The necessary code can be found under the Publish tab on both the Main Dashboard and the Project Dashboard in Creator Studio, by clicking the "Snippet" link in the "Prepare your site for publishing" section:
The code looks like this:
<script type="text/javascript" data-channel="<CHANNEL_ID>" src="//creator.zmags.com/channels.js"></script>
Simply place the provided code on your site, we recommend somewhere in the <head> section. This will allow your Experiences to load as quickly as possible, especially if your web site contains a lot of libraries and resources that would otherwise be loaded before the snippet. Given its asynchronous nature, the snippet will not inhibit the loading of any content on your site.
Once the snippet is placed, you are ready to Publish Experiences.
Prepare You Site For Salesforce Commerce Cloud (Demandware) Clients
If you use Salesforce Commerce Cloud and your website supports Site Genesis version 15.1 or higher, you can always publish directly by installing the Salesforce Commerce Cloud cartridge, which you can on the Salesforce Commerce Cloud Marketplace at this address.
Publishing via Google Tag Manager
If you use Google Tag Manager to publish your content (though we strongly recommend using the above approach instead), you can grab the above JavaScript code and paste it as Custom HTML tag, as explained in this article.
Comments
0 comments
Please sign in to leave a comment.