Skip to main content
Skip table of contents

Conversion-Tag-Implementation

Conversion-Tag-Implementation.png

Implement fraud0 Conversion Tag

fraud0 Conversion Tag

This code enables us to fine-tune our detection algorithms, by tagging sessions that lead to a conversion we can detect false-positives, i.e. when a session marked as a bot performs an action only a real user would do. Please place the Conversion Tag on your confirmation pages, e.g. payment confirmation page.

fraud0 offers two methods for implementing the Conversion Tag, along with various customization options:

  1. Implement fraud0 Conversion Tag via Google Tag Manager (GTM)

  2. Implement fraud0 Conversion Tag directly on your website

  3. Customize your Conversion Tags


Option A

Implement fraud0 Conversion Tag via Google Tag Manager (GTM)

Step 1: Get your fraud0 Conversion Tag code

  • Login to your fraud0 Dashboard

  • Navigate to Implementation

  • You can find the code in the Conversion Tag section

  • Copy the code

The code looks like this:

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

Step 2: Add a new tag in Google Tag Manager

fraud0 - GTM - new Tag-20221116-190809 (4).jpg

  • Name the new tag F0 Conversion Tag

  • Open Tag Configuration and select Custom HTML

fraud0 - GTM - Custom HTML Tag-20221116-190929 (3).jpg

  • Paste your code from Step 1 into the HTML field (1)

  • Check Support document.write (2)

  • Set Tag firing priority to 800 (3) in Advanced Settings

  • Set Triggering to the equivalent purchase trigger from your website (e.g. a trigger based on your confirmation page or a specific purchase event)

fraud0 - GTM - fraud0 Custom HTML Tag Conversion-20221116-192146 (1).jpg

Click on Save


Option B

Implement fraud0 Conversion Tag directly on your website

Implement fraud0 Conversion Tag Code

  • Login to your fraud0 Dashboard

  • Navigate to Implementation

  • You can find the code in the Conversion Tag section

  • Copy and paste the JavaScript code into the <body> tag on every confirmation page of your website

implementation_conversion_tag (1).png


Conversion Tag Customization

Customize your Conversion Tags

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>

Next Steps


Need support?

Do you still have questions or require further details? Contact our support team for assistance!

Send us an email →

JavaScript errors detected

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

If this problem persists, please contact our support.