nabilox
Registered Member
- Jan 12, 2018
- 86
- 21
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
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