Terms of Service guidelines
Stay organized with collections
Save and categorize content based on your preferences.
To help riders clearly understand their rights and responsibilities, users must accept the
transit agency’s Terms of Service (ToS) that are provided through the integrator. For security
reasons, transit agencies must comply with the following requirements in their ToS to ensure
they're presented properly. Google removes prohibited content from a non-compliant ToS before we
present it to the user. If we identify any new risks, Google reserves the right to update its
review process.
To format the ToS, use one of the following two options:
- Plain text: UTF-8 encoded.
- HTML: Use with a limited subset of tags.
Plain text option
Plain text is the simplest option to use in order to create a compliant ToS because it doesn't
allow you to include non-compliant tags or hyperlinks. Content must be UTF-8 encoded.
If you use the plain text option, use the following template:
Section Header
Text for this section...
Section Header
Text for this section...
* Bullet 1
* Bullet 2
* Bullet 3
Section Header
Text for this section…
HTML option
When you use the HTML option, you have more control over the formatting and still remain
compliant with our ToS guidelines. However, we only allow certain HTML tags. All non-compliant
tags are stripped from what's presented to the user.
The ToS must be a well-formed HTML v4 or v5 document. The document must have proper
document structure and balanced tags.
The following are the only tags allowed:
- Document structure:
<html>
, <head>
,
<title>
, and <body>
.
- Headers:
<h1>
, <h2>
, <h3>
,
<h4>
,<h5>
, and <h6>
.
- List elements:
<li>
, <ul>
, and
<ol>
.
- Tables:
<table>
, <tr>
, <td>
, and
<th>
.
- Paragraph and line breaks:
<p>
and <br>
.
- Text formatting:
<b>
, <i>
, <u>
,
<strong>
, and <em>
.
Don't use any of the following commonly used tags:
- Images:
<img>
tags
- Javascript:
<script>
tags
<link>
tags to javascript files
- CSS in any form:
<style>
tags
<link>
tags to stylesheet
<style>
tags to attributes
- Links:
- Tracking tags and pixels
- Any of the following tags:
<applet>
<base>
<embed>
<form>
<iframe>
<link>
<math>
<meta>
<object>
<script>
<style>
<svg>
<template>
Keep the following things in mind:
- We only support plain text and HTML MIME types.
- Bold and italics aren't text options.
- Keep the uncompressed size of the ToS to less than 100 kB.
- The maximum font size for headings is 24 px.
- Headings must be less than 10% of the total characters in the ToS.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-03-06 UTC.
[null,null,["Last updated 2025-03-06 UTC."],[[["\u003cp\u003eTransit agencies must provide Terms of Service (ToS) through integrators for riders to acknowledge their rights and responsibilities.\u003c/p\u003e\n"],["\u003cp\u003eToS content must adhere to formatting guidelines, either plain text (UTF-8) or HTML with a restricted set of tags, to ensure proper presentation and security.\u003c/p\u003e\n"],["\u003cp\u003eGoogle automatically removes prohibited content from non-compliant ToS before displaying it to users and reserves the right to update its review process.\u003c/p\u003e\n"],["\u003cp\u003eAllowed HTML tags include basic structural elements, headers, lists, tables, text formatting, and paragraph/line breaks; prohibited tags encompass images, JavaScript, CSS, links, tracking elements, and various others listed.\u003c/p\u003e\n"],["\u003cp\u003eToS documents should be limited to 100 kB in size and follow specific formatting constraints such as maximum font size for headings and heading character limits.\u003c/p\u003e\n"]]],["Transit agencies must provide Terms of Service (ToS) to users, compliant with specific requirements. They can use either UTF-8 encoded plain text or a limited set of HTML tags (v4 or v5). Allowed HTML includes structure, headers, lists, tables, paragraphs, line breaks, and text formatting. Prohibited tags encompass images, JavaScript, CSS, links, and tracking elements. Google will remove any prohibited content. The ToS must be under 100kb uncompressed, with headings at a maximum font size of 24px.\n"],null,["# Terms of Service guidelines\n\nTo help riders clearly understand their rights and responsibilities, users must accept the\ntransit agency's Terms of Service (ToS) that are provided through the integrator. For security\nreasons, transit agencies must comply with the following requirements in their ToS to ensure\nthey're presented properly. Google removes prohibited content from a non-compliant ToS before we\npresent it to the user. If we identify any new risks, Google reserves the right to update its\nreview process.\n\nTo format the ToS, use one of the following two options:\n\n- **Plain text:** UTF-8 encoded.\n- **HTML:** Use with a limited subset of tags.\n\nPlain text option\n-----------------\n\nPlain text is the simplest option to use in order to create a compliant ToS because it doesn't\nallow you to include non-compliant tags or hyperlinks. Content must be UTF-8 encoded.\n\nIf you use the plain text option, use the following template: \n\n```scdoc\nSection Header\nText for this section...\nSection Header\nText for this section...\n* Bullet 1\n* Bullet 2\n* Bullet 3\nSection Header\nText for this section…\n```\n\nHTML option\n-----------\n\nWhen you use the HTML option, you have more control over the formatting and still remain\ncompliant with our ToS guidelines. However, we only allow certain HTML tags. All non-compliant\ntags are stripped from what's presented to the user.\n\n*The ToS must be a well-formed HTML v4 or v5 document.* The document must have proper\ndocument structure and balanced tags.\n\nThe following are the only tags allowed:\n\n- Document structure: `\u003chtml\u003e`, `\u003chead\u003e`, `\u003ctitle\u003e`, and `\u003cbody\u003e`.\n- Headers: `\u003ch1\u003e`, `\u003ch2\u003e`, `\u003ch3\u003e`, `\u003ch4\u003e`,`\u003ch5\u003e`, and `\u003ch6\u003e`.\n- List elements: `\u003cli\u003e`, `\u003cul\u003e`, and `\u003col\u003e`.\n- Tables: `\u003ctable\u003e`, `\u003ctr\u003e`, `\u003ctd\u003e`, and `\u003cth\u003e`.\n- Paragraph and line breaks: `\u003cp\u003e` and `\u003cbr\u003e`.\n- Text formatting: `\u003cb\u003e`, `\u003ci\u003e`, `\u003cu\u003e`, `\u003cstrong\u003e`, and `\u003cem\u003e`.\n\nDon't use any of the following commonly used tags:\n\n- Images: `\u003cimg\u003e` tags\n- Javascript:\n - `\u003cscript\u003e` tags\n - `\u003clink\u003e` tags to javascript files\n- CSS in any form:\n - `\u003cstyle\u003e` tags\n - `\u003clink\u003e` tags to stylesheet\n - `\u003cstyle\u003e` tags to attributes\n- Links:\n - `\u003ca\u003e` tags\n- Tracking tags and pixels\n- Any of the following tags:\n - `\u003capplet\u003e`\n - `\u003cbase\u003e`\n - `\u003cembed\u003e`\n - `\u003cform\u003e`\n - `\u003ciframe\u003e`\n - `\u003clink\u003e`\n - `\u003cmath\u003e`\n - `\u003cmeta\u003e`\n - `\u003cobject\u003e`\n - `\u003cscript\u003e`\n - `\u003cstyle\u003e`\n - `\u003csvg\u003e`\n - `\u003ctemplate\u003e`\n\nKeep the following things in mind:\n\n- We only support plain text and HTML MIME types.\n- Bold and italics aren't text options.\n- Keep the uncompressed size of the ToS to less than 100 kB.\n- The maximum font size for headings is 24 px.\n- Headings must be less than 10% of the total characters in the ToS."]]