Skip to content

Templates Variables

Dr. Yusuke Takahashi edited this page Nov 9, 2013 · 3 revisions

Templates Variables

Use template variables to customize and personalize your landing page!

Objects

Here is the list of Objects of Template Variables.

  • app :: Showing the app's details
  • sender :: Showing sender's details
  • receiver :: Showing receiver's details
  • message :: Returns the message added by the the sender for referral
  • data :: Showing the data sent from the app by the app's user
  • url :: Returns URL of the generated landing page

app

Showing the app's details

app.name :: Returns the name of the app

  • {{app.name}} // "Your App Name"

app.icon :: Returns URL of the app's icon image file

app.app_store_url :: Returns URL of the app's direct link on AppStore

app.website_url :: Returns URL of the app's website

sender

Showing sender's details

sender.name :: Returns sender's name

  • {{sender.name}} // "Yusuke Takahashi"

sender.profile_image_url :: Returns URL of sender's profile image

sender.account_url :: Returns URL of sender's profile page

receiver

Showing receiver's details

receiver.name :: Returns receiver's name

  • {{receiver.name}} // "Dave McClure"

receiver.profile_image_url :: Returns URL of receiver's profile image

receiver.account_url :: Returns URL of receiver's profile page

message

Returns the message added by the the sender for referral.

  • {{message}} // "Hey, this app is awesome and I am sure you will love this!"

data

Showing the data sent from the app by the app's user

data.{PROPERTY_NAME} :: Returns data which are sent from the app

url

Returns URL of the generated landing page.