制作一个打开网站的按钮,开始重定向倒计时,但仅在来自特定推荐时重定向

Making a button that opens a website, starts a redirect countdown but only redirects when coming from a specific refer, yes that's a mouth full of words isn't it?

Here explained again:

User lands on my site (site B) from previous site A. Here he finds a button. User clicks the button, site C loads instantly in a new window. Site B now checks if he came from site A and initiates a countdown to website D.

I think it's a lot to ask for, but I think it can be done!

Last few hours I looked at different options and found ways to make a countdown redirect, etc but not quite this.

I really REALLY thank you for taking the time to read this, I hope you can help!

For those wondering, I end up going with HTTP REFF anyway and it did the job.