5balloons / laravel-smart-ads

Ads, Banners, Callout Manager and Auto Ad Inserter for Laravel
MIT License
298 stars 32 forks source link

Issues List #1

Closed tapan288 closed 1 year ago

tapan288 commented 1 year ago

Description

tushargugnani commented 1 year ago

@tapan288

  1. I tried installing the package on a fresh project and the smart-ad-dashboard looks to be working fine without running npm cmomands, please try this again.
  2. I have added the documentation on how to go about Auto ad placements, Please try again.
  3. I have added a image which shows how to create a new Ad. (should be helpful to see what kind of data goes into the body)
  4. added the documentation on how to go about tracking clicks, please test again.
tapan288 commented 1 year ago

@tushargugnani So I have this sample ad added: image

But I'm getting an error Uncaught (in promise) DOMException: Document.querySelector: '' is not a valid selector on line 7 of smart-ads.js Also tried adding an ID attribute to the ad, still same error. So, because of this, the click is not working

tushargugnani commented 1 year ago

@tapan288 I have pushed some fixes, please pull and also added a documentation about including meta csrf token for the tracking clicks to work. Please test again.

tapan288 commented 1 year ago

@tushargugnani It works now but seems like the ad-blocker hides the element once it gets rendered

5balloons commented 1 year ago

mentioned issues are fixed.