javascript - Amazon Search Ads not showing in rails App -


issue

amazon search ads not showing in rails app. it's javascript script not running.

code

<script type="text/javascript">     amzn_assoc_placement = "adunit0";     amzn_assoc_search_bar = "true";     amzn_assoc_tracking_id = "livingrecipe-show-recommendation-20";     amzn_assoc_search_bar_position = "bottom";     amzn_assoc_ad_mode = "search";     amzn_assoc_ad_type = "smart";     amzn_assoc_marketplace = "amazon";     amzn_assoc_region = "us";     amzn_assoc_title = "shop required equipment";     amzn_assoc_default_search_phrase = '<%= escape_javascript(equipment) %>';     amzn_assoc_default_category = "all";     amzn_assoc_linkid = "78aa42b54ebf16f31c5239f132e3d7a0";     amzn_assoc_rows = "1"; </script> <script src="//z-na.amazon-adsystem.com/widgets/onejs?marketplace=us"></script> 

when webpage renders code there , creates there nothing inside it. here screenshot of looks when inspect it. there no errors on page when loads. screenshot

edit: using turbolinks , think might issue that


Comments

Popular posts from this blog

angular - Ionic slides - dynamically add slides before and after -

minify - Minimizing css files -

Add a dynamic header in angular 2 http provider -