• Resolved cag8f

    (@cag8f)


    Hello. I have your plugin installed and it is recording my contact form 7 submissions, as expected. But I see on every front-end page that your plugin loads a JS file get-the-page.js (screenshot). Is it necessary for browser to load this file on every page? If not, is there a way to ensure it loads only on the pages that need it?

    Thanks.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Anonymous User 16766577

    (@anonymized-16766577)

    Hello,
    yes this call is done to save the origin referer (source) saved with forms submissions data (and make it work with cache plugins, so it has to be loaded on every page). We’re doing our best to make it as light as possible (321 Bytes before compression), if it’s a concern for you we may consider to make it an optional choice, but you would lose the “source” and “page” informations.

    • This reply was modified 5 years, 8 months ago by Anonymous User 16766577.
    Thread Starter cag8f

    (@cag8f)

    >> yes this call is done to save the origin referer (source) saved with forms submissions data (and make it work with cache plugins, so it has to be loaded on every page).

    OK thanks for confirming all that.

    >> We’re doing our best to make it as light as possible, if it’s a concern for you we may consider to make it an optional choice, but you would lose the “source” and “page” informations.

    No that’s OK. I personally would rather have the ‘source’ and ‘page’ information recorded on every submission. So to keep those, I’d rather have this JS file loaded–no worries. You can continue to work on other things ??

    We can consider this resolved.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘get-the-page.js loading on every page’ is closed to new replies.