An APA in-text citation is placed before the final punctuation mark in a sentence.
The company invested over 40,000 hours in optimizing its algorithm (Davis, 2011).
A recent poll suggests that EU membership “would be backed by 55 percent of Danish voters” in a referendum (Levring, 2018).