Issues with Raptive Ads

I am trying to figure this all out as well. I have two sites that use Raptive… but my Discourse site does not.

How did you do this? Did you use the DISCOURSE_ENABLE_CORS in app.yml?