▁song ▁was ▁written ▁in ▁Los ▁Angeles ▁at ▁one ▁of ▁Max ▁Martin ' s ▁comp ounds ▁which ▁Lor de ▁called ▁the ▁" G inger b read ▁House ". ▁In ▁the ▁studio , ▁the ▁micro phone ▁had ▁a ▁mat tr ess ▁around ▁it ▁for ▁noise - can cell ing ▁effects . ▁ ▁Com position ▁and ▁lyr ical ▁interpretation ▁ ▁The ▁song ▁was ▁recorded ▁at ▁two ▁locations ▁in ▁the ▁United ▁States . ▁Rec ording ▁began ▁at ▁Con way ▁Rec ording ▁Studios ▁in ▁Los ▁Angeles , ▁California , ▁with ▁help ▁from ▁T ove ▁Lo . ▁Her ▁persistent ▁part ying ▁was ▁something ▁she ▁and ▁Lor de ▁shared ▁when ▁it ▁came ▁to ▁song writing . ▁The ▁rest ▁of ▁the ▁track ▁was ▁completed ▁at ▁Electric ▁Lady ▁Studios , ▁in ▁Green wich ▁Village , ▁Manh attan . ▁Ser ban ▁Gh ene a ▁mixed ▁the ▁song ▁at ▁Mix Star ▁Studios ▁with ▁assistance ▁from ▁engineer ▁John ▁Han es . ▁Laura ▁S isk ▁served ▁as ▁the ▁audio ▁engineer . ▁It ▁was ▁master ed ▁at ▁Ster ling ▁Sound ▁Studios ▁by ▁R andy ▁M err ill . ▁Other ▁personnel ▁include ▁song writ ers ▁Jakob ▁Jer l ström ▁and ▁Lud v ig ▁S öder berg , ▁K uk ▁Har rell ▁who ▁provided ▁vocal ▁production , ▁and ▁producer ▁Frank ▁D uk es . ▁This ▁is ▁the ▁only ▁track ▁on ▁the ▁record ▁that ▁is ▁not ▁produced ▁or ▁written ▁by ▁Jack ▁Anton off . ▁ ▁" Hom em ade ▁Dynam ite " ▁is ▁composed ▁in ▁the ▁key ▁of ▁B - flat ▁major ▁with ▁a ▁moder ate ▁tempo ▁of ▁ 1