Skip to main content
Skip table of contents

Conversion Tag Customization

To get the most out of our conversion tag, you can customize the tag to match your company's personal preferences. Customization gives you the ability to create several different conversion tags and track your leads, purchases, or other events as you see fit.

To customize, you can set different conversion types and additionally pass a conversion ID.

Explanation of parameters

Conversion Type: A string that describes the type of conversion being tracked (e.g., 'lead', 'purchase', 'signup', 'custom_conversion')

Conversion ID: A unique identifier for the specific conversion instance being tracked (e.g., 'lead123', 'order12345', 'signup123', 'custom123'). Specifying a Conversion ID is optional.

Basic Conversion Tracking Tag

The basic tracking tag initializes the tracking and is used to report a generic conversion.

Basic Tag Example:

CODE
<script type="text/javascript">
fraud0 = window.fraud0 || [];
fraud0.push([1]);
</script>

Tracking Different Conversion Events

To track different types of conversion events, you can modify the fraud0.push parameters.

Below are examples of common conversion events.

Lead Conversion (without a conversion ID)

Tracks when a lead is generated.

CODE
<script type="text/javascript">
fraud0 = window.fraud0 || [];
fraud0.push(['lead']);
</script>

Purchase Conversion (with a conversion ID)

Tracks when a purchase is made.

CODE
<script type="text/javascript">
fraud0 = window.fraud0 || [];
fraud0.push(['purchase', 'order12345']);
</script>

Signup Conversion (with a conversion ID)

Tracks when a user signs up.

CODE
<script type="text/javascript">
fraud0 = window.fraud0 || [];
fraud0.push(['signup', 'signup123']);
</script>

Custom Conversion (with a conversion ID)

Tracks a custom conversion with a specified type and ID.

CODE
<script type="text/javascript">
fraud0 = window.fraud0 || [];
fraud0.push(['custom_conversion', 'custom123']);
</script>
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.