Shares of eBay Inc. (EBAY) - Get Report rose in after-hours trading Tuesday after it reported better-than-expected fourth-quarter results.

In its fourth quarter filing, the company reported quarterly revenue of $2.88 billion and GAAP and Non-GAAP EPS per share of $0.80 and $0.71, respectively. EBay's results beat consensus expectations on both counts, with analysts anticipating $2.86 billion in revenue and non-GAAP earnings per share of 68 cents a share for the quarter.

"In 2019, our focus will be on further improvements to the eBay user experience, while pursuing significant long-term growth opportunities in advertising and payments," said eBay's CEO Devin Wenig in a press release.

EBay shares rose 3% in after-hours trading following the release.

For 2019, eBay guided for first quarter revenue between $2.55 billion and $2.60 billion and EPS between 62 cents a share and 64 cents a share. For the full year 2019, the company projects revenue between $10.7 billion and $10.9 billion.

In addition to earnings and guidance, eBay management also announced a "capital structure evolution" that includes a new dividend of 14 cents a share to be paid out beginning in March 2019, and said that it expects to return approximately $7 billion to shareholders by way of dividends and stock repurchases over the next two years.

In the meantime, the legacy e-commerce company has pledged to "carefully review" a letter by activist shareholder Elliott Management, which proposed spinning of eBay's non-core businesses, online ticket seller StubHub and its Classifieds group, into separate businesses from its core Marketplace.

EBay's stock is up 18% since the beginning of this year.