Button Click conversion implementation

In 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.

Watch a visual representation of this manual. For further details read below

Step 1

Initialise 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.

This how it should look when it is initialised between the <body> tags.

Screen_Shot_2018-08-13_at_19.42.21.png

Step 2

On the “Submit” button, add an onclick property to the button, with the attribute “esk(‘track’, ‘Conversion’);”

The button code should look like this

Screen_Shot_2018-08-13_at_19.45.43.png

Now every time the button is clicked a successful conversion is registered.

You can check the demo page here: http://business.eskimi.com/azz/audiences/
Don’t forget to view the source code of the page

 

Was this article helpful?