A device receives, from a user device, recorded audio and input information associated with content viewed by a user of the user device, and converts the recorded audio into textual information. The device determines whether the content is an advertisement or television content based on the textual information and the input information, and provides, to the user device, promotional content related to the advertisement when the content is determined to be the advertisement. The device provides, to the user device, promotional content related to the television content when the content is determined to be the television content.