Closed tapan288 closed 1 year ago
@tapan288
@tushargugnani So I have this sample ad added:
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
@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.
@tushargugnani It works now but seems like the ad-blocker hides the element once it gets rendered
mentioned issues are fixed.
Description
npm install
andnpm run dev
after publishing the assets are missing in the docsClicks
statistic for the ads, I tried adding alink
tag and tried clicking but the click count didn't increase, so maybe I can't figure out how to use it, so a use case of this feature would also be helpful