Exploring Evolutionary Meta-Learning in Robotics



Rapid development of more accurate simulator engines has given robotics researchers a unique opportunity to generate sufficient amounts of data that can be used to train robotic policies for real-world deployment. However, moving trained policies from “sim-to-real” remains one of the greatest challenges of modern robotics, due to the subtle differences encountered between the simulation and real domains, termed the “reality gap”. While some recent approaches leverage existing data, such as imitation learning and offline reinforcement learning, to prepare a policy for the reality gap, a more common approach is to simply provide more data by varying properties of the simulated environment, a process called domain randomization.

However, domain randomization can sacrifice performance for stability, as it seeks to optimize for a decent, stable policy across all tasks, but offers little room for improving the policy on a specific task. This lack of a common optimal policy between simulation and reality is frequently a problem in robotic locomotion applications, where there are varying physical forces at play, such as leg friction, body mass, and terrain differences. For example, given the same initial conditions for the robot’s position and balance, the surface type will determine the optimal policy — for an incoming flat surface encountered in simulation, the robot could accelerate to a higher speed, while for an incoming rugged and bumpy surface encountered in the real world, it should walk slowly and carefully to prevent falling.

In “Rapidly Adaptable Legged Robots via Evolutionary Meta-Learning”, we present a particular type of meta-learning based on evolutionary strategies (ES), an approach generally believed to only work well in simulation, we can effectively and efficiently adapt a policy to a real-world robot in a completely model-free manner. Compared to previous approaches for adapting meta-policies, such as standard policy gradients which do not allow sim-to-teal adaptation, ES enables a robot to quickly overcome the reality gap and adapt to dynamic changes in the real world, some of which may not be encountered in simulation. This represents the first instance of successfully using ES for on-robot adaptation.
Our algorithm quickly adapts a legged robot’s policy to dynamics changes. In this example, the battery voltage dropped from 16.8V to 10V which reduced motor power, and a 500g mass was also placed on the robot's side, causing it to turn rather than walk straight. The policy is able to adapt in only 50 episodes (or 150s of real-world data).
Meta-Learning
This research falls under the general class of meta-learning techniques, and is demonstrated on a legged robot. At a high level, meta-learning learns to solve an incoming task quickly without completely retraining from scratch, by combining past experiences with small amounts of experience from the incoming task. This is especially beneficial in the sim-to-real case, where most of the past experiences come cheaply from simulation, while a minimal, yet necessary amount of experience is generated from the real world task. The simulation experiences allow the policy to possess a general level of behavior for solving a distribution of tasks, while the real-world experiences allow the policy to fine-tune specifically to the real-world task at hand.

In order to train a policy to meta-learn, it is necessary to encourage a policy to adapt during simulation. Normally, this can be achieved by applying model-agnostic meta-learning (MAML), which searches for a meta-policy that can adapt to a specific task quickly using small amounts of task-specific data. The standard approach to computing such meta-policies is by using policy gradient methods, which seek to improve the likelihood of selecting the same action given the same state. In order to determine the likelihood of a given action, the policy must be stochastic, allowing for the action selected by the policy to have a randomized component. The real-world environment for deploying such robotic policies is also highly stochastic, as there can be slight differences in motion arising naturally, even if starting from the exact same state and action sequence. The combination of using a stochastic policy inside a stochastic environment creates two conflicting objectives:
  1. Decreasing the policy’s stochasticity may be crucial, as otherwise the high-noise problem might be exacerbated by the additional randomness from the policy’s actions.

  2. However, increasing the policy’s stochasticity may also benefit exploration, as the policy needs to use random actions to probe the type of environment to which it adapts.
These two competing objectives, which have been noted before, seek to both decrease and increase the policy’s stochasticity and may cause complications.

Evolutionary Strategies in Robotics
Instead, we resolve these challenges by applying ES-MAML, an algorithm that leverages a drastically different paradigm for high-dimensional optimization — evolutionary strategies. The ES-MAML approach updates the policy based solely on the sum of rewards collected by the agent in the environment. The function used for optimizing the policy is black-box, mapping the policy parameters directly to this reward. Unlike policy gradient methods, this approach does not need to collect state/action/reward tuples and does not need to estimate action likelihoods. This allows the use of deterministic policies and exploration based on parameter changes and avoiding the conflict between stochasticity in the policy and in the environment.

In this paradigm, querying usually involves running episodes in the simulator, but we show that ES can be applied also for episodes collected on real hardware. ES optimization can be easily distributed and also works well for training efficient compact policies, a phenomenon with profound robotic implications, since policies with fewer parameters can be easier deployed on real hardware and often lead to more efficient inference and power usage. We confirm the effectiveness of ES in training compact policies by learning adaptable meta-policies with <130 parameters.

The ES optimization paradigm is very flexible. It can be used to optimize non-differentiable objectives, such as the total reward objective in our robotics case. It also works in the presence of substantial (potentially adversarial) noise. In addition, the most recent forms of ES methods (e.g., guided ES) are much more sample-efficient than previous versions.

This flexibility is critical for efficient adaptation of locomotion meta-policies. Our results show that adaptation with ES can be conducted with a small number of additional on-robot episodes. Thus, ES is no longer just an attractive alternative to the state-of-the-art algorithms, but defines a new state of the art for several challenging RL tasks.

Adaptation in Simulation
We first examine the types of adaptation that emerge when training with ES-MAML in simulation. When testing the policy in simulation, we found that the meta-policy forces the robot to fall down when the dynamics become too unstable, whereas the adapted policy allows the robot to re-stabilize and walk again. Furthermore, when the robot’s leg settings change, the meta-policy de-synchronizes the robot’s legs causing the robot to turn sharply, while the adapted policy corrects the robot so it can walk straight again.
The meta-policy’s gait, which experiences issues when facing a difficult dynamics task. Left: The meta-policy lets the robot fall down. Center: The adapted policy ensures the robot continues to walk correctly. Right: Comparative measurement of the robot’s height.
The meta-policy’s gait, under changes to the robot’s leg settings. Left: The meta-policy allows the robot veer to the right. Center: The adapted policy ensures the robot continues to walk in a straight line. Right: Comparative measurement of the robot’s walking direction.
Adaptation in the Real World
Despite the good performance of ES-MAML in simulation, applying it to a real robot is still a challenge. To effectively adapt in the noisy environment of the real world while requiring as little real-world data as possible, we introduce batch hill-climbing, an add-on to ES-MAML based on previous work for zeroth-order blackbox optimization. Rather than performing hill-climbing which iteratively updates the input one-by-one according to a deterministic objective, batch hill-climbing samples a parallel batch of queries to determine the next input, making it robust to large amounts of noise in the objective.

We then test our method on the following 2 tasks, which are designed to significantly change the dynamics from the normal setting of the robot:
In the mass-voltage task (left), a 500g weight is placed on the robot’s side and the voltage is dropped to 10.0V from 16.8V. In the friction task (right), we replaced the rubber feet with tennis balls, to significantly reduce friction and hinder walking.
For the mass-voltage task, the initial meta-policy steered the robot significantly to the right due to the extra mass and voltage change, which caused an imbalance in the robot’s body and leg motors. However, after 30 episodes of adaptation using our method, the robot straightens the walking pose, and after 50 episodes, the robot is able to balance its body completely and is able to walk longer distances. In comparison, training from scratch on an easier, noiseless task from only simulation required approximately 90,000 episodes, showing that our method significantly reduces sample complexity on expensive real world data.
Qualitative changes during the adaptation phase under the mass-voltage task.
We compared our method to domain randomization and the standard policy gradient approach to MAML (PG-MAML) only, presenting the final policies qualitatively, as well as metrics from the real robot to show how our method adapts. We found that both domain randomization and PG-MAML baselines do not adapt as well as our method.
Comparisons between Domain Randomization and PG-MAML, and metric differences between our method’s meta-policy and adapted policy. Top: Comparison for the mass-voltage task. Our method stabilizes the robot’s roll angle. Bottom: Comparison for the friction task. Our method results in longer trajectories.
Future Work
This work exposes several avenues for future development. One option is to make algorithmic improvements to reduce the number of real-world rollouts required for adaptation. Another area for advancement is the use of model-based reinforcement learning techniques for a lifelong learning system, in which the robot can continuously collect data and quickly adjust its policy to learn new skills and to operate optimally in new environments.

Acknowledgements
This research was conducted by the core ES-MAML team: Xingyou Song, Yuxiang Yang, Krzysztof Choromanski, Ken Caluwaerts, Wenbo Gao, Chelsea Finn, and Jie Tan. We would like to give special thanks to Vikas Sindhwani for his support on ES methods, and Daniel Seita for feedback on our paper.

Source: Google AI Blog


Explore new sites, relive old hikes for National Park Week

Every year, I try to visit a new National Park, or at least start planning my trip to one. That’s a little more difficult right now, but given that it’s National Park Week, I decided to try and keep with my tradition by using Google tools to satisfy my wanderlust.


Explore new places and parks

This year, I’m heading to g.co/nationalparks, a Google Arts & Culture project developed in collaboration with National Park Service that takes you on guided tours narrated by park rangers from the Kenai Fjords, Hawai'i Volcanoes, Carlsbad Caverns, Bryce Canyon and Dry Tortugas. I can also visit historical sites that I’ve never been to before, like Eleanor Roosevelt’s woodsy home in Hyde Park, New York or Thomas Edison’s camping sites (which, to me, look a little more like glamping). There are more than 100 Street View historical tours to choose from, and collections that let you discover Native American craft work or fossils from archeological digs. 

Afterward, I’ll take an in-depth tour of some of the National Parks of the United States and wander through a few of the most-loved ones recommended by our community of Local Guides in two popular Google Earth Voyager stories. I plan on rounding out the week with a new YouTube series from the Google Earth team that travels to National Parks across the country, literally “zooming” you into places like Elephant Hill in Canyonlands National Park and Kanarraville Falls in Zion National Park. There’s even a new Global National Parks quiz to test your geo-knowledge.

Video showing a tour of Utah's National Parks.

All of these things help an outdoor enthusiast who’s stuck inside (for the time being) to find unknown landscapes or get inspiration for their next trip. Perhaps for the most well-traveled out there, they’re a way to remember a favorite adventure. 

Or revisit old favorites

Before I venture into the unknown, I decided to take a trip down memory lane (or rather, memory trail), and re-experience some of my favorite hikes in National Parks with the help of Google Street View, and anyone can join me—starting with Bright Angel Trail in the Grand Canyon. Saving the uphill journey for the second half of a hike is something my legs will never forget, but it remains one of my favorite National Parks memories. And thanks to Street View, I can recreate the journey … with fewer water breaks, probably.

I can also make my way up Garfield Peak in Crater Lake National Park (which I hiked during a camping trip where I first met my husband) and make as many nostalgic pit stops along the way as I want.

And last summer, my family and I all vacationed in Acadia National Park. Now that we can’t physically see one another, I’m even more grateful we went. One of my favorite memories was hiking along the park’s easternmost edge, the Great Head Trail, with my husband and meeting my family on Sand Beach, a journey I’m happily retaking via Street View … and maybe on our weekly family video call, we’ll all “hike” it together.

Source: Google LatLong


Explore new sites, relive old hikes for National Park Week

Every year, I try to visit a new National Park, or at least start planning my trip to one. That’s a little more difficult right now, but given that it’s National Park Week, I decided to try and keep with my tradition by using Google tools to satisfy my wanderlust.


Explore new places and parks

This year, I’m exploring g.co/nationalparks, a Google Arts and Culture project developed in collaboration with National Park Service that takes you on guided tours narrated by park rangers from the Kenai Fjords, Hawai'i Volcanoes, Carlsbad Caverns, Bryce Canyon and Dry Tortugas. I can also visit historical sites that I’ve never been to before, like Eleanor Roosevelt’s woodsy home in Hyde Park, New York or Thomas Edison’s camping sites (which, to me, look a little more like glamping). There are more than 100 Street View historical tours to choose from, and collections that let you discover Native American craftwork orfossils from archeological digs. 

Afterward, I’ll take an in-depth tour of some of the National Parks of the United States and wander through a few of the most-loved ones recommended by our community of Local Guides in two popular Google Earth Voyager stories. I plan on rounding out the week with a new YouTube series from the Google Earth team that travels to National Parks across the country, literally “zooming” you into places like Elephant Hill in Canyonlands National Park and Kanarraville Falls in Zion National Park. There’s even a new Global National Parks quiz to test your geo-knowledge.

Video showing a tour of Utah's National Parks.

All of these things help an outdoor enthusiast who’s stuck inside (for the time being) to find unknown landscapes or get inspiration for their next trip. Perhaps for the most well-traveled out there, they’re a way to remember a favorite adventure. 

Or revisit old favorites

Before I venture into the unknown, I decided to take a trip down memory lane (or rather, memory trail), and re-experience some of my favorite hikes in National Parks with the help of Google Street View, and anyone can join me—starting with Bright Angel Trail in the Grand Canyon. Saving the uphill journey for the second half of a hike is something my legs will never forget, but it remains one of my favorite National Parks memories. And thanks to Street View, I can recreate the journey … with fewer water breaks, probably.

I can also make my way up Garfield Peak in Crater Lake National Park (which I hiked during a camping trip where I first met my husband) and make as many nostalgic pit stops along the way as I want.

And last summer, my family and I all vacationed in Acadia National Park. Now that we can’t physically see one another, I’m even more grateful we went. One of my favorite memories was hiking along the park’s easternmost edge, the Great Head Trail, with my husband and meeting my family on Sand Beach, a journey I’m happily retaking via Street View … and maybe on our weekly family video call, we’ll all “hike” it together.

Growing Colorado’s local news in a time of crisis

Editor’s Note: Today’s post comes from Mandy Jenkins, General manager of the Compass Experiment which is partnering with theGNI’s Local Experiments Project. 

As millions of Americans navigate the new reality brought on by COVID-19, they’re relying on local news for information on coronavirus cases, how to seek help for financial hardships and how to offer support to others in their communities. In cities with limited sources of local news, those searches may be coming up short. 

With this in mind, next month The Compass Experiment will launch its second newsroom called The Longmont Leader, a new source for vital local news and information for the people of Longmont, Colorado. 

The Compass Experiment is a local news lab founded in partnership between McClatchy and Google, and part of the Google News Initiative’s Local Experiments Project. The project’s goal is to launch and operate three digital-only news operations in small to mid-sized U.S. communities. These are aimed at locales with limited sources of local, independent journalism with the desire to make each financially self-sustaining. The Compass Experiment’s first site, Mahoning Matters, debuted in Youngstown, Ohio in October of last year. Now we’re focusing on Longmont. 

Located 33 miles north of Denverr, Longmont has a unique blend of the new and traditional, city and country, longtime Coloradoans and new imports. It is home to a thriving tech industry, nationally-known breweries, outdoor sports, and a breathtaking view of the Rocky Mountains. The city itself is named after Long’s Peak, which we incorporated into the logo of The Longmont Leader. 


LL_mtn_black_40px.png

Over the last decade, the population of Longmont has grown by roughly 12 percent, but the availability of local news has not kept pace. In conversations we’ve had over the last few months, people in the community and local business leaders have expressed a great deal of support for a new, Longmont-focused local news site. 

We have no illusions that there are challenges ahead and that social distancing means we can’t get out into the community and properly introduce ourselves. But the mission is too important to wait until the pandemic has passed. 

Fortunately, we’re following in the footsteps of the Longmont Observer, an all-volunteer community news site which has been publishing news by and for the people of Longmont since 2017. But the team also runs the city’s public access TV and is stretched by the demands of doing both. That’s why they’re transferring the Longmont Observer site to Compass and The Longmont Leader to focus on their TV work. 

The Longmont Leader is currently hiring business and editorial staff in the area. We’re working to get to market as fast as we can, so please follow our progress as we prepare The Leader for launch. 

It’s now free to sell on Google

The retail sector has faced many threats over the years, which have only intensified during the coronavirus pandemic. With physical stores shuttered, digital commerce has become a lifeline for retailers. And as consumers increasingly shop online, they're searching not just for essentials but also things like toys, apparel, and home goods. While this presents an opportunity for struggling businesses to reconnect with consumers, many cannot afford to do so at scale.

In light of these challenges, we’re advancing our plans to make it free for merchants to sell on Google. Beginning next week, search results on the Google Shopping tab will consist primarily of free listings, helping merchants better connect with consumers, regardless of whether they advertise on Google. With hundreds of millions of shopping searches on Google each day, we know that many retailers have the items people need in stock and ready to ship, but are less discoverable online.

For retailers, this change means free exposure to millions of people who come to Google every day for their shopping needs. For shoppers, it means more products from more stores, discoverable through the Google Shopping tab. For advertisers, this means paid campaigns can now be augmented with free listings. If you’re an existing user of Merchant Center and Shopping ads, you don't have to do anything to take advantage of the free listings, and for new users of Merchant Center, we'll continue working to streamline the onboarding process over the coming weeks and months.

Update to Google Shopping

These changes will take effect in the U.S. before the end of April, and we aim to expand this globally before the end of the year. Our help center has more details on how to participate in free product listings and Shopping ads.

We’re also kicking off a new partnership with PayPal to allow merchants to link their accounts. This will speed up our onboarding process and ensure we’re surfacing the highest quality results for our users. And we’re continuing to work closely with many of our existing partners that help merchants manage their products and inventory, including Shopify, WooCommerce, and BigCommerce, to make digital commerce more accessible for businesses of all sizes.  

Solutions during this crisis will not be fast or easy, but we hope to provide a measure of relief for businesses and lay the groundwork for a healthier retail ecosystem in the future.

Source: Google Ads


It’s now free to sell on Google

The retail sector has faced many threats over the years, which have only intensified during the coronavirus pandemic. With physical stores shuttered, digital commerce has become a lifeline for retailers. And as consumers increasingly shop online, they're searching not just for essentials but also things like toys, apparel, and home goods. While this presents an opportunity for struggling businesses to reconnect with consumers, many cannot afford to do so at scale.

In light of these challenges, we’re advancing our plans to make it free for merchants to sell on Google. Beginning next week, search results on the Google Shopping tab will consist primarily of free product listings, helping merchants better connect with consumers, regardless of whether they advertise on Google. With hundreds of millions of shopping searches on Google each day, we know that many retailers have the items people need in stock and ready to ship, but are less discoverable online.

For retailers, this change means free exposure to millions of people who come to Google every day for their shopping needs. For shoppers, it means more products from more stores, discoverable through the Google Shopping tab. For advertisers, this means paid campaigns can now be augmented with free listings. If you’re an existing user of Merchant Center and Shopping Ads, you don't have to do anything to take advantage of the free listings, and for new users of Merchant Center, we'll continue working to streamline the onboarding process over the coming weeks and months.

Update to Google Shopping

These changes will take effect in the U.S. before the end of April, and we aim to expand this globally before the end of the year. Our help center has more details on how to participate in free product listings and Shopping ads.

We’re also kicking off a new partnership with PayPal to allow merchants to link their accounts. This will speed up our onboarding process and ensure we’re surfacing the highest quality results for our users. And we’re continuing to work closely with many of our existing partners that help merchants manage their products and inventory, including Shopify, WooCommerce, and BigCommerce, to make digital commerce more accessible for businesses of all sizes.  

Solutions during this crisis will not be fast or easy, but we hope to provide a measure of relief for businesses and lay the groundwork for a healthier retail ecosystem in the future.

Automate & Extend with Apps Script (Google Cloud for Student Developers)

Posted by Wesley Chun (@wescpy), Developer Advocate, Google Cloud


In the previous episode of our new Google Cloud for Student Developers video series, we introduced G Suite REST APIs, showing how to enhance your applications by integrating with Gmail, Drive, Calendar, Docs, Sheets, and Slides. However, not all developers prefer the lower-level style of programming requiring the use of HTTP, OAuth2, and processing the request-response cycle of API usage. Building apps that access Google technologies is open to everyone at any level, not just advanced software engineers.

Enhancing career readiness of non-engineering majors helps make our services more inclusive and helps democratize API functionality to a broader audience. For the budding data scientist, business analyst, DevOps staff, or other technical professionals who don't code every day as part of their profession, Google Apps Script was made just for you. Rather than thinking about development stacks, HTTP, or authorization, you access Google APIs with objects.

This video blends a standard "Hello World" example with various use cases where Apps Script shines, including cases of automation, add-ons that extend the functionality of G Suite editors like Docs, Sheets, and Slides, accessing other Google or online services, and custom functions for Google Sheets—the ability to add new spreadsheet functions.

One featured example demonstrates the power to reach multiple Google technologies in an expressive way: lots of work, not much code. What may surprise readers is that this entire app, written by a colleague years ago, is comprised of just 4 lines of code:

function sendMap() {
var sheet = SpreadsheetApp.getActiveSheet();
var address = sheet.getRange('A1').getValue();
var map = Maps.newStaticMap().addMarker(address);
GmailApp.sendEmail('[email protected]',
'Map', 'See below.', {attachments:[map]});
}

Apps Script shields its users from the complexities of authorization and "API service endpoints." Developers only need an object to interface with a service; in this case, SpreadsheetApp to access Google Sheets, and similarly, Maps for Google Maps plus GmailApp for Gmail. Viewers can build this sample line-by-line with its corresponding codelab (a self-paced, hands-on tutorial). This example helps student (and professional) developers...

  1. Build something useful that can be extended into much more
  2. Learn how to accomplish several tasks without a lot of code
  3. Imagine what else is possible with G Suite developer tools

For further exploration, check out this video as well as this one which introduces Apps Script and presents the same code sample with more details. (Note the second video emails the map's link, but the app has been updated to attach it instead; the code has been updated everywhere else.) You may also access the code at its open source repository. If that's not enough, learn about other ways you can use Apps Script from its video library. Finally, stay tuned for the next pair of episodes which will cover full sample apps, one with G Suite REST APIs, and another with Apps Script.

We look forward to seeing what you build with Google Cloud.

Research Grants to support Google VRP Bug Hunters during COVID-19



In 2015, we launched our Vulnerability Research Grant program, which allows us to recognize the time and efforts of security researchers, including the situations where they don't find any vulnerabilities. To support our community of security researchers and to help protect our users around the world during COVID-19, we are announcing a temporary expansion of our Vulnerability Research Grant efforts.

In light of new challenges caused by the coronavirus outbreak, we are expanding this initiative by  creating a COVID-19 grant fund. As of today, every Google VRP Bug Hunter who submitted at least two remunerated reports from 2018 through April 2020 will be eligible for a $1,337 research grant. We are dedicating these grants to support our researchers during this time. We are committed to protecting our users and we want to encourage the research community to help us identify threats and to prevent potential vulnerabilities in our products.

We understand the individual challenges COVID-19 has placed on the research community are different for everyone and we hope that these grants will allow us to support our Bug Hunters during these uncertain times. Even though our grants are intended to recognize the efforts of our frequent researchers regardless of their results, as always, bugs found during the grant are eligible for regular rewards per the Vulnerability Reward Program (VRP) rules. We are aware that some of our partners might not be interested in monetary grants. In such cases, we will offer the option to donate the grant to an established COVID-19 related charity and within our discretion, will monetarily match these charitable donations.

For those of you who recently joined us or are planning to start, it’s never too late. We are committed to continue the Vulnerability Research Grant program throughout 2020, so stay tuned for future announcements and follow us on @GoogleVRP!

A new Optimize feature to keep your website updated through COVID-19

As communities around the world respond to COVID-19, we know this time presents unique challenges to your business. We’d like to share a few ways Google Optimize can help you keep your website updated with the latest information.

Last week we introduceda new way for you to quickly post an informational banner at the top of your website. This means you can easily let your customers know if your business hours or services have changed – or even just reinforce that you are still open to serve them – and where they can find more information.

And of course you can still use Optimize to help you update any page of your site, so we’ve included some tips and best practices below to get you started.

Quickly add a message on your website

Once you log into your Optimize account you can add a message to the top of your site by clicking “Add a banner.” You can use our templated banner or customize it by editing the color, size, and text. We recommend you use a color that stands out from the other content on the page. You can also select on which pages of your site the banner should be shown, for example only the homepage or on every page of your site.


Frame 6.png

Use our template to quickly post a banner at the top of your website with an important message.

You can also tailor your message by location. Let’s say you’re a clothing retailer based in San Francisco and are offering expedited shipping to customers located within the city. Optimize can help you display a customized banner that highlights faster shipping just to users located in San Francisco.

Temporarily update your site

You may have updated store hours or services available at this time. Use Optimize to create a personalization to temporarily display a different version of your site to people when they visit. You can end the personalization whenever you like and your site will go back to displaying its original version.

This is helpful if you want to let your customers know about new ways they can purchase from your business. For example, if you’re a restaurant that is now accepting to-go orders over the phone, you can add your phone number to your home page or make it more visible on your site. Or, if you’re a clothing retailer that is now only accepting online orders, you can update your FAQs page to include your new shipping and return policy.

Consider website best practices

We’ve also put together some additional recommendations to consider while updating your website during this time:

  • Reduce distraction on your site. Avoid automatic product carousels or animation on your site. If you have information about how customers can order from you on the same page, the carousel or animation could draw attention away from that message.

  • Adjust your FAQs page. Your frequently asked questions might be different than what they were last year. Make sure this page highlights what is currently top of mind for your customers. If you need to reduce your customer support load, place your contact information below all other sections to allow users to read your FAQs first.

  • Change your message for mobile devices. Adding longer messages to your customers may display fine on desktop but they probably will be too long on mobile devices. Limit your messages on your mobile site to less than 50 characters. And allow users to close the message if they wish.

Normally Optimize users would only be able to run 10 personalizations on their site at the same time. We have temporarily removed this restriction for the next 90 days so that you can make as many updates to your site as you need until July 31, 2020. If you don’t already have an Optimize account, you can create one for free here.

A new Optimize feature to keep your website updated through COVID-19

As communities around the world respond to COVID-19, we know this time presents unique challenges to your business. We’d like to share a few ways Google Optimize can help you keep your website updated with the latest information.

Last week we introduceda new way for you to quickly post an informational banner at the top of your website. This means you can easily let your customers know if your business hours or services have changed – or even just reinforce that you are still open to serve them – and where they can find more information.

And of course you can still use Optimize to help you update any page of your site, so we’ve included some tips and best practices below to get you started.

Quickly add a message on your website

Once you log into your Optimize account you can add a message to the top of your site by clicking “Add a banner.” You can use our templated banner or customize it by editing the color, size, and text. We recommend you use a color that stands out from the other content on the page. You can also select on which pages of your site the banner should be shown, for example only the homepage or on every page of your site.


Frame 6.png

Use our template to quickly post a banner at the top of your website with an important message.

You can also tailor your message by location. Let’s say you’re a clothing retailer based in San Francisco and are offering expedited shipping to customers located within the city. Optimize can help you display a customized banner that highlights faster shipping just to users located in San Francisco.

Temporarily update your site

You may have updated store hours or services available at this time. Use Optimize to create a personalization to temporarily display a different version of your site to people when they visit. You can end the personalization whenever you like and your site will go back to displaying its original version.

This is helpful if you want to let your customers know about new ways they can purchase from your business. For example, if you’re a restaurant that is now accepting to-go orders over the phone, you can add your phone number to your home page or make it more visible on your site. Or, if you’re a clothing retailer that is now only accepting online orders, you can update your FAQs page to include your new shipping and return policy.

Consider website best practices

We’ve also put together some additional recommendations to consider while updating your website during this time:

  • Reduce distraction on your site. Avoid automatic product carousels or animation on your site. If you have information about how customers can order from you on the same page, the carousel or animation could draw attention away from that message.

  • Adjust your FAQs page. Your frequently asked questions might be different than what they were last year. Make sure this page highlights what is currently top of mind for your customers. If you need to reduce your customer support load, place your contact information below all other sections to allow users to read your FAQs first.

  • Change your message for mobile devices. Adding longer messages to your customers may display fine on desktop but they probably will be too long on mobile devices. Limit your messages on your mobile site to less than 50 characters. And allow users to close the message if they wish.

Normally Optimize users would only be able to run 10 personalizations on their site at the same time. We have temporarily removed this restriction for the next 90 days so that you can make as many updates to your site as you need until July 31, 2020. If you don’t already have an Optimize account, you can create one for free here.