Embeded

SCAN THE QR CODE

AND LOAD THE DEMO ON OTHER DEVICES

Welcome to AutoSync Visualizer Demo

This is a demo page for AutoSync Visualizer

To get started with AutoSync Visualizer, you need to have an API key. If you don't have an API key, you can get one by signing up at AutoSync Studio and fille the form to get the API key at the bottom of the page.

Go to autosynccorp.com

Widget Code use:

AutoSync Visualizer Demo as a Widget into the page

You can use AutoSync Visualizer as a widget to customize the visualizer to your needs. The visualizer will be displayed as a widget on your page using an overlay over your content when the user clicks on the widget and do his selection. The overlay will be closed when the user clicks the close button on the bar above the visualizer.

Widget
Widget

Embed Code use:

AutoSync Visualizer Demo as a part of the page

Using segments selection

You can use AutoSync Visualizer as a part of your page and start the visualizer with a selection of a vehicle, tire or wheel segment.

Embeded Lookup

AutoSync Visualizer Demo as a part of the page

Using classic lookup

You can use AutoSync Visualizer as a part of your page and start the visualizer with a classic lookup to find quickly the product or vehicle you are looking for.

Embed Segments

AutoSync Visualizer Demo as a part of the page

Using vehicle UI focus

You can use AutoSync Visualizer as a part of your page and start the visualizer starting with a focus on vehicle selection with a specific UI.

Embed Vehicle

How to use AutoSync Visualizer?

To use AutoSync Visualizer, you need to add the following code to your website:

<div id="autosync-visualizer"></div>
<script src="https://vvs.autosyncstudio.com/js/Autosync.js"></script>
<script>
  var autosync = new Autosync({
    id: 'autosync-visualizer',
    key: 'YOUR_API_KEY'
  });
</script>

Can I configure the VVS with the embed code?

Yes. The embed code can receive this configurations into the constructor options:

  • scrollBar: Boolean. It default value is false. It will show/hide the scrollbar inside the VVS
  • homeStyle: String | null. It default value is null. It will define the home page style on the VVS, the available options are 'lookup', 'segment_selection' and 'vehicle_make_selection'
  • widget: Boolean | Object {sizesLookup: boolean, brandsLookup: boolean, vehiclesLookup: boolean, redirectUrl: string, disableLoadFromUrl: boolean, styles: string}. It will enable the widget mode into the VVS and it can receive and Object that can define configurations about the widget mode, one of these options are 'styles' it can be use to put custom CSS code to replace styles on the widget and 'redirectUrl' is a configuration that we can use to redirect the user to another page after the vehicle or product's specifications are selected
  • productSegment: String | null. It default value is null. It will define the allowed segments on the VVS, the available options are 'vehicles', 'tires', 'wheels', 'accessories'. Important.... Vehicles segment cannot be alone
  • startPage: String | null. It default value is null. It will define the home page on the VVS when it is loaded the first time, the available options are 'home', 'vehicles', 'tires', 'wheels'
  • adaptiveHeight: Boolean | null. It default value is null. It will define if the VVS will adapt the height of the iframe to the content inside it

Embed code example with options:

<div id="autosync-visualizer"></div>
<script src="https://vvs.autosyncstudio.com/js/Autosync.js"></script>
<script>
  var autosync = new Autosync({
    /* Required */
    id: 'autosync-visualizer',
    key: 'YOUR_API_KEY' ,
    /* Optional */
    scrollBar: false,
    /*
      Options: null, 'lookup', 'segment_selection', 'vehicle_make_selection'
      Default: null
      Examples:
        - homeStyle: null
        - homeStyle: 'lookup'
         - homeStyle: 'segment_selection'
    */
    homeStyle: 'lookup', //
    /*
      Options: Boolean or Object {sizesLookup: boolean, brandsLookup: boolean, vehiclesLookup: boolean, redirectUrl: string, styles: string}
      Default: false
      Important : 'styles' must be CSS code and you should inspect the code of the visualizer to know the classes you can modify
      Examples:
        - widget: true
        - widget: {
          sizesLookup: true,
          brandsLookup: true,
          vehiclesLookup: true,
          redirectUrl: true,
          disableLoadFromUrl: true,
          styles: `
            .autosync-visualizer{
              background-color: #f8f9fa;
            }
          .lookup-tabs {
              grid-template-columns: repeat(3, 1fr) !important;
            }
          `
        }
    */
    widget: true,
    /*
    Options: 'vehicles', 'tires', 'wheels', 'accessories'
    Default: ['vehicles', 'tires', 'wheels']
    Important : 'vehicles' can't be used alone, this must be use at least one of the other options
    Examples:
      - productSegment: ['vehicles', 'wheels']
      - productSegment: 'tires'
    */
    productSegment: null,
    /*
      Options: 'home', 'vehicles', 'tires', 'wheels'
      Default: 'home'
      Example:
        - startPage: 'vehicles' // It will start the visualizer on the vehicle's makes page
    */
    startPage: null,
    adaptiveHeight: false,
  });
</script>