November Happy Hour will be moved to Thursday December 5th.

Downloaded File Criteria - Visitor Group Usage

Vote:
 

Hello!

We are currently trying the "Downloaded File" criterion and cannot find a way to make it work. What we are trying to do is display a simple message to website visitors who have downloaded an image. Has anyone been successful in implementing this criterion? 

Here are the steps we took:
2. Go to CMS > Visitor Groups
3. Click the plus sign to create a "Downloaded img" Criterion
4. Go to URL Criteria
5. Drop the Downloaded file criterion in the content area.
6. Input the file name in:  downloaded.jpg
7. Visitor Group name: Downloaded img
8. Click on Save
9a. Go to the page where you want a text to show only for those who have seen the IMG
9b. The text to be shown to visitors who have already viewed or downloaded the image is "Thank you for downloading the image (downloaded.jpg)
10. Right-click on the block's name
11. Click on Personalize
12. Chose the "Downloaded img" group
13. Publish
14. Add the downloaded.jpg image to any other page and Publish
15. Test by going first to the page that contains the IMG
16. Download the image
17.Go to the page with the personalized text that is supposed to show only for IMG downloaders

Actual result

The text that is supposed to be shown only to visitors who have downloaded the file doesn't show up.



#269997
Jan 13, 2022 23:19
Vote:
 

I found this criterion works and you setup it up correctly - the file name is all that is needed, not the full path.

It's not perfect. I checked the code and found it won't work if the image was previously download and store in web browser cache or served by CDN cache. Your image is served by Cloudflare if the image is returned with a cf-cache-status header and value not equal DYNAMIC.

#281133
May 31, 2022 3:05
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.