About Convertize

Installing Convertize

With Website Builder

With Tag Manager

Manually

Using Convertize

Managing Experiments

Targeting & Tracking

SmartPlugins

Advanced Use

Your Results

Technical Info

Billing

A/B Testing Agency

FAQ

How to include live data in the Persuasive Notifications

Create Social Proof for your website

Convertize gives you the option to show live data from your website in persuasive notifications. You can, for example, show how many people visit your webpages or how many items of you products are left in stock. In this way, you can create great Social Proof for your website. 

Insert Dynamic Values

To show live data, you need to insert Dynamic Values. This is an advanced feature that dynamically updates your notification message to include live data from your website. Please make sure that you follow the instructions carefully.

  • To use Dynamic Values Insertion with your notifications, you need to insert a special piece of code into your notification message
  • Let’s say that you want to use a notification to display the quantity of rooms available in your hotel. You would simply insert a small code snippet into your webpage (examples shown below) and Convertize would automatically replace the code with the dynamic value that you push through the snippet
  • This feature allows you to display live data, making your message more specific and more persuasive

List of dynamic variables

The following table lists the dynamic variables used by the notifications available in the Notification Workspace and the snippet of code that must be pushed in order to show the notification.

Place this code right after the main Convertize.io snippet so that the dynamic values are passed to the notification.

You do not need to place this code on every page of your website. You can only place it on the pages where you will be using the notifications, along with the dynamic values.

Variable Description Code Example
stock_qty Number of products in stock
<script>
    window.convertize = window.convertize || [];
    convertize.push('persuasive-notifications', {
        stock_qty: {
            value: 2,
            min_value: 1,
            max_value: 5
        }
    });
</script>

value – Replace with the actual stock on this product
min_value – Below this number the notification will not be displayed
max_value – Above this number the notification will not be displayed – not more than 999

buyer_qty Number of recent buyers
e.g. for a product
<script>
    window.convertize = window.convertize || [];
    convertize.push('persuasive-notifications', {
        buyer_qty: {
            value: 3,
            min_value: 3,
            max_value: 999,
            singular_name: "person has",
            plural_name: "people have"
        }
    });
</script>

value – Replace with the actual number of recent buyers for this product
min_value – Below this number the notification will not be displayed
max_value – Above this number the notification will not be displayed – not more than 999
singular_name – Displayed after buyer_qty value when buyer_qty = 1 – max. 30 characters
plural_name – Displayed after buyer_qty value when buyer_qty is more than 1 – max. 30 characters

purchase_qty Number of recent purchases for a product
<script>
    window.convertize = window.convertize || [];
    convertize.push('persuasive-notifications', {
        purchase_qty: {
            value: 8,
            min_value: 3,
            max_value: 999,
            singular_name: "time",
            plural_name: "times"
        }
    });
</script>

value – Replace with the actual number of recent purchases for this product
min_value – Below this number the notification will not be displayed
max_value – Above this number the notification will not be displayed – not more than 999
singular_name – Displayed after purchase_qty value when purchase_qty = 1 – max. 30 characters
plural_name – Displayed after purchase_qty value when purchase_qty is more than 1 – max. 30

signup_qty Number of sign ups for this service/website
<script>
    window.convertize = window.convertize || [];
    convertize.push('persuasive-notifications', {
        signup_qty: {
            value: 12,
            min_value: 3,
            max_value: 999,
            singular_name: "person has",
            plural_name: "people have"
        }
    });
</script>

value – Replace with the actual number of sign ups for your service/website
min_value – Below this number the notification will not be displayed
max_value – Above this number the notification will not be displayed – not more than 999
singular_name – Displayed after signup_qty value when signup_qty = 1 – max. 30 characters
plural_name – Displayed after signup_qty value when signup_qty is more than 1 – max. 30 characters

product_rating Product rating
<script>
    window.convertize = window.convertize || [];
    convertize.push('persuasive-notifications', {
        product_rating: {
            value: 5,
            min_value: 3,
            max_value: 5
        }
    });
</script>

value – Replace with the actual rating score of this product
min_value – Below this number the notification will not be displayed
max_value – Above this number the notification will not be displayed – not more than 100

source_rating Source rating
<script>
    window.convertize = window.convertize || [];
    convertize.push('persuasive-notifications', {
        source_rating: {
            value: "Parker",
        }
    });
</script>

value – Replace with the actual source of rating of this product

shipping_diff_value Remaining amount to reach Free shipping
<script>
    window.convertize = window.convertize || [];
    convertize.push('persuasive-notifications', {
        shipping_diff_value: {
            value: 23,
            min_value: 1,
            max_value: 100,
        }
    });
</script>

value – Replace with the remaining amount to reach free shipping on this product
min_value – Below this number the notification will not be displayed
max_value – Above this number the notification will not be displayed – not more than 999

days_rem Number of remaining days
e.g. for an event
<script>
    window.convertize = window.convertize || [];
    convertize.push('persuasive-notifications', {
        days_rem: {
            value: 2,
            min_value: 1,
            max_value: 10,
            singular_name: "day",
            plural_name: "days"
        }
    });
</script>

value – Replace with the actual number of days remaining to the event
min_value – Below this number the notification will not be displayed
max_value – Above this number the notification will not be displayed – not more than 99
singular_name – Displayed after days_rem value when days_rem = 1 – max. 30 characters
plural_name – Displayed after days_rem value when days_rem is more than 1 – max. 30 characters

 

Custom Values

You are also able create your own dynamic values around the ones we have built, up to 5 using the “your_custom_value” 1 to 5. For example, you can use a message like  “Discount only available until {your_custom_value1}”, replacing {your_custom_value1} in the Javascript code, e.g. “tonight” or “22:00 Today”

If a custom value is longer than 20 characters, it will be truncated to the nearest preceding space below 20 characters, so that the message displays entire words only.

Variable Code Example
your_custom_value1
<script>
    window.convertize = window.convertize || [];
    convertize.push('persuasive-notifications', {
        your_custom_value1: {
            value: ""
        }
    });
</script>

value – Insert your custom value – max. 20 characters

your_custom_value2
<script>
    window.convertize = window.convertize || [];
    convertize.push('persuasive-notifications', {
        your_custom_value2: {
            value: ""
        }
    });
</script>

value – Insert your custom value – max. 20 characters

your_custom_value3
<script>
    window.convertize = window.convertize || [];
    convertize.push('persuasive-notifications', {
        your_custom_value3: {
            value: ""
        }
    });
</script>

value – Insert your custom value – max. 20 characters

your_custom_value4
<script>
    window.convertize = window.convertize || [];
    convertize.push('persuasive-notifications', {
        your_custom_value4: {
            value: ""
        }
    });
</script>

value – Insert your custom value – max. 20 characters

your_custom_value5
<script>
    window.convertize = window.convertize || [];
    convertize.push('persuasive-notifications', {
        your_custom_value5: {
            value: ""
        }
    });
</script>

value – Insert your custom value – max. 20 characters

About Convertize

Installing Convertize

With Website Builder

With Tag Manager

Manually

Using Convertize

Managing Experiments

Targeting & Tracking

SmartPlugins

Advanced Use

Your Results

Technical Info

Billing

A/B Testing Agency

FAQ