Difference between revisions of "Implementing the Base Barion Pixel"

From Barion Documentation
Jump to navigation Jump to search
(Created page with "__NOTOC__ {{PageTitle|title= Implementing the Base Barion Pixel}} = Getting Ready = = Finding the location to paste the code = = Editing the code with the webshop Barion Pix...")
 
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
 
{{PageTitle|title= Implementing the Base Barion Pixel}}
 
{{PageTitle|title= Implementing the Base Barion Pixel}}
 +
 
= Getting Ready =
 
= Getting Ready =
 +
The first prerequisite to implement the Base Barion Pixel irrespective of your webshop is knowing your your Barion Pixel ID.
  
= Finding the location to paste the code =
+
Afterwards, the exact details differ based on the platform that your webshop uses.
  
= Editing the code with the webshop Barion Pixel ID =
+
== Static HTML page ==
 +
If your site is served as a sigle HTML page or a collection of HTML pages with no server side templating, paste the Base Barion Pixel code as follows into the `<head>` tag of your website. The higher it is in the page markup, the better, since our code takes a minimal time to run, as the majority of Barion Pixel functions are loaded from an external source, which loads asynctronously, so that it won't block your page from loading or cause slowdowns.

Revision as of 16:23, 28 January 2020

Implementing the Base Barion Pixel

Getting Ready

The first prerequisite to implement the Base Barion Pixel irrespective of your webshop is knowing your your Barion Pixel ID.

Afterwards, the exact details differ based on the platform that your webshop uses.

Static HTML page

If your site is served as a sigle HTML page or a collection of HTML pages with no server side templating, paste the Base Barion Pixel code as follows into the `<head>` tag of your website. The higher it is in the page markup, the better, since our code takes a minimal time to run, as the majority of Barion Pixel functions are loaded from an external source, which loads asynctronously, so that it won't block your page from loading or cause slowdowns.