Article sections

    If you are already using Google Tag Manager there is a big chance you’ve already implemented multiple custom information,  sent through dataLayer. With Omniconvert you can use all this custom information to segment experiments/surveys without another implementation.

    A bassic dataLayer looks like this:

    <script>
        dataLayer = [{
            isLoggedIn: 0,
            userEmail: ''
        }];
    </script>
    

    Example to segment all logged visitors:

    segmentation all logged visitors

    Also, you can use any dataLayer attribute as text in creatives with the {DATALAYER[attribute]} format.

    Warning
    The dataLayer script tag must be inserted in the page before The Omniconvert code.