Skip to main content

found.ee Universal Pixel - Conversion Tracking Custom Parameters

T
Written by Team found.ee
Updated over a year ago

found.ee Universal Pixel - Conversion Tracking Custom Parameters

found.ee Universal (Conversion) Pixel allows track custom parameters as part of the page view event.

By default we track page view event once the page loads and if the found.ee pixel exists on the web page.

Custom parameters can help track some additional data along with the page view event.

To track custom parameters the user should define a specific object along with the found.ee dmp pixel.

Object name: window.foundeePageViewParams

Object type: JSON

found.ee supports the following custom parameters:

  • item_name,

  • item_type,

  • item_id,

  • currency,

  • value.

Object example:

window.foundeePageViewParams = { item_name: 'some-item-name', item_type: 'some-item-type', item_id: 50, currency: 'USD', value: 1500}

Define the foundeePageViewParams before the pixel on the web page:

// Add the foundeePageViewParams
<script>window.foundeePageViewParams = { item_name: <ITEM-NAME>, item_type: <ITEM-TYPE>, item_id: <ITEM-ID>, value: <ITEM-VALUE>, currency: <CURRENCY>}</script>
<script>

// Initialize the pixel script

!function(e,t,n,s,a,c,p,i,o,u){e[a]||((i=e[a]=function(){i.process?i.process.apply(i,arguments):i.queue.push(arguments)}).queue=[],i.pixelId="<YOUR-PIXEL-ID>",i.t=1*new Date,(o=t.createElement(n)).async=1,o.src="https://found.ee/dmp/pixel.js?t="+864e5*Math.ceil(new Date/864e5),(u=t.getElementsByTagName(n)[0]).parentNode.insertBefore(o,u))}(window,document,"script",0,"foundee");foundee('', 'Y');
</script>

Did this answer your question?