• Resolved zoli90

    (@zoli90)


    Hi!

    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:

    <script>
                // 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 = 'https://pixel.barion.com/bp.js';
                firstScript.parentNode.insertBefore(scriptElement, firstScript);
                window['barion_pixel_id'] = 'BP-0000000000-00';            
    
                // Send init event
                bp('init', 'addBarionPixelId', window['barion_pixel_id']);
            </script>
    
            <noscript>
                <img height="1" width="1" style="display:none" alt="Barion Pixel" src="https://pixel.barion.com/a.gif?ba_pixel_id='BP-0000000000-00'&ev=contentView&noscript=1">
            </noscript>
Viewing 3 replies - 1 through 3 (of 3 total)
  • 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: https://www.barion.com/en/payment-gateway/integration-and-plugins/wordpress-woocommerce/

    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: https://www.barion.com/en/barion-pixel/overview/

    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

    (@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

    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.