1. This website uses cookies to improve service and provide a tailored user experience. By using this site, you agree to this use. See our Cookie Policy.
    Dismiss Notice

Mobile(ogads)/Desktop(cpabuild) Locker Redirection

Discussion in 'CPA' started by nabilox, Aug 25, 2018.

  1. nabilox

    nabilox Newbie

    Joined:
    Jan 12, 2018
    Messages:
    30
    Likes Received:
    3
    Gender:
    Male
    Hi ! hope all is well ! please i want to use a cpabuild for desktop traffic and ogads for mobile traffic ! but i struggle to embed two contentlocker in same landing page !

    i have used this code :

    <script>
    var isMobile = /iPhone|iPad|iPod|Android|WebOS|iOS/i.test(navigator.userAgent);
    if(isMobile){
    window.location = "ogads_content_locker_url";
    }else{
    window.location = "cpabuild_content_locker_url";
    }
    </script>

    but it's make my LP reflesh itself, please can you help me in this issue
    Thanks in advance