The survey asked 1,522 registered voters their views on politics in an online survey. There were 650 Democrats and 500 Republicans polled. The survey started Monday and concluded Wednesday evening.

Addtionally, President Barrack Obama’s approval ratings took a tumble. Fifty percent of registered voters approved of the job that Obama was doing in the White House in June. While the most recent poll reported that only 44 percent of respondents think Obama is doing a good job.

The most important issue for members of both parties was terrorism. The second biggest issue for most voters is the economy. Republicans were more likely to say that terrorism was their biggest concern.

Trump made strong foreign policy a central theme of his campaign following the terror attacks in Orlando, Nice, and Dallas. Trump outlined his strong stance on terror, and how it correlates with his immigration policy in his June 13 address.

Due to the online nature of the poll, a traditional margin of error doesn’t apply according to Ipsos. Instead, Ipsos published a “credibility interval” of 2.9 percent, based on its own calculations of probability. That margin puts Trump within range of a lead in the poll.

Content created by The Daily Caller News Foundation is available without charge to any eligible news publisher that can provide a large audience. For licensing opportunities of our original content, please contact licensing@dailycallernewsfoundation.org.