Add support for embed settings: encode records and append it to the iframe url