admin管理员组文章数量:1130349
I was looking at the Conditional Tags Archive and was wondering if it's possible to show a widget depending on different posts / pages a visitor has previously viewed.
For example, if I had a car blog and the blog layout contains a sidebar widget that will display a promotion.
This promotion will vary depending on the types of posts a visitor has viewed.
So if a visitor was looking at posts that have to do with the Mazda brand, I'll be able to write a condition for the widget in the sidebar that reads, if he visited blog post X, Y or Z, then this widget will display a promotion for a Mazda Car Dealership near him.
Same for other car types and promotions.
I'm guessing some would it'd be impossible, but I was thinking if tracking a visitor with cookies, it would seem like a viable idea.
Thoughts or suggestions on where to go from here?
I was looking at the Conditional Tags Archive and was wondering if it's possible to show a widget depending on different posts / pages a visitor has previously viewed.
For example, if I had a car blog and the blog layout contains a sidebar widget that will display a promotion.
This promotion will vary depending on the types of posts a visitor has viewed.
So if a visitor was looking at posts that have to do with the Mazda brand, I'll be able to write a condition for the widget in the sidebar that reads, if he visited blog post X, Y or Z, then this widget will display a promotion for a Mazda Car Dealership near him.
Same for other car types and promotions.
I'm guessing some would it'd be impossible, but I was thinking if tracking a visitor with cookies, it would seem like a viable idea.
Thoughts or suggestions on where to go from here?
本文标签: widgetsConditional Tags Based on Previously Viewed Posts
版权声明:本文标题:widgets - Conditional Tags Based on Previously Viewed Posts 内容由热心网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:https://it.en369.cn/questions/1749112481a2317628.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。


发表评论