jQuery(document).ready(function($){ var w = $(window).width(); if(w <= 901){ $('.mobile-header').append('
Register Today
'); } //send clicks on VRB offers to Google Analytics //only run on the VRB page if($('body').hasClass('page-id-17818')){ //define jQuery selectors and the labels to be sent to GA var vrbArray = [ {class: '.biofreeze-ad .maxbutton', label: 'Biofreeze'}, {class: '.fitbit-ad .maxbutton', label: 'Fitbit'}, {class: '.capitalone-ad .maxbutton', label: 'Capital One'}, {class: '.earlybird-ad .maxbutton', label: 'TSFM Early Bird'}, {class: '.eatdrink-ad .maxbutton', label: 'Eat Drink SF'}, {class: '.jaybird-ad .maxbutton', label: 'Jaybird'}, {class: '.berkeley-ad .maxbutton', label: 'Berkeley Half'}, {class: '.florastor-ad .maxbutton', label: 'Florastor'}, {class: '.ucan-ad .maxbutton', label: 'UCAN'}, {class: '.barefoot-ad .maxbutton', label: 'Barefoot Bestie'}, {class: '.sportsbasement-ad .maxbutton', label: 'Sports Basement'}, {class: '.onemillion-ad .maxbutton', label: 'Sprint 1Million Project'}, {class: '.lyft-ad .maxbutton', label: 'Lyft'}, {class: '.sfberkeley-ad .maxbutton', label: 'SF/Berkeley Challenge'}, {class: '.goodeggs-ad .maxbutton', label: 'Good Eggs'}, {class: '.sfgiant-ad .maxbutton', label: 'San Francisco Giants Race Half'}, {class: '.aqua-ad .maxbutton', label: 'AQUA Carpatica'}, {class: '.detroit-ad .maxbutton', label: 'Detroit Free Press'}, {class: '.hvmn-ad .maxbutton', label: 'HVMN Ketone'}, {class: '.kaiser-ad .maxbutton', label: 'Kaiser SF Half'}, {class: '.motiv-ad .maxbutton', label: 'Motiv Ring'}, {class: '.napa-ad .maxbutton', label: 'Kaiser Napa Valley Marathon'}, {class: '.tnt-ad .maxbutton', label: 'Leukemia/Lymphoma Society Team In Training'}, {class: '.spothero-ad .maxbutton', label: 'SpotHero'}, {class: '.santarosa-ad .maxbutton', label: 'Santa Rosa Marathon'}, {class: '.bridge-ad .maxbutton', label: 'Bridge to Bridge'} ] ga('create', 'UA-62429130-1', 'auto'); ga('set', 'transport', 'beacon'); var len = vrbArray.length; var cssClass; var label; for(var i = 0; i < len; i++){ cssClass = vrbArray[i].class; label = vrbArray[i].label; $("" + cssClass ).on("mousedown", { value: label }, function(e){ ga('send', 'event', { eventCategory: 'Live VRB Outbound Link', eventAction: 'click', eventLabel: e.data.value, transport: 'beacon' }); }); } } }) //end document ready -->

The 2025 San Francisco Marathon

Shop Our Warehouse Sale!

Grab great deals on jackets, hoodies, mystery boxes and more!

SHOP NOW
photo

What You Get for Running

Collect exclusive SFM swag. Register today!

REGISTER NOW
photo

Go the Extra Mile, Earn SFM Gear

Choose your challenge. How many can you complete?

LEARN MORE

How Far Will You Go?

From 5k to a Full Marathon


Volunteer and Run For Free!

LEARN MORE

Delivered to You: News about Marathons, Discounts, Training Tips and Trail Runs!






* indicates required