Date: Fri, 29 Mar 2024 04:10:08 -0700 (PDT) Message-ID: <1032080380.1728.1711710608260@[209.237.231.73]> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_1727_389632226.1711710608257" ------=_Part_1727_389632226.1711710608257 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html
This section is for users of the MSO Mark= eting Services Organization.
While this document is specific to Sojern, we have a = broader document here that explains in depth the use of Tracking codes for= use in Google Analytics and other tracking systems.
Sojern provides the code below, but it is similar= for all tracking systems that use the Booking Engine tools we provide= . The code is entered into Setup Area of MyPMS or Channel Manager. &n= bsp;
Once in the Setup Area, go to Settings -> Booking Engine Settin= gs. Click edit and paste the Sojern code into the Web Tracking Code Last Page<= /em>
Parameters we pass are as follows:
Sample Code: Sojer= n provides this.
<!-- Sojern Tag v6_js, Pixel Version: 1 -->
<script>
(function () {
/* Please fill the following values. */
var params =3D {
hd1: "%%$arrival_date%%", /* Check In Date. Format yyyy-mm-dd.
Ex: 2015-02-14 */
hd2: "%%$departure_date%%", /* Check Out Date. Format yyyy-mm-dd.
Ex: 2015-02-14 */
hp: "%%$total_price%%", /* Purchase Price */
hcu: "USD", /* Purchase Currency */
hconfno: "%%$booking_id%%" /* Confirmation Number */
};
var sjrnIn =3D new Date(params.hd1);
var sjrnOut =3D new Date(params.hd2);
params.hd1 =3D
sjrnIn.getFullYear()+'-'+("0"+(sjrnIn.getMonth()+1)).slice(-2)+'-'+("0"+sj=
rnIn.getUTCDate()).slice(-2);
params.hd2 =3D
sjrnOut.getFullYear()+'-'+("0"+(sjrnOut.getMonth()+1)).slice(-2)+'-'+("0"+=
sjrnOut.getUTCDate()).slice(-2);
params.hp =3D (parseFloat(params.hp) / 1.14).toFixed(2);
/* Please do not modify the below code. */
var cid =3D [];
var paramsArr =3D [];
var cidParams =3D [];
var pl =3D document.createElement('script');
var defaultParams =3D
{"vid":"hot","et":"hc"};
for(key in defaultParams) { params[key] =3D defaultParams[key]; };
for(key in cidParams) { cid.push(params[cidParams[key]]); };
params.cid =3D cid.join('|');
for(key in params) { paramsArr.push(key + '=3D' +
encodeURIComponent(params[key])) };
pl.type =3D 'text/javascript';
pl.async =3D true;
pl.src =3D 'https://beacon.=
sojern.com/pixel/p/49648?f_v=3Dv6_js&p_v=3D1&'
+ paramsArr.join('&');
(document.getElementsByTagName('head')[0] ||
document.getElementsByTagName('body')[0]).appendChild(pl);
})();
</script>
<!-- End Sojern Tag =E2=86=92
-----------------------
DerbySoft provides a similar set of functionality that Sojern does, usin= g a 'deep URL' construct to provide tracking of a reference to their system= for tracking purposes. The most common use of DerbySoft for BookingC= enter users is the 'meta search' product, which BookingCenter supports via = our Booking Engines to track = the 'per transaction' fee business model through some meta search channels.= Note that this requires that the property is using either the GDS s= ystem or our connection to the SynXis CRS product to fulfill DerbySoft repo= rting requirements.
If using BOTH Goog=
le Analytics and DerbySoft, or Sojern and Google Analytics, etc then on=
e must be careful to keep the codes/scripts separate. Therefore, when =
you paste the Google Analytics code, make sure it is either complete above,=
or completely below, what already exists for Sojern/DerbySoft. Remember th=
at is can take Google=
Analytics up to 24 hours to update when test booking are made.
BookingCenter requires that an MSO 'Premium Marketing Services' contract i=
s in place in order for this to work. Go to: http://www.Boo=
kingCenter.com/contact/ to request the service or call us at +1-70=
7-874-3922 ext 201.
Learn more about the MSO 'Premium Marketing Services' contract at: http://www.bookingcenter.com=
/interfaces-and-modules/marketing-services-mso/