Novelization of the poem by Robert W. Service, written and published as a "photoplay edition" of the film that had just been released based on the poem. From 1915.
The Shooting of Dan McGrew, A Novel. Based on the Famous Poem of Robert Service by Marvin Dana
On Project Gutenberg:
https://www.gutenberg.org/ebooks/36232