Verify EBAY_AFFILIATE_CAMPAIGN_ID is set in cloud .env #38
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
_wrap_affiliate_url()is already called in_serialize_listing()inapi/main.py. Theaffiliate_activeflag is returned with every search response. However, ifEBAY_AFFILIATE_CAMPAIGN_IDis missing or empty in the cloud.env, all listing URLs are served unwrapped and no affiliate revenue is earned.Action
/Library/Development/CircuitForge/snipe/.env(cloud deploy) forEBAY_AFFILIATE_CAMPAIGN_IDaffiliate_active: trueis returned in a live search response after deploy.env.exampleto include the variable with an empty placeholder and commentContext
With anonymous access enabled (see related issue), every public search is a potential affiliate click. This is the revenue model for the free tier.