Skip to main content
All CollectionsRetailer Onboarding - FAQs
Which E-commerce platforms are supported by Flixmedia?
Which E-commerce platforms are supported by Flixmedia?
C
Written by Chandrasekhar Yeddanapudi
Updated over a month ago

Flixmedia Standard JS code will work on all standard e-commerce or CMS platforms powering your website for Desktop/Tablet and Mobile users.

<script type="text/javascript" src="//media.flixfacts.com/js/loader.js" data-flix-distributor="" data-flix-language="" data-flix-brand="" data-flix-mpn="" data-flix-ean="" data-flix-button="flix-minisite" data-flix-inpage="flix-inpage" data-flix-button-image="" data-flix-fallback-language="" data-flix-price="" async></script>

If you're using a 3rd party platform such as Shopify, Magento, PrestaShop, Wordpress, WooCommerce etc. then it may not be possible to embed our the above standard JS code. In that case the solution is to compile the Flixmedia standard JS code dynamically on the product page.

The compiled JS Code can be called through another JS file such as a Tag Manager (eg. Google, Adobe).

Here's an example of the code to do that

<script type="text/javascript"> 
jQuery("#DescriptionSectionOfYourPage").prepend("<div id=\"flix-inpage\"></div>");
jQuery("##DescriptionSectionOfYourPage").prepend("<div id=\"flix-minisite\"></div>");
var product_mpn = "Dynamically add your product MPN",
product_ean = "Dynamically add your product EAN",
product_brand = "",
distributor = "FLIXMEDIA PROVIDED DISTRIBUTOR ID",
language = "FLIXMEDIA PROVIDED LANGUAGE CODE";
var headID = document.getElementsByTagName("head")[0];
var flixScript = document.createElement('script');
flixScript.type = 'text/javascript';
flixScript.async = true;
flixScript.setAttribute('data-flix-distributor', distributor);
flixScript.setAttribute('data-flix-language', language);
flixScript.setAttribute('data-flix-brand', product_brand);
flixScript.setAttribute('data-flix-ean', product_ean);
flixScript.setAttribute('data-flix-mpn', product_mpn);
flixScript.setAttribute('data-flix-inpage', 'flix-inpage');
flixScript.setAttribute('data-flix-button', 'flix-minisite');
flixScript.setAttribute('data-flix-price', '');
headID.appendChild(flixScript); f
flixScript.src = '//media.flixfacts.com/js/loader.js';</script>

For step by step instructions on how to integrate Flixmedia JS code, please watch the video HERE

Did this answer your question?