![]() | Pixel is a small piece of HTML-code, which is located on the client's site. This piece of code does not change the structure and content of the site. The purpose of the pixel is to record the user's actions on the site to help advertising platform GetIntent show more relevant ads. |
Pixel must be installed in the bottom section of the <head> before the closing tag </ head>.
GetIntent supports three kinds of pixels:
<script type="text/javascript"> if (typeof __GetI === "undefined") { __GetI = []; } (function () { var p = { type: "VIEW", /* config START */ site_id: "[site_id]", product_id: "[product_id]", pixel_id: "[pixel_id]" /* config END */ }; __GetI.push(p); var domain = (typeof __GetI_domain) == "undefined" ? "px.adhigh.net" : __GetI_domain; var src = ('https:' == document.location.protocol ? 'https://' : 'http://') + domain + '/p.js'; var script = document.createElement( 'script' ); script.type = 'text/javascript'; script.src = src; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(script, s); })();</script> |
Parameter | Optional | Description |
|---|---|---|
| [site_id] | no | Your website ID in the Getintent interface. For more information: Sites and Conversion |
| [product_id] | yes | The ID of the product in your internal system should match the YML ID. Otherwise leave this field blank. |
| [pixel_id] | yes | Pixel ID (only for reporting) |
<script type="text/javascript"> if (typeof __GetI === "undefined") { __GetI = []; } (function () { var p = { type: "CART_ADD", /* config START */ site_id: "[site_id]", product_id: "[product_id]", order:[ {id:"product_id1", price:"24.90", quantity:2}, {id:"product_id2", price:"36.90", quantity:1} ] /* config END */ }; __GetI.push(p); var domain = (typeof __GetI_domain) == "undefined" ? "px.adhigh.net" : __GetI_domain; p["forward_tag"] = p["forward_tag"] || false; var src = ('https:' == document.location.protocol ? 'https://' : 'http://') + domain + '/p.js'; var script = document.createElement( 'script' ); script.type = 'text/javascript'; script.src = src; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(script, s); })();</script> |
Parameter | Optional | Description |
|---|---|---|
| [site_id] | no | Your website ID in the Getintent interface. For more information: Sites and Conversion |
| [product_id] | yes | The ID of the product in your internal system should match the YML ID. Otherwise leave this field blank. |
| [order] | yes | An order summary. Is to be used only when it's impossible to set product_price and product_id |
<script type="text/javascript"> if (typeof __GetI === "undefined") { __GetI = []; } (function () { var p = { type: "CONVERSION", /* config START */ site_id: "[site_id]", order:[ {id:"product_id1", price:"24.90", quantity:2}, {id:"product_id2", price:"36.90", quantity:1} ], transaction_id: "[transaction_id]", revenue: "[revenue]", pixel_id: "[pixel_id]" /* config END */ }; __GetI.push(p); var domain = (typeof __GetI_domain) == "undefined" ? "px.adhigh.net" : __GetI_domain; var src = ('https:' == document.location.protocol ? 'https://' : 'http://') + domain + '/p.js'; var script = document.createElement( 'script' ); script.type = 'text/javascript'; script.src = src; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(script, s); })();</script> |
Parameter | Optional | Description |
|---|---|---|
| [site_id] | no | Your website ID in the Getintent interface. For more information: Sites and Conversion |
| [order] | yes | An order summary. |
| [transaction_id] | yes | ID (in your internal system) that identifies transaction. For example, It could be order id |
| [revenue] | yes | Revenue generated by this conversion. |
| [pixel_id] | yes | Pixel ID (only for reporting) |