StreamCart
Integration Guide

WordPress Integration

Install the StreamCart plugin and your shoppable videos are live across your entire WordPress site in minutes.

WordPress Pluginwp_head hookAny theme

Requirements

  • WordPress 6.0 or later
  • PHP 8.0 or later
  • Theme that calls wp_head() (virtually all themes do)
  • A StreamCart account (free trial available)

Installation Guide

Connect StreamCart to WordPress

1

Install the StreamCart plugin

Search "StreamCart" in the WordPress Plugin Directory (WP Admin → Plugins → Add New), or upload the .zip file from your StreamCart dashboard.

2

Activate and enter your Project ID

After activation, go to Settings → StreamCart. Paste your Project ID from the StreamCart dashboard (Settings → Project) and save.

3

Embed script added to wp_head

The plugin uses the wp_head action to inject the StreamCart embed script globally. It loads on every page of your site without any code changes.

4

Add products to StreamCart

For non-WooCommerce WordPress sites, add your products manually in the StreamCart dashboard under Products → Add Product.

5

Create and publish widgets

Create a widget in the StreamCart dashboard, link videos to your products, and publish. The widget appears on your site immediately.

Manual Installation

Paste the script tag directly

If you prefer not to install a plugin, go to Appearance → Theme Editor → header.php and paste the script before </head>.

header.php (Theme Editor)
<?php
// Paste in Appearance → Theme Editor → header.php
// Add just before the closing </head> tag
?>
<script
  src="https://cdn.streamcart.it/embed.js"
  data-project-id="YOUR_PROJECT_ID"
  async>
</script>
</head>
embed snippet
<!-- Paste before </head> in header.php or via Theme Editor -->
<script
  src="https://cdn.streamcart.it/embed.js"
  data-project-id="YOUR_PROJECT_ID"
  async>
</script>

Troubleshooting

Common issues and fixes

Embed script is not appearing in the page source

Confirm your theme calls wp_head() before </head>. If your theme uses a custom header template, add <?php wp_head(); ?> manually.

Plugin settings page is missing from WP Admin

Ensure the plugin is activated under WP Admin → Plugins → Installed Plugins. Also check that your WordPress user role has manage_options capability.

Widget loads on some pages but not others

Check the widget's display rules in the StreamCart dashboard. If set to specific pages, ensure the target page IDs match your WordPress page IDs.

Need help?

Our support team can help with plugin installation, theme compatibility, and configuration.

Contact Support →

Ready to turn your videos
into revenue?

Start converting more with video commerce

Start Your Free Trial

7-day free trial · No credit card · Cancel anytime