• Resolved Shailesh

    (@shaileshghadge)


    Hello,

    For the options, Before,Inside,After HTML options – Amazon Widget Script code not loading.

    It works properly for the other pre-defined options, Before Post, Before Para, etc.

    (I’m using Client side insertion, On hover I see it mentiones about, Server side insertion option, but it isnt available in dropdown)

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Spacetime

    (@spacetime)

    Hello,

    make sure the code supports asynchronous loading. Otherwise you can’t insert it client-side. If it works when inserting it server-side as you describe, then this is the most likely reason. Not all Amazon codes support client-side insertion.

    You need to enable Output buffering to enable serevr-side insertion near HTML elements:
    https://adinserter.pro/documentation/insertion-before-inside-after-html-element

    Thread Starter Shailesh

    (@shaileshghadge)

    Hi,
    I tried Server-side, but it did not work.

    I was able to load it using php code placement in template.

    It appears, the Amazon Affiliate Ads creation script only works with predefined insert option (before comment, before post, after post, etc) and not with Before/Inside/After HTML when Selector via id,class is provided.

    Plugin Author Spacetime

    (@spacetime)

    Ok, thanks for the update.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Before,Inside,After HTML options – Amazon Widget Script code not loading’ is closed to new replies.