# Ebay EPN: Source map error

**URL:** https://meta.discourse.org/t/ebay-epn-source-map-error/232770
**Category:** Development
**Created:** [July 13, 2022, 6:44pm UTC](https://meta.discourse.org/t/ebay-epn-source-map-error/232770 "2022-07-13T18:44:17Z")
**Posts on this page:** 1
**Showing post:** 4

<div class="post-metadata">

### Author: ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)
#### Post date: [July 14, 2022, 2:56am UTC](https://meta.discourse.org/t/ebay-epn-source-map-error/232770/4 "2022-07-14T02:56:06Z")

</div>

Ideally you would do that on the server side, once a new post is saved. We have a plugin that exactly this for Amazon so you should be able to adapt it for eBay: [GitHub - discourse/discourse-affiliate · GitHub](https://github.com/discourse/discourse-affiliate)

If you still want to do it on the client side, you can follow this helpful tutorial: [Link rewriting for affiliate codes - #8 by Johani](https://meta.discourse.org/t/link-rewriting-for-affiliate-codes/52949/8)

---

_[View the full topic](https://meta.discourse.org/t/ebay-epn-source-map-error/232770)._
