Skip to contents

Apple Smart Banner Meta Tag

Usage

meta_apple_itunes_app(.meta = meta(), app_id = NULL, affiliate_id = NULL, ...)

Arguments

.meta

A meta object created by meta() or as_meta(), or returned by a meta_*() object.

app_id

Apple app ID

affiliate_id

Apple affiliate ID

...

Additional name=value pairs.

Value

A meta object, or a set of <meta> HTML tags inside an HTML <head> tag. For use in rmarkdown::html_document(), shiny::runApp(), or other HTML locations.

Example

# <!-- Smart App Banner -->
<meta name="apple-itunes-app" content="app-id=APP_ID,affiliate-data=AFFILIATE_ID,app-argument=SOME_TEXT">