DEV Community

Discussion on: I will be notified if you click this ๐Ÿ˜ˆ

Collapse
 
grahamthedev profile image
GrahamTheDev

It might be worth noting this wonโ€™t work on DEV as they intercept and self host all images.

Only way you could do this on DEV is to put the image in a codepen or similar so you can control the image source.

Useful for emails though!

Collapse
 
0shuvo0 profile image
Shuvo • Edited

Yes I assumed that since we are going to notify ourself(create the function) we obviously well be using our own SS code
fact

Collapse
 
grahamthedev profile image
GrahamTheDev • Edited

Would you like to get notified when someone opens your dev.to article..

You opened the article with being able to track DEV articles, so I just thought I would point out that you can't actually do it on DEV without the workaround I suggested of putting it in a codepen.

Nothing wrong with your implementation, just a limitation of the fact that DEV controls the images, even if you point them to your own server in the markdown!