Home / Admin / Goal Tracking Pixel
Duplicate Snippet

Embed Snippet on Your Site

Goal Tracking Pixel

This pixel tracks the unit conversions and revenue across all your push campaigns. This helps you measure the ROI from PushEngage.

Code Preview
js
var peGoal = {  
    name : "Enter goal name",  
    count: 1,  
    value: 1, // Enter goal value in numbers
};
window.PushEngage = window.PushEngage || [];
PushEngage.push(function() {
    PushEngage.sendGoal(peGoal).then(function(data) {
        console.log(data)
    }).catch(function error(error) {
        console.log(error.message)
    });
});

Comments

Add a Comment