Developer Instructions for Web Reservations
Below are the instructions for how to send web reservations/rentals to CallPotential’s API endpoint so they can be tracked and transmitted via CallPotential’s Marketing Analytics.
Endpoint
The web reservation/rental endpoint is a POST call to https://transmission-prod.tracking.callpotential.com/web-reservation/
For more information on the configuration of the endpoint call, see
https://callpotential.github.io/CP-TransmissionService/API.html
Ad Session Info
The google analytics cookie is stored with the key “_ga” in the site cookies. See Get cookie by name for more information on how to do that in javascript. To get the gclid, you will need to parse the URL of the page that contains the gclid parameter. The full URL can be accessed via window.location.href
in javascript. Because the gclid is not persistent across pages, you will need to store it if the user submits a web reservation on another page.
You can optionally pass in the glsrc, the timestamp of when the conversion occurred, and any custom data to the endpoint.