Install the LoudCrowd Influencer List page in your Salesforce Website

The LoudCrowd Influencer List page runs on the concept of web components, whereas your site can load and use functional components of LoudCrowd programs right in your own eCommerce platform.

Create a page within your Custom site and open it for HTML editing.

Install LoudCrowd JS SDK

Important Note about Tag Managers:

It is common for many e-commerce teams to want to add our javascript to the page using a tag manager like Google Tag Manager (GTM) or Adobe Launch (formerly DTM). However, due to the latest privacy and security settings in iOS 17+, most of those tag managers are being blocked by default, thus rendering the Influencer list unusable for many buyers. Loudcrowd's javascript loads dynamic content into the components, not performing user tracking or profiling. Therefore, we recommend not using tag managers to load Loudcrowd javascript.

Install

In the <head> of that page, load and initialize the main LoudCrowd Base code snippet:

<script type="module" src="https://pub.loudcrowd.com/embed.js"></script>
<script>
function initLoudCrowd() {
  window.loudcrowd.init("SHOP_ID");
};
if (window.loudcrowd) {
  initLoudCrowd();
} else {
  document.addEventListener("loudcrowd-global-loaded", initLoudCrowd);
}
</script>

WhereSHOP_ID is a LoudCrowd Identifier for your site. Ask your LoudCrowd representative for your SHOP_ID.

The page's Content Security Policy must be updated to allow our UI to load.

📘

NOTE

For each rule, only add LoudCrowd if you already have a policy for that rule.

script-src *.loudcrowd.com
style-src *.loudcrowd.com
media-src *.loudcrowd.com lookaside.fbsbx.com
img-src *.loudcrowd.com lookaside.fbsbx.com
connect-src *.loudcrowd.com

Add LoudCrowd web component

Next, in the body tag, you must place each web component you desire to be displayed. For example:

<influencer-list-block></influencer-list-block>

Small UI Customizations

The LoudCrowd app can control many of the component's standard customizations. However, some CSS customizations must be deployed on the actual page to ensure it looks consistent with the rest of the site.

Elements like margins, padding, spacing, etc., must be manipulated from that page's CSS. LoudCrowd will consult with your front-end developer to ensure that the designs match the page features and can send recommended code from our CSS library to ensure a high-quality implementation. Please refer to this doc for more details.