An electronics giant might is eyeing a program that could give it a leg up on online rival Amazon.

Best Buy is launching a rental service for gadgets ranging from cameras and audio equipment to fitness trackers. The try-before-you-buy program is a way for the retailer to develop a connection with customers earlier in the buying process, and encourage shoppers to make electronics purchases from Best Buy over Amazon, according to ReCode.

Here’s how the service works: A try-before-you-buy option will be available on Best Buy’s website….