Overview
Use the LikeShop widget to embed a clickable gallery or carousel of posts from your LikeShop directly on your site. Posts are displayed with the most recent first, and additional content loads as users scroll.- Single-product posts open the product page in a new tab.
- Multi-product posts open a pop-up with product anchors overlaid on the image.
Embed the widget
Gallery layout
Paste this inside the element where you want the gallery to appear. Replace<brand id> in the examples below with your value. Keep it inside double quotes.
Carousel layout
Use this script to create a scrolling carousel:Widget parameters
These parameters control the behavior and appearance of the LikeShop widget. If you are interested in more advanced styling and customization, refer to the Widget Customization Guide:Widget Customization
Customize Dash Social widgets with CSS for fonts, colors, and layout tweaks.
Content Security Policy
If your site uses a Content Security Policy (CSP), you’ll need to allow the domains and MIME types used by the LikeShop Widget. This ensures scripts, images, and network calls load correctly.Why this matters
- Ensures the widget script can load safely.
- Allows image and video assets from approved Dash Social domains.
- Prevents CSP errors that block network calls or media loading.
Required CSP directives
Approved domains and MIME types
-
https://cdn.dashsocial.com
application/javascriptimage/jpegvideo/mp4
-
https://likeshop.me
text/htmlimage/pngimage/gifapplication/json
-
data:
application/font-woffimage/png
-
https://dashsocial-static.s3.amazonaws.com
image/jpegvideo/mp4
-
https://d1cka1o15bmsqv.cloudfront.net
image/jpegvideo/mp4
-
https://dashsocial.com
text/html
-
https://www.dashsocial.com
text/plain