How to link odoo backend tour with website tour
i am placing the js in assets_common
var steps = [
tour.STEPS.MENU_MORE, {
trigger: '.o_app[data-menu-xmlid="website.menu_website_configuration"], .oe_menu_toggler[data-menu-xmlid="website.menu_website_configuration"]',
},
{
trigger: 'a[name="website.action_website"]',
},{
trigger: 'a[href="/shop"]',
},{
content: "search ipod",
trigger: 'form input[name="search"]',
run: "text ipod",
},
{
content: "search ipod",
trigger: 'form:has(input[name="search"]) .oe_search_button',
},
{
content: "select ipod",
trigger: '.oe_product_cart a:contains("iPod")',
},
{
content: "select ipod 32GB",
extra_trigger: '#product_detail',
trigger: 'label:contains(32 GB) input',
},
];
tour.register('demo_tour', options ,seo_steps);