Article sections

    The customer attributes are data that you store in your own database and want to share with Omniconvert in order to segment your visitors in a more advanced manner.

    Let’s say you have an online clothing shop, where visitors can create accounts. You can ask for information like sex or shoe size in your registration form.

    Integration

    After you’ve collected this info, you can share it with Omniconvert through the following JavaScript code, so that you will be able to use it later on to create an experiment for these visitors:

    <script>_mktz.push(['_Var','NAME','VALUE']);</script>
    
    • NAME – name of the personalized attribute (for example: gender)
    • VALUE – the value of the attribute (for example: male)

    Display available attributes

    From the left side Menu, press on Advanced to open up more categories, then select Customer Attributes.

    On that page, you can see all the attributes sent and the number of visitors for each one.
    For debugging purposes, you can view the last 10 values sent for each attribute.

    How to use it

    Customer attributes can be used for segmentation or as dynamic text in experiments/surveys.

    Segments

    You can setup custom segments by using the custom attribute as the parameter. This can be used if you want your experiment to only apply to a specific set of visitors.

    Experiments

    Custom attributes can also be used if you want to personalize your experiments. As in the example above, the Name is used for a Survey to address the experiment participant.

    Good to know

    If there already is an attribute associated with that visitor, the new value will overwrite the old one. If you’d like to write off a certain association, leave the VALUE parameter empty.

    The segmentation based on these attributes works with or without the user being connected to your website.

    Please remember that you need to install the main tracking code on all pages that use these smaller pieces of code.

    Was this post helpful?