Freelance Project Requests info@CodeDocu.de Software Development in C# WPF Asp.Net Core Vba Excel Word SQL-Server EF Linq, UWP Net
#

Amazon: Widget Self-Opimizing links is not displayed due to SSL http instead of https
 
Problem:
I've embedded the Amazon Self-Optimizing Links Widget in my website.
However, the website does not display any advertisements, although the code also exists.
 
Solution 1:
The website must be viewed 4-5 times or more, until the keywords of the page have been evaluated and then a suitable text can be embedded
 
Solution 2 https:
In the code from the Amazon, http is embedded as a script link. However, if you have a SSL secured page with https, then http: scripts is not displayed.
 
 
Amazon Widget not visible:

 
Amazon offers the following code for embedding into the website

<%--< Amazon >--%>
<script type="text/javascript"><!--
amazon_ad_tag = "microsoftprog-21";
amazon_ad_width = "300";
amazon_ad_height = "250";
//--></script>
<script type="text/javascript" src="http://ir-de.amazon-adsystem.com/s/ads.js"></script>
 
<%--</ Amazon >--%>
 

 
 
This code has to be extended with htts: // Web pages simply with a s

<%--< Amazon >--%>
<script type="text/javascript"><!--
amazon_ad_tag = "microsoftprog-21";
amazon_ad_width = "300";
amazon_ad_height = "250";
//--></script>
<script type="text/javascript" src="https://ir-de.amazon-adsystem.com/s/ads.js"></script>
 
<%--</ Amazon >--%>
 

 
After that, the widget will appear without problems as shown here.

 
 
 
Embedded in the website
Html + aspx
In the ASPX code the code is inserted as prescribed by Amazon

 
The code to be inserted by Amazon with http ... is not displayed in https web pages with SSL security

<script type="text/javascript"><!--
amazon_ad_tag = "microsoftprog-21"; amazon_ad_width = "728"; amazon_ad_height = "90";//--></script>
<script type="text/javascript" src="http://ir-de.amazon-adsystem.com/s/ads.js"></script>

 
Code in the browser
The code debugger on Google Chrome also displays the built-in script

 
 
Info page for self-optimization links
 
At Amazon Partneret
https://partnernet.amazon.de/gp/associates/help/t19/a1/?rw_useCurrentProtocol=1
What are Amazon.com Self-Optimizing Links?
 
For this: As soon as this page approx. 3-4 times, Amazon.de will automatically always display the products in the self-optimization links

 
Link to the widget
The Amazon Widget Self-Optimizing Links can be found at
partnernet.amazon.de->Self-Optimizing Links
Mobile

.

Contact for Jobs, Project Requests: raimund.popp@microsoft-programmierer.de