Skip to main content

Conversion

Tag an event as a conversion

In order to track a conversion, you need to set the property goal_type on the event leading to conversion.

PropertyType
goal_typestring
pa.setProperty('goal_type', 'signup');

or

pa.sendEvent('account.signup', {
...,
'goal_type': 'signup',
...
});

More information regarding pa.setProperty() method in dedicated article.