Instead of having to switch back and forth between apps, drivers efficiently control their queue and see passenger info all in one place, making it easier to manage rides and get to where they’re going. Give your drivers seamless experiences by integrating turn-by-turn navigation powered by Google Maps right into your app. Help your drivers get from point A to Z faster and safer Here are its public methods: broadstreet.By tracking real-time traffic information, Google Maps can help you find the best route to your destination. Once the Broadstreet code is included, either via the WordPress plugin or manually, you have access to the global broadstreet javascript object. Note: At this time, zone aliases can only be set by select partners and accounts. In this case, instead of providing a numeric ID for a zone, you supply the text alias of the zone. If set to true, you must also supply a network ID. This scenario is described in the “Alternate Ad Units” section below. By default, it never goes into effect, but you can specify a function that determines otherwise.Īs a convenience, you can also specify an integer which describes the browser width threshold where alternate ad units should be used. Whenever a user’s browser window is loaded or resized, this callback is called to determine whether alternate ad unit placement (described in the next section) should go into effect. Window.broadstreet = window.broadstreet || If you would like 100% asynchronous tags (slightly more complex), you can do this instead: Note that the call to broadstreet.watch() takes an optional configuration object which is described in the API section below. The newer javascript can be inserted anywhere in the or tags. In our older tags, init.js had to be inserted into the area of the page markup. Next, you’ll want to insert this version of init.js: Step 1: Insert this JS include into your HTMLįirst, you’ll want to remove any previous references to Broadstreet’s version 1 init.js (usually /init.js). Non-Wordpress users, or developers looking to customize the behavior of V2 tags may opt to insert our tags manually into their theme or page templates. The area for “Ad Tag Init” is discussed in the API section below. At the bottom of the settings list, you’ll see a text area that texts initialization arguments: Inside the WordPress admin area, simply go to Broadstreet -> Zone Options. You can pass in Ad Tag Initialization Arguments on the plugins “Zone Options” settings page. Your account’s zone IDs can be found in Broadstreet’s dashboard, under the title of the zone, like below:īroadstreet’s WordPress plugin currently has built-in support for V2 tags which is enabled by default. Note: In this example, “30071” is the ID of the zone that is being displayed. Zone code analogous to the aforementioned “version 1” ad tags look like this: Įnabling and using these new ad tags can be on one of a couple of different ways, with the Broadstreet WordPress plugin, and with plain HTML for non-Wordpress sites or for WordPress site users who would rather just use the tags. They allow customizations not previously possible.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |