Support » Plugin: GTM for WooCommerce FREE » Barion pixel

  • Resolved zoli90



    I would like to integrate the Barion payment gateway via Google Tag Manager. It is a custom HTML tag. I have WooCommerce webshop. It is possible to integrate with this plugin? The Barion is able to integrate via Google Tag Manager. My problem Barion payment function is not apperanced on the chechout page when I integrated with another Tag Manager plugin. Thanks!

    This is the code what I should to add via Tag Manager:

                // Create BP element on the window
                window["bp"] = window["bp"] || function () {
                    (window["bp"].q = window["bp"].q || []).push(arguments);
                window["bp"].l = 1 * new Date();
                // Insert a script tag on the top of the head to load bp.js
                scriptElement = document.createElement("script");
                firstScript = document.getElementsByTagName("script")[0];
                scriptElement.async = true;
                scriptElement.src = '';
                firstScript.parentNode.insertBefore(scriptElement, firstScript);
                window['barion_pixel_id'] = 'BP-0000000000-00';            
                // Send init event
                bp('init', 'addBarionPixelId', window['barion_pixel_id']);
                <img height="1" width="1" style="display:none" alt="Barion Pixel" src="'BP-0000000000-00'&ev=contentView&noscript=1">
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Handcraft Byte


    Hello @zoli90,

    thanks for reaching out to us. We are not very experienced with this particular payment provider, but it seems that we may be dealing with two independent concerns here.

    First, you want to have Barion as a payment method visible in your checkout screen. For that we think you should use one of the WooCommerce plugins they advertise on their website:

    Second, the Google Tag Manager snippet takes care of tracking the front-end activites of the end customers and it seems this is covered in more details here:

    We are sure you can deploy this pixel using our solution, but that would require creating some custom tags in your GTM workspace. All that said we think that it is not what you are looking for and you should check out those direct plugin based integrations mentioned above.

    Let us know if that helps,
    Handcraft Byte team

    Thread Starter zoli90


    Thank you so much for your quick answer. Currently I use this plugin based solution, but it looking not updated and we founded technical problems on our website. I just thinked may is possible to integrate the full payment gateway with GTM solution. I try to find out something differente solution for sort this problem.

    All the best: Zoltan

    Plugin Author Handcraft Byte


    Hello Zoltan,

    yes, it seems GTM won’t work here. We hope that you will find a working solution soon!

    All the best,
    Handcraft Byte Team

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Barion pixel’ is closed to new replies.