Skip to main content

Inline Promotion

Single inline promotion

Overview

Untitled

The inline promotion serves a single specified promotion that is requested by passing the promotion-id attribute to the component.

// custom defined tag
<bam-inline-promotion
property-id="1"
context="context"
promotion-id="1234">
</bam-inline-promotion>
SSR AvailableThis component is available for server side rendering.

Properties

PropertyAttributeDescriptionTypeDefault
affiliateaffiliatestringundefined
affiliateIdaffiliate-idnumberundefined
affiliateTypeaffiliate-typestringundefined
ageagenumberundefined
callback--You cannot pass this parameter via an attribute. You must set the callback function after the DOM has loaded.() => voidthis.defaultCallback
contextcontext(required)stringundefined
ctaTypecta-typestringundefined
darkModedark-modebooleanfalse
deferdeferbooleanundefined
devModedev-modebooleanfalse
deviceTypedevice-type"android" | "desktop" | "ios" | "mobile"undefined
dynamicdynamicbooleanundefined
gameIdgame-idnumberundefined
hideUnderagehide-underagebooleanfalse
internalIdinternal-idstringundefined
isBetsyncUseris-betsync-userbooleanundefined
isLoggedInis-logged-inbooleanundefined
isMobileis-mobilebooleanundefined
leagueleaguestringundefined
locationlocationstringundefined
pageSlugpage-slugstringundefined
placementIdplacement-idIf you don't provide a placement id, you must provide a single promotion idnumberundefined
promotionIdpromotion-idIf you don't provide a promotion id, you must provide a placement idnumberundefined
propertyIdproperty-id(required)numberundefined
sponsorSlugsponsor-slugstringundefined
subdivisionsubdivisionnumberundefined
subscriptionTiersubscription-tier0 | 1 | 2 | 3undefined
termsterms"affiliate" | "geo"'geo'
userParentBookIdsuser-parent-book-idsstringundefined
wasProwas-probooleanundefined