We have an app that embeds a Google Trend chart. However every couple of months the chart stops working. Each time it seems that the embed JS version has been incremented and the old version is no longer available.
This was today's fix:
-<script type="text/javascript" src="https://ssl.gstatic.com/trends_nrtr/760_RC01/embed_loader.js"></script>
+<script type="text/javascript" src="https://ssl.gstatic.com/trends_nrtr/962_RC10/embed_loader.js"></script>
Is there any kind of URL that 301's to the latest version? I've tried:
https://ssl.gstatic.com/trends_nrtr/latest/embed_loader.js
... but it doesn't work.
Surely this approach from Google means any page on the internet with an embedded script will eventually break?!