MLB Ballpark Deep Linking

Article author
Edward Herdemian
  • Updated

VenueNext mobile ordering & wallet is integrated into the MLB Ballpark app through OrderNext web views.  When an OrderNext web view is loaded into the Ballpark app, the Okta ID is received from the app and will sign the user in.  If Tickets.com is also used, the Okta ID will also be used to retrieve the TDC Patron ID.

The following are the steps needed to create a MLB Ballpark deep-link to the VenueNext mobile ordering experience.  These links can be used in marketing materials, signage, email campaigns, etc.

  1. Construct the OrderNext URL
    • The first part of the URL is
      https://<org_key>.principal.prd.api.vnops.net/
    • Please contact VenueNext if you are unsure of your organization key since this is not always the same as the OrderNext instance name
    • The second part is the OrderNext redirect
      redirect?instance=<instance_name>
    • The third part is the optional menu redirect
      redirect=a4dacd83-b5d0-495f-b175-d6315b1fb349/menu/40593a31-f5ed-46c5-a681-be2fff0074c4 
    • This third part can be taken from the OrderNext URL, for example:
      https://nationals.ordernext.com/a4dacd83-b5d0-495f-b175-d6315b1fb349/menu/40593a31-f5ed-46c5-a681-be2fff0074c4 
    • The three parts are then concatenated together, for example:
      https://nationals.principal.prd.api.vnops.net/redirect?instance=nationals&redirect=a4dacd83-b5d0-495f-b175-d6315b1fb349/menu/40593a31-f5ed-46c5-a681-be2fff0074c4 
  2. Encode the URL
    • Use a tool like Meyer Web to encode the constructed URL
    • Using the same example, this will result in:
      https%3A%2F%2Fnationals.principal.prd.api.vnops.net%2Fredirect%3Finstance%3Dnationals%26redirect%3Da4dacd83-b5d0-495f-b175-d6315b1fb349%2Fmenu%2F40593a31-f5ed-46c5-a681-be2fff0074c4%C2%A0

  3. Create the MLB Ballpark deep link
    • At the beginning of the encoded URL add the following: 
      ballpark://webview?dataTier=1&venueID=3309&url=
    • MLB will provide the venue ID value to use
    • This will result in:
      ballpark://webview?dataTier=1&venueID=3309&url=https%3A%2F%2Fnationals.principal.prd.api.vnops.net%2Fredirect%3Finstance%3Dnationals%26redirect%3Da4dacd83-b5d0-495f-b175-d6315b1fb349%2Fmenu%2F40593a31-f5ed-46c5-a681-be2fff0074c4%C2%A0

  4. Coordinate with MLB to set up the branch URL using the MLB Ballpark deep link
    • A branch URL will direct the user to the MLB Ballpark app deep link if the user has the app installed
    • If the user does not have the app installed then they will be direct to an MLB site with details about the app and how to install it

  5. Coordinate with VenueNext to set up a short URL & QR code
    • This step is optional, but recommended
    • If the MLB Branch URL needs to change then VenueNext can update it without having to change the short URL or QR code, saving money and time from having to reprint signage

Was this article helpful?

0 out of 0 found this helpful

Have more questions? Submit a request

Comments

0 comments

Please sign in to leave a comment.