Props
shareUrl
– (string, required) The full URL to be shared on Facebook.hashtag
– (string, required) The hashtag to include in the Facebook post (e.g., #WebinarMagic
).Route Params
Component Attributes
data-cc-component="facebookShareButton"
– Initializes this component automatically on page load.data-cc-component-share-url="https://www.example.com"
– Sets the shareUrl
prop. (Replace https://example.com
with the full URL you want to share.)data-cc-compoennt-hashtag="#funtimes"
– Sets the hashtag
prop. (Replace #funtimes
with the hashtag you want to use.)Custom Behavior
https://www.facebook.com/sharer/sharer.php
) with:shareUrl
, enhanced with UTM parameters:utm_source=fb
utm_medium=social_share
utm_campaign=webinar_sharing
utm_content=webinar-thank-you
hashtag
appended via query string.600x400px
).shareUrl
or hashtag
is missing.
webinarRegistrationId
.data-cc-component
data-cc-component-hashtag
data-cc-component
Apply your own styles using Webflow's Designer.
The component will not modify styling automatically.
You can safely add text, icons, or animations to the button.