An affiliate management device comprising: an access monitoring unit that, in accordance with a user's click on an affiliate link, receives an HTTP request including an HTTP cookie containing a publisher of the affiliate link, a linked shop from the affiliate link and a history ID of the user from a user terminal, stores past click information generated based on the HTTP cookie into a database, and transmits the HTTP request to a server to cause the server to generate a web page in accordance with the HTTP request and transmit the web page to the user terminal, the HTTP cookie containing only last click information related to an affiliate link clicked on last, the access monitoring unit overwriting another click information with new click information when the another click information corresponding to a linked shop and a user indicated by the new click information to be stored into the database is already stored in the database; an acquisition unit that acquires a purchase notification containing purchase information indicating a purchaser of an item and a selling shop of the item and the HTTP cookie, from the server; a specifying unit that acquires the last click information from the HTTP cookie contained in the purchase notification, acquires past click information corresponding to a user indicated by the last click information, the past click information relating to affiliate links clicked on before when an affiliate link is clicked on last, and specifies a click history indicating click on affiliate links by the purchaser based on the acquired last click information and the acquired past click information; and a determination unit that determines one or more publishers to receive an affiliate fee from the selling shop and an affiliate fee to be paid to each publisher based on the click history, wherein the determination unit determines the publisher indicated by the last click information as a first payee of an affiliate fee from the selling shop and, when the linked shop indicated by the past click information and the selling shop are the same, determines the publisher indicated by the past click information as a second payee of an affiliate fee from the selling shop, and the determination unit deletes the last click information by clearing the HTTP cookie and deletes the past click information corresponding to the second payee from the database after determining one or more publishers to receive an affiliate fee from the selling shop and an affiliate fee to be paid to each publisher. an access monitoring unit that, in accordance with a user's click on an affiliate link, receives an HTTP request including an HTTP cookie containing a publisher of the affiliate link, a linked shop from the affiliate link and a history ID of the user from a user terminal, stores past click information generated based on the HTTP cookie into a database, and transmits the HTTP request to a server to cause the server to generate a web page in accordance with the HTTP request and transmit the web page to the user terminal, the HTTP cookie containing only last click information related to an affiliate link clicked on last, the access monitoring unit overwriting another click information with new click information when the another click information corresponding to a linked shop and a user indicated by the new click information to be stored into the database is already stored in the database; an acquisition unit that acquires a purchase notification containing purchase information indicating a purchaser of an item and a selling shop of the item and the HTTP cookie, from the server; a specifying unit that acquires the last click information from the HTTP cookie contained in the purchase notification, acquires past click information corresponding to a user indicated by the last click information, the past click information relating to affiliate links clicked on before when an affiliate link is clicked on last, and specifies a click history indicating click on affiliate links by the purchaser based on the acquired last click information and the acquired past click information; and a determination unit that determines one or more publishers to receive an affiliate fee from the selling shop and an affiliate fee to be paid to each publisher based on the click history, wherein