"URL Builder Parameters Not Appended Due To Query String Inside {Ifmobile} Or {Ifnotmobile}" Error Message

When uploading a bulk sheet to update some URLs with the {ifmobile} {ifnotmobile} parameters, you may sometimes encounter the following error message:

Warning: URL Builder parameters not appended due to query string inside {ifmobile} or {ifnotmobile}.

 

What Causes The Issue?

This problem most commonly occurs in either of these situations:

  • When the parameters already appended to the URL in the brackets in the bulk sheet.
  • You have a query string such as question mark "?" or ampersand "&" inside the {ifmobile} or {ifnotmobile} tags.

    For example: http://{ifmobile:m.example.com/?subcategory=123}{ifnotmobile:www.example.com/}

    In this case, you need to remove "?" and reformat the URL without any query string such as below:

    http://{ifmobile:m.}{ifnotmobile:www.}example.com/?{ifmobile:subcategory=123}

How To Fix The Issue

This is expected behavior, and as such does not require a fix. If the above is not the case or you have more questions, please contact our Customer Support team, who will be happy to help investigate.

Additional Information

  • Google accepts ? inside {ifmobile} or {ifnotmobile} so it is possible to see this scenario in a Google URL. More information can be found here. Marin will not traffic the URL, so you will need to manually build URLs (without the use of URL Builder).
  • Microsoft does not allow ? inside {ifmobile} or {ifnotmobile}

Written by Marketing @ Marin Software

Last published at: June 30th, 2023