All Collections
Guides
How do I update the Tito Widget from version 1 to version 2?
How do I update the Tito Widget from version 1 to version 2?
Cillian O'Ruanaidh avatar
Written by Cillian O'Ruanaidh
Updated over a week ago

Version 1 of the Tito widget is deprecated and no longer supported. Please upgrade to Version 2.

How is V2 different?

Tito Widget V2 is faster with a more modern UI. It has better support for registering via mobile and includes a new plugin system that makes it easy to include predefined integrations with third-party tools such as Google Analytics and Facebook ads.

How do I update to version 2?

In the simplest case, you will only need to change two lines of code to update to the new version:

  1. Replace <script src="https://js.tito.io/v1" async></script>
    with <script src="https://js.tito.io/v2" async></script>

  2. Remove <link rel="stylesheet" type="text/css" href="https://css.tito.io/v1.1" /> (CSS styles are now loaded automatically)

Depending on your setup you may need to take some other steps. We have outlined some of these scenarios below. See also our V2 docs or contact us at support@tito.io.

To record visitor statistics in Tito

Visitor statistics were recorded by default in V1, but V2 uses a new plugin system. Simply add the following script tag: <script src="https://js.tito.io/v2/with/hits" async></script>

To customise the widget styles

To do this you need to enable the widget in inline mode using the inline plugin like this:

<script src="https://js.tito.io/v2/with/inline" async></script>

If you wish to load the widget completely un-styled you can use this instead:

<script src="https://js.tito.io/v2/with/inline/without/widget-css" async></script>

Form styles are loaded automatically in V2. For information and options, see form styles in the docs. Any CSS you previously applied to V1 will need to be updated to apply properly to the new widget.

To update the Tito Wordpress plugin to V2

If you are using the Tito Wordpress plugin you need to update the plugin to the latest version in your Wordpress Plugins section. Note, there will be a new "plugins" field in the Tito settings section of your Wordpress admin area. Here you can enable version 2 plugins, for example hits if you need ito record visitors statistics in Tito.


Still need help? Search our FAQs for instant answers. You can also leave a message for our support team by email or in-app, and we'll get back to you by the next working day.

Did this answer your question?