Barion pixel
-
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)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Barion pixel’ is closed to new replies.