Developer forum

Forum » CMS - Standard features » DataManagement Publishing download with "Do not track 'connection=close' issue

DataManagement Publishing download with "Do not track 'connection=close' issue

Nuno Aguiar Dynamicweb Employee
Nuno Aguiar
Reply

Hi,

 

We ran into a problem with a customer that has tracking enabled (settings attached).

 

We need to have Do not track 'connection=close' header unchecked to gather proper tracking data, this being a site with SSL, per the documentation. So far so good. Once that's unchecked the  Excel downloads of Data Management Publishing start to fail:

  • Get a Data list with any list of data
  • Use the tag for the download
  • Click it once - and you get a Network Failure
  • Click "Resume" on the download, and you eventually get the data, but an error message as well
    (Customers don't even think to "Resume" the download)

 

Here's the repro https://app.screencast.com/8D1QWe5bAteIT

 

We confirmed this behavior in 9.13.3 and also in 9.14.9. Is there a workaround (without enabling the checkbox - because that defeats the purpose of gathering the data this customer is actually trying to download? Could we have this fixed?

 

Best Regards,

Nuno Aguiar

TrackingSettings.gif

Replies

 
Nicolai Pedersen Dynamicweb Employee
Nicolai Pedersen
Reply

Hi Nuno

I cannot in any way see how these 2 things are related... like at all.

Can you provide a URL pls?

 
Mario Santos Dynamicweb Employee
Mario Santos
Reply

Hi Nicolai,

https://dev-swiftrizzo.mydwsite1.com

BR, Mario

 
Nicolai Pedersen Dynamicweb Employee
Nicolai Pedersen
Reply
This post has been marked as an answer

Thanks

Morten Bengtson has led me in a direction that explains this. Will get back.

You can get around this by forcing a dnt=1 to the header on the request. Either by using a fetch get adding custom headers or intercept the href:

https://vkuzel.com/adding-custom-http-headers-to-html-links

Votes for this answer: 1
 
Nicolai Pedersen Dynamicweb Employee
Nicolai Pedersen
Reply
This post has been marked as an answer

I have created 11964 to handle this situation.

Votes for this answer: 1
 
Mario Santos Dynamicweb Employee
Mario Santos
Reply

Thanks for the quick reply. We will plan on upgrade once it's released.

 

You must be logged in to post in the forum