• andromed

    (@andromed)


    Hello,
    any code that I put in the Additional settings is not displayed in the page code and, accordingly, do not work. For example, Google Analytics.
    Clearn WP installation, no third-party themes and plugins.
    What could be the problem?
    Thank you.

    https://wordpress.org/plugins/contact-form-7/

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Takayuki Miyoshi

    (@takayukister)

    Thread Starter andromed

    (@andromed)

    Takayuki, thank you for quick reply and for your excellent plugin!
    Of course I read the documentation and searched in google and on the forum.
    Here is the page test.markedium.ru/sample-page/ and code in the form, in Additional settings is
    on_submit: “yaCounter33346018.reachGoal(‘sendform1’);”
    for Yandex Metrika.
    But I don’t see it in the page source code and it does not work.
    If I add a string to the file submit.php
    $atts[‘onsubmit’] = “yaCounter33346018.reachGoal(‘sendform1’); return true;”
    it working. Of course, one goal for all forms (
    What can I do wrong?
    Thank you.

    Plugin Author Takayuki Miyoshi

    (@takayukister)

    It doesn’t work because yaCounter33346018 isn’t defined in the page.

    Thread Starter andromed

    (@andromed)

    Yes, I forgot to say that this page — for test, and yaCounter33346018 isn’t defined. On working site, spb-decor.ru, yaCounter33346018 is defined, but there now changed file submit.php, as I wrote above.
    Ok, now I have created a counter for this page specially, yaCounter36185325, set up goal, add string
    on_send_ok: “yaCounter36185325.reachGoal(‘sendform1’);”
    in the Additional settings.
    Counter working, goal – not.
    The question here in what – why the source code page does not appear line on_send_ok: “yaCounter36185325.reachGoal(‘sendform1’);” ? Should not? But otherwise the goal will not work, is not it?
    Thank you!

    Thread Starter andromed

    (@andromed)

    Takayuki, you are very busy, I understand.
    But Additional Settings still does not work.
    Contact Form 7 Version 4.4.1, WP 4.5.
    No other plugins, clean installation.
    Any code in Additional Settings does not appear in the page source code.
    I was search for this code text ( eg on_submit: “alert(‘submit’);” in the field Additional Settings )in all files and in the database – it is not.
    Thank you!

    Thread Starter andromed

    (@andromed)

    Ок, Version 4.4.2, but Additional Settings does not work still (((

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Additional settings do not work?’ is closed to new replies.