Eskimi Conversion Pixel Implementation on Action Button
On some occasions, you will need to implement a conversion registration when the user clicks a button. This can be done in a few easy steps.
Step 1
Initialize the base pixel.
Paste your base pixel code between your websites success page <body> </body> tags. And if the code is initialised in the <head> </head> tags then everything is set up.
ThisCopy howthe itbase shouldpixel lookfrom whenthe itDSP: choose Tracking and the DSP gives you the base pixel code. It tracks visits and sessions and collects retargeting audiences. It looks like this:
The id in esk('init', ...) is initializedunique betweenfor each advertiser account, so yours will differ from the <body>one tags.
Step 2
For conversion tracking you need both pixels: the base pixel on every page of your website, and the conversion pixel where the conversion happens. In the DSP, tick Conversion under Tracking. The page then shows the base pixel code to paste on every page, and the conversion code to paste where the conversion is triggered:
On the "Submit" button, add an onclick property to the button, with the attribute "esk ('track', 'Conversion');"
Now every time the button is clicked a successful conversion is registered.
Don't forget to view the source code of the page.

