The Conditions

///Device type
Device type 2018-09-16T11:25:06+03:00

About content customization by device type

Users behavior is different on mobile, tablet, and desktop. With If>So’s device type conition you can easly optimize your website’s content experience to each device. You can choose to replace some of your page content, replace the whole page, or add new content on certain devices only.

Adaptive design solution

Unlike responsive design, If>So’s solution is a server-side solution. It means that content you set to be displayed on certain devices, will not be loaded on others. Result in a faster page loading time and convenient way to manage and optimize content.

How can your site benefit from device-based content? Examples:

  • Display a click to call button on mobile devices, and a phone number on desktops.
  • Combining with the schedule condition: Show mobile visitors a click to call button on opening hours, replace it with a contact form when the business is closed.
  • Prevent the loading of sliders and other long loading content on mobile devices.
  • Create a whole different version of your homepage (or any other page) and redirect mobile visitors to the new, optimized page.

 

Which content can be customized using the device type condition?

Same as on all If>So’s dynamic triggers,  any content of the website can be customized. That includes titles, texts, images, call to actions, and buttons.

Redirect mobile visitors to a new page?

If>So’s device type condition can be used to redirect mobile visitors to a new page. The following JavaScript code creates an auto-redirect to a page of your choice (make sure to replace http://www.example.com with the page’s URL you want to redirect to). To create the redirect on mobile devices only, create an I>So trigger with a device type condition, and paste the code into the relevant content field (See step by step instruction below).

<script>
window.location.replace("https://www.example.com");
</script>

 

How to set up a device-based content using If>So

  1. On your WordPress dashboard, go to “If>So → Add New Trigger
  2. Click on “Select a condition” and select “Device Type“.
  3. Check the device (or devices) you would like to display customized content on.
  4. In the content field, set the content to be displayed on the devices you have checked.
  5. In the default content field, set content to be displayed on the devices you have not chosen (optional, can be left blank).
  6. Press “Publish” and paste the shortcode generated by If>So in your website.

     

  • Was this Helpful ?
  • YesNo

Ready to get started?

See it working on your website! Try it free.