Skip to main content
Version: v1

Community Impact

  • Tag Type: Custom HTML
  • Support document.write: Yes
  • Tag Sequencing: Fire after "Beam Initialization" tag
<!-- BEGIN Beam Community Impact -->
<script
type="module"
async
crossorigin
data-em-disable
data-categories="analytics"
src="https://sdk.beamimpact.com/web-sdk/v1.39.2/dist/components/community-impact.esm.js"
></script>
<script type="module">
import { getConfig } from "https://sdk.beamimpact.com/web-sdk/v1.39.2/dist/integrations/beam.js";

var beam = getConfig();
await beam.readyPromise;

var component = document.createElement('beam-community-impact');
component.setAttribute('apiKey', beam.apiKey);
component.setAttribute('chainId', beam.chainId);
component.setAttribute('storeId', beam.storeId);
component.setAttribute('lang', "en");
component.setAttribute('cardStyle', 'image');
component.setAttribute('baseUrl', beam.baseUrl);

var body = document.querySelector('body');
body.appendChild(component);
</script>
<!-- END Beam Community Impact -->