Configuration – DYNAMIC Event Trip Tool

The Event Trip Tool supports Smart Trip Planning for events.  Companies and event managers may customize the TripProximity Trip Tool for use with any event page, any blog or any enterprise system that lists/aggregates events being conducted on specific dates.

Single Events – Static Version

The Smart Trip Tool for events can be hard coded with a single event’s information, which is done using our TripProximity Portal.  Anyone can register for TripProximity using the GET STARTED tab on http://www.tripproximity.com.

Once built and customized, the tool can be embedded in your website or hosted on our site if you don’t have a website.

Multiple Events – Dynamic Version

For an organization that has multiple events or that lists/aggregates events, you can use our dynamic event widget by checking the “Need a dynamic implementation?” box.   This is displayed once you enter the location where you will be installing the tool on your site.  We need this URL in order to properly support you and assist with testing.

For the dynamic version of the event trip tool, you will pass the variables to us at run, customizing literally hundreds of thousands of events with one dynamic event tool.

Here is a sample script from one of our clients:

<script type=”text/javascript”>if ($(‘#tp-widget’).html() == ”) { tripWidget({eventStart: ‘YYYY/MM/DD’,eventEnd: ‘YYYY/MM/DD’,headerText: ‘Plan your trip to ‘,appendPOI: ‘Y’,poiName: ‘Ed Sheeran Concert at San Diego Civic Center‘,address: ‘3rd Ave & B St, San Diego, CA, United States‘,trackingCode: ‘45048_Event8‘,imageUrl: ‘http://tripproximity.com/wp-content/uploads/2018/06/sandiegociviccenter.jpg‘,imageLink: ‘https://sandiegotheatres.org/‘}) }</script>

In the above script, their data has already been passed using a variable name from their system that translates into the data that you see.

Please note, if your system uses a different date format from our default date format, you will need to tell us the date format you are using so we can convert it accordingly.

The Parameters

There are several parameters that must be passed to the dynamic event trip tool to operate correctly. These must be rendered in the web page as JSON data dictionary within an HTML script tag.  The JavaScript variable name must be set to widgetVars.

 

If the trip tool is being used for a system that has multiple events, you will substitute the VARIABLE NAMES in the dynamic event widget with the correct data from your event page for the event at transaction time.

For details on each of the supported variables for the tool, see the Venue Setup instructions.  For the unique event date variables, please reference “The Event Trip Tool Variables” below.

 

The Event Trip Tool Date Variables

The following event date parameters govern how the check-in and check-out dates work for hotel, the pickup and drop-off dates work for car, and the arrival and departure dates work for air.

The variable name must be followed by a colon : and the variable will be ensconced in straight, plain quotation marks. 

Parameter Name Description

Mandatory

Format/Defaults
eventStart The starting date of the event

N

YYYY/MM/DD  can be a variable, present in toolkit for static widgets
eventEnd The ending date of the event

N

YYYY/MM/DD can be a variable, present in toolkit for static widgets
dateFormat The format used by your system if different from our default format

N

The date format must be numeric and can include slash, dash and space as delimiters.  The year can be two or four numbers.  As an example, you may enter ‘DD/MM/YYYY’ or ‘MM/DD/YY’ or “MM-DD-YY.

Comments are closed.